TrueNAS uses DDP: https://github.com/meteor/meteor/blob/devel/packages/ddp/DDP.md .
DDP (Distributed Data Protocol) is the stateful websocket protocol to communicate between the client and the server.
Websocket endpoint: /websocket
e.g. ws://truenas.domain/websocket
connect
message.{
"msg": "connect",
"version": "1",
"support": ["1"]
}
connected
or failed
.{
"msg": "connected",
"session": "b4a4d164-6bc7-11e6-8a93-00e04d680384"
}
Authentication happens by calling the auth.login
method.
Request:
{
"id": "d8e715be-6bc7-11e6-8c28-00e04d680384",
"msg": "method",
"method": "auth.login",
"params": ["username", "password"]
}
Response:
{
"id": "d8e715be-6bc7-11e6-8c28-00e04d680384",
"msg": "result",
"result": true,
}
acme.dns.authenticator.authenticator_schemas |
---|
Return Arguments:
{
"_name_": "authenticator_schemas",
"title": "Authenticator Schemas",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"key": {
"_name_": "key",
"title": "key",
"_required_": true,
"type": "string"
},
"schema": {
"_name_": "schema",
"title": "schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"_name_": {
"_name_": "_name_",
"title": "_name_",
"_required_": true,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": true,
"type": "string"
},
"_required_": {
"type": "boolean",
"_name_": "_required_",
"title": "_required_",
"_required_": true
}
},
"additionalProperties": true,
"_name_": "attribute_schema",
"title": "Attribute Schema",
"default": {},
"_required_": false,
"_attrs_order_": [
"_name_",
"title",
"_required_"
]
}
]
}
},
"additionalProperties": false,
"_name_": "schema_entry",
"title": "Authenticator Schema",
"default": {},
"_required_": false,
"_attrs_order_": [
"key",
"schema"
]
}
]
}
|
Get the schemas for all DNS providers we support for ACME DNS Challenge and the respective attributes required for connecting to them while validating a DNS Challenge |
acme.dns.authenticator.create |
---|
Arguments:
{
"type": "object",
"properties": {
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_create",
"title": "acme_dns_authenticator_entry",
"default": {},
"_attrs_order_": [
"authenticator",
"attributes",
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_create_returns",
"title": "acme_dns_authenticator_entry",
"default": {},
"_attrs_order_": [
"id",
"authenticator",
"attributes",
"name"
]
}
|
Create a DNS Authenticator Create a specific DNS Authenticator containing required authentication details for the said provider to successfully connect with it |
Create a DNS Authenticator for Route53
|
acme.dns.authenticator.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete DNS Authenticator of `id`"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete DNS Authenticator of |
Delete a DNS Authenticator of
|
acme.dns.authenticator.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_entry",
"title": "acme_dns_authenticator_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"authenticator",
"attributes",
"name"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_entry",
"title": "acme_dns_authenticator_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"authenticator",
"attributes",
"name"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_entry",
"title": "acme_dns_authenticator_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"authenticator",
"attributes",
"name"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
acme.dns.authenticator.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update DNS Authenticator of `id`"
}
{
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "dns_authenticator_update",
"title": "acme_dns_authenticator_entry",
"default": {},
"_attrs_order_": [
"attributes",
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update DNS Authenticator of `id`"
},
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_update_returns",
"title": "acme_dns_authenticator_entry",
"default": {},
"_attrs_order_": [
"id",
"authenticator",
"attributes",
"name"
]
}
|
Update DNS Authenticator of |
Update a DNS Authenticator of
|
activedirectory.change_trust_account_pw |
---|
Force an update of the AD machine account password. This can be used to refresh the Kerberos principals in the server's system keytab. |
activedirectory.config |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "activedirectory_entry",
"title": "activedirectory_entry",
"default": {},
"_attrs_order_": []
}
|
- |
activedirectory.domain_info |
---|
Arguments:
{
"_name_": "domain",
"title": "domain",
"default": "",
"type": "string"
}
|
Returns the following information about the currently joined domain:
|
activedirectory.get_spn_list |
---|
Return list of kerberos SPN entries registered for the server's Active Directory computer account. This may not reflect the state of the server's current kerberos keytab. |
activedirectory.get_state |
---|
Wrapper function for 'directoryservices.get_state'. Returns only the state of the Active Directory service. |
activedirectory.leave
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "kerberos_username_password",
"title": "kerberos_username_password",
"default": {},
"_attrs_order_": [
"username",
"password"
]
}
|
Leave Active Directory domain. This will remove computer object from AD and clear relevant configuration data from the NAS. This requires credentials for appropriately-privileged user. Credentials are used to obtain a kerberos ticket, which is used to perform the actual removal from the domain. |
activedirectory.nss_info_choices |
---|
Returns list of available LDAP schema choices. |
activedirectory.started |
---|
Issue a no-effect command to our DC. This checks if our secure channel connection to our domain controller is still alive. It has much less impact than wbinfo -t. Default winbind request timeout is 60 seconds, and can be adjusted by the smb4.conf parameter 'winbind request timeout =' |
activedirectory.update |
---|
Arguments:
{
"type": "object",
"properties": {
"domainname": {
"_name_": "domainname",
"title": "domainname",
"_required_": true,
"type": "string",
"description": "`domainname` full DNS domain name of the Active Directory domain."
},
"bindname": {
"_name_": "bindname",
"title": "bindname",
"_required_": false,
"type": "string",
"description": "`bindname` username used to perform the intial domain join."
},
"bindpw": {
"_name_": "bindpw",
"title": "bindpw",
"_required_": false,
"type": "string",
"description": "`bindpw` password used to perform the initial domain join. User-\nprovided credentials are used to obtain a kerberos ticket, which\nis used to perform the actual domain join."
},
"verbose_logging": {
"type": "boolean",
"_name_": "verbose_logging",
"title": "verbose_logging",
"_required_": false,
"description": "`verbose_logging` increase logging during the domain join process."
},
"use_default_domain": {
"type": "boolean",
"_name_": "use_default_domain",
"title": "use_default_domain",
"_required_": false,
"description": "`use_default_domain` controls whether domain users and groups have\nthe pre-windows 2000 domain name prepended to the user account. When\nenabled, the user appears as \"administrator\" rather than\n\"EXAMPLE\u0007dministrator\""
},
"allow_trusted_doms": {
"type": "boolean",
"_name_": "allow_trusted_doms",
"title": "allow_trusted_doms",
"_required_": false,
"description": "`allow_trusted_doms` enable support for trusted domains. If this\nparameter is enabled, then separate idmap backends _must_ be configured\nfor each trusted domain, and the idmap cache should be cleared."
},
"allow_dns_updates": {
"type": "boolean",
"_name_": "allow_dns_updates",
"title": "allow_dns_updates",
"_required_": false,
"description": "`allow_dns_updates` during the domain join process, automatically\ngenerate DNS entries in the AD domain for the NAS. If this is disabled,\nthen a domain administrator must manually add appropriate DNS entries\nfor the NAS. This parameter is recommended for TrueNAS HA servers."
},
"disable_freenas_cache": {
"type": "boolean",
"_name_": "disable_freenas_cache",
"title": "disable_freenas_cache",
"_required_": false,
"description": "`disable_freenas_cache` disables active caching of AD users and groups.\nWhen disabled, only users cached in winbind's internal cache are\nvisible in GUI dropdowns. Disabling active caching is recommended\nin environments with a large amount of users."
},
"restrict_pam": {
"type": "boolean",
"_name_": "restrict_pam",
"title": "restrict_pam",
"default": false,
"_required_": false
},
"site": {
"_name_": "site",
"title": "site",
"_required_": false,
"type": [
"string",
"null"
],
"description": "`site` AD site of which the NAS is a member. This parameter is auto-\ndetected during the domain join process. If no AD site is configured\nfor the subnet in which the NAS is configured, then this parameter\nappears as 'Default-First-Site-Name'. Auto-detection is only performed\nduring the initial domain join."
},
"kerberos_realm": {
"type": [
"integer",
"null"
],
"_name_": "kerberos_realm",
"title": "kerberos_realm",
"_required_": false,
"description": "`kerberos_realm` in which the server is located. This parameter is\nautomatically populated during the initial domain join. If the NAS has\nan AD site configured and that site has multiple kerberos servers, then\nthe kerberos realm is automatically updated with a site-specific\nconfiguration to use those servers. Auto-detection is only performed\nduring initial domain join."
},
"kerberos_principal": {
"_name_": "kerberos_principal",
"title": "kerberos_principal",
"_required_": false,
"type": [
"string",
"null"
],
"description": "`kerberos_principal` kerberos principal to use for AD-related\noperations outside of Samba. After intial domain join, this field is\nupdated with the kerberos principal associated with the AD machine\naccount for the NAS."
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 60,
"_required_": false,
"description": "`timeout` timeout value for winbind-related operations. This value may\nneed to be increased in environments with high latencies for\ncommunications with domain controllers or a large number of domain\ncontrollers. Lowering the value may cause status checks to fail."
},
"dns_timeout": {
"type": "integer",
"_name_": "dns_timeout",
"title": "dns_timeout",
"default": 10,
"_required_": false,
"description": "`dns_timeout` timeout value for DNS queries during the initial domain\njoin. This value is also set as the NETWORK_TIMEOUT in the ldap config\nfile."
},
"nss_info": {
"_name_": "nss_info",
"title": "nss_info",
"default": "",
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"SFU",
"SFU20",
"RFC2307"
],
"description": "`nss_info` controls how Winbind retrieves Name Service Information to\nconstruct a user's home directory and login shell. This parameter\nis only effective if the Active Directory Domain Controller supports\nthe Microsoft Services for Unix (SFU) LDAP schema."
},
"createcomputer": {
"_name_": "createcomputer",
"title": "createcomputer",
"_required_": false,
"type": "string",
"description": "`createcomputer` Active Directory Organizational Unit in which new\ncomputer accounts are created."
},
"netbiosname": {
"_name_": "netbiosname",
"title": "netbiosname",
"_required_": false,
"type": "string"
},
"netbiosname_b": {
"_name_": "netbiosname_b",
"title": "netbiosname_b",
"_required_": false,
"type": "string"
},
"netbiosalias": {
"_name_": "netbiosalias",
"title": "netbiosalias",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": false,
"description": "The Active Directory service is started after a configuration\nupdate if the service was initially disabled, and the updated\nconfiguration sets `enable` to `True`. The Active Directory\nservice is stopped if `enable` is changed to `False`. If the\nconfiguration is updated, but the initial `enable` state is `True`, and\nremains unchanged, then the samba server is only restarted."
}
},
"additionalProperties": false,
"_name_": "activedirectory_update",
"title": "activedirectory_update",
"default": {},
"_attrs_order_": [
"domainname",
"bindname",
"bindpw",
"verbose_logging",
"use_default_domain",
"allow_trusted_doms",
"allow_dns_updates",
"disable_freenas_cache",
"restrict_pam",
"site",
"kerberos_realm",
"kerberos_principal",
"timeout",
"dns_timeout",
"nss_info",
"createcomputer",
"netbiosname",
"netbiosname_b",
"netbiosalias",
"enable"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "activedirectory_update_returns",
"title": "activedirectory_entry",
"default": {},
"_attrs_order_": []
}
|
Update active directory configuration.
The OU string is read from top to bottom without RDNs. Slashes ("/")
are used as delimiters, like When this field is blank, new computer accounts are created in the Active Directory default OU. The Active Directory service is started after a configuration
update if the service was initially disabled, and the updated
configuration sets During the domain join, a kerberos keytab for the newly-created AD machine account is generated. It is used for all future LDAP / AD interaction and the user-provided credentials are removed. |
alert.dismiss |
---|
Arguments:
{
"_name_": "uuid",
"title": "uuid",
"type": "string"
}
|
Dismiss |
alert.list |
---|
Return Arguments:
{
"_name_": "alerts",
"title": "alerts",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"uuid": {
"_name_": "uuid",
"title": "uuid",
"_required_": false,
"type": "string"
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": "string"
},
"klass": {
"_name_": "klass",
"title": "klass",
"_required_": false,
"type": "string"
},
"args": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": false,
"_name_": "args",
"title": "args",
"_required_": false
},
"node": {
"_name_": "node",
"title": "node",
"_required_": false,
"type": "string"
},
"key": {
"_name_": "key",
"title": "key",
"_required_": false,
"type": "string"
},
"datetime": {
"_name_": "datetime",
"title": "datetime",
"_required_": false,
"type": "string"
},
"last_occurrence": {
"_name_": "last_occurrence",
"title": "last_occurrence",
"_required_": false,
"type": "string"
},
"dismissed": {
"type": "boolean",
"_name_": "dismissed",
"title": "dismissed",
"_required_": false
},
"mail": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "mail",
"title": "mail",
"_required_": false
},
"text": {
"_name_": "text",
"title": "text",
"_required_": false,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"level": {
"_name_": "level",
"title": "level",
"_required_": false,
"type": "string"
},
"formatted": {
"_name_": "formatted",
"title": "formatted",
"_required_": false,
"type": [
"string",
"null"
]
},
"one_shot": {
"type": "boolean",
"_name_": "one_shot",
"title": "one_shot",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "alert",
"title": "alert",
"default": {},
"_required_": false,
"_attrs_order_": [
"uuid",
"source",
"klass",
"args",
"node",
"key",
"datetime",
"last_occurrence",
"dismissed",
"mail",
"text",
"id",
"level",
"formatted",
"one_shot"
]
}
]
}
|
List all types of alerts including active/dismissed currently in the system. |
alert.list_categories |
---|
Return Arguments:
{
"_name_": "categories",
"title": "categories",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"classes": {
"_name_": "classes",
"title": "classes",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"level": {
"_name_": "level",
"title": "level",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "category_class",
"title": "category_class",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"title",
"level"
]
}
]
}
},
"additionalProperties": false,
"_name_": "category",
"title": "category",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"title",
"classes"
]
}
]
}
|
List all types of alerts which the system can issue. |
alert.list_policies |
---|
Return Arguments:
{
"_name_": "alert_policies",
"title": "alert_policies",
"default": [],
"type": "array",
"items": [
{
"_name_": "policy",
"title": "policy",
"_required_": false,
"type": "string",
"enum": [
"IMMEDIATELY",
"HOURLY",
"DAILY",
"NEVER"
]
}
]
}
|
List all alert policies which indicate the frequency of the alerts. |
alert.restore |
---|
Arguments:
{
"_name_": "uuid",
"title": "uuid",
"type": "string"
}
|
Restore |
alertclasses.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"classes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "classes",
"title": "classes",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "alertclasses_entry",
"title": "alertclasses_entry",
"default": {},
"_attrs_order_": [
"id",
"classes"
]
}
|
- |
alertclasses.update |
---|
Arguments:
{
"type": "object",
"properties": {
"classes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "classes",
"title": "classes",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "alertclasses_update",
"title": "alertclasses_entry",
"default": {},
"_attrs_order_": [
"classes"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"classes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "classes",
"title": "classes",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "alertclasses_update_returns",
"title": "alertclasses_entry",
"default": {},
"_attrs_order_": [
"id",
"classes"
]
}
|
Update default Alert settings. |
alertservice.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "Create an Alert Service of specified `type`.\nIf `enabled`, it sends alerts to the configured `type` of Alert Service."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false,
"description": "If `enabled`, it sends alerts to the configured `type` of Alert Service."
}
},
"additionalProperties": false,
"_name_": "alert_service_create",
"title": "alert_service_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "Create an Alert Service of specified `type`.\nIf `enabled`, it sends alerts to the configured `type` of Alert Service."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false,
"description": "If `enabled`, it sends alerts to the configured `type` of Alert Service."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type__title": {
"_name_": "type__title",
"title": "type__title",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alertservice_create_returns",
"title": "alert_service_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled",
"id",
"type__title"
]
}
|
Create an Alert Service of specified If |
Create an Alert Service of Mail
|
alertservice.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Alert Service of |
alertservice.list_types |
---|
Return Arguments:
{
"_name_": "alert_service_types",
"title": "alert_service_types",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alert_service_type",
"title": "alert_service_type",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"title"
]
}
]
}
|
List all types of supported Alert services which can be configured with the system. |
alertservice.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type__title": {
"_name_": "type__title",
"title": "type__title",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alertservice_entry",
"title": "alert_service_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled",
"id",
"type__title"
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type__title": {
"_name_": "type__title",
"title": "type__title",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alertservice_entry",
"title": "alert_service_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled",
"id",
"type__title"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type__title": {
"_name_": "type__title",
"title": "type__title",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alertservice_entry",
"title": "alert_service_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled",
"id",
"type__title"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
alertservice.test |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "Send a test alert using `type` of Alert Service."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "alert_service_create",
"title": "alert_service_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_test",
"title": "successful_test",
"description": "Is `true` if test is successful"
}
|
Send a test alert using |
Send a test alert using Alert Service of Mail
|
alertservice.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Alert Service of `id`."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "Create an Alert Service of specified `type`.\nIf `enabled`, it sends alerts to the configured `type` of Alert Service.\n Create an Alert Service of Mail `type`"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false,
"description": "If `enabled`, it sends alerts to the configured `type` of Alert Service."
}
},
"additionalProperties": false,
"_name_": "alert_service_update",
"title": "alert_service_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "Create an Alert Service of specified `type`.\nIf `enabled`, it sends alerts to the configured `type` of Alert Service.\n Create an Alert Service of Mail `type`"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false,
"description": "If `enabled`, it sends alerts to the configured `type` of Alert Service."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update Alert Service of `id`."
},
"type__title": {
"_name_": "type__title",
"title": "type__title",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alertservice_update_returns",
"title": "alert_service_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled",
"id",
"type__title"
]
}
|
Update Alert Service of |
api_key.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"allowlist": {
"_name_": "allowlist",
"title": "allowlist",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"method": {
"_name_": "method",
"title": "method",
"_required_": true,
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"DELETE",
"CALL",
"SUBSCRIBE"
]
},
"resource": {
"_name_": "resource",
"title": "resource",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "allowlist_item",
"title": "allowlist_item",
"default": {},
"_required_": false,
"_attrs_order_": [
"method",
"resource"
]
}
]
}
},
"additionalProperties": false,
"_name_": "api_key_create",
"title": "api_key_create",
"default": {},
"_attrs_order_": [
"name",
"allowlist"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "api_key_create_returns",
"title": "api_key_entry",
"default": {},
"_attrs_order_": []
}
|
Creates API Key.
|
api_key.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete API Key |
api_key.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "api_key_entry",
"title": "api_key_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "api_key_entry",
"title": "api_key_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "api_key_entry",
"title": "api_key_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
api_key.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update API Key `id`."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"allowlist": {
"_name_": "allowlist",
"title": "allowlist",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"method": {
"_name_": "method",
"title": "method",
"_required_": true,
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"DELETE",
"CALL",
"SUBSCRIBE"
]
},
"resource": {
"_name_": "resource",
"title": "resource",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "allowlist_item",
"title": "allowlist_item",
"default": {},
"_required_": false,
"_attrs_order_": [
"method",
"resource"
]
}
]
},
"reset": {
"type": "boolean",
"_name_": "reset",
"title": "reset",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "api_key_update",
"title": "api_key_create",
"default": {},
"_attrs_order_": [
"name",
"allowlist",
"reset"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "api_key_update_returns",
"title": "api_key_entry",
"default": {},
"_attrs_order_": []
}
|
Update API Key Specify |
auth.check_password |
---|
Arguments:
{
"_name_": "username",
"title": "username",
"type": "string"
}
{
"_name_": "password",
"title": "password",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "check_password",
"title": "check_password",
"description": "Is `true` if `username` was successfully validated with provided `password`"
}
|
Verify username and password |
auth.check_user |
---|
Arguments:
{
"_name_": "username",
"title": "username",
"type": "string"
}
{
"_name_": "password",
"title": "password",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "check_user",
"title": "check_user",
"description": "Is `true` if `username` was successfully validated with provided `password`"
}
|
Verify username and password (this will only validate root user's password and
would return |
auth.generate_token |
---|
Arguments:
{
"type": [
"integer",
"null"
],
"_name_": "ttl",
"title": "ttl",
"default": 600,
"description": "`ttl` stands for Time To Live, in seconds. The token will be invalidated if the connection\nhas been inactive for a time greater than this."
}
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attrs",
"title": "attrs",
"default": {},
"_attrs_order_": []
}
|
Return Arguments:
{
"_name_": "token",
"title": "token",
"type": "string"
}
|
Generate a token to be used for authentication.
|
auth.login |
---|
Arguments:
{
"_name_": "username",
"title": "username",
"type": "string"
}
{
"_name_": "password",
"title": "password",
"type": "string"
}
{
"_name_": "otp_token",
"title": "otp_token",
"default": null,
"type": [
"string",
"null"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_login",
"title": "successful_login"
}
|
Authenticate session using username and password.
Currently only root user is allowed.
|
auth.login_with_api_key |
---|
Arguments:
{
"_name_": "api_key",
"title": "api_key",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_login",
"title": "successful_login"
}
|
Authenticate session using API Key. |
auth.login_with_token |
---|
Arguments:
{
"_name_": "token",
"title": "token",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_login",
"title": "successful_login"
}
|
Authenticate session using token generated with |
auth.logout |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_logout",
"title": "successful_logout"
}
|
Deauthenticates an app and if a token exists, removes that from the session. |
auth.sessions |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"internal": {
"type": "boolean",
"_name_": "internal",
"title": "internal",
"_required_": false
},
"origin": {
"_name_": "origin",
"title": "origin",
"_required_": false,
"type": "string"
},
"credentials": {
"_name_": "credentials",
"title": "credentials",
"_required_": false,
"type": "string"
},
"created_at": {
"_name_": "created_at",
"title": "created_at",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "session",
"title": "session",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"internal",
"origin",
"credentials",
"created_at"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"internal": {
"type": "boolean",
"_name_": "internal",
"title": "internal",
"_required_": false
},
"origin": {
"_name_": "origin",
"title": "origin",
"_required_": false,
"type": "string"
},
"credentials": {
"_name_": "credentials",
"title": "credentials",
"_required_": false,
"type": "string"
},
"created_at": {
"_name_": "created_at",
"title": "created_at",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "session",
"title": "session",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"internal",
"origin",
"credentials",
"created_at"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
Returns list of active auth sessions. Example of return value: [ { "id": "NyhB1J5vjPjIV82yZ6caU12HLA1boDJcZNWuVQM4hQWuiyUWMGZTz2ElDp7Yk87d", "origin": "192.168.0.3:40392", "credentials": "TOKEN", "internal": False, "created_at": {"$date": 1545842426070} } ]
If you want to exclude all internal connections from the list, call this method with following arguments: [ [ ["internal", "=", True] ] ] |
auth.two_factor_auth |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "two_factor_auth_enabled",
"title": "two_factor_auth_enabled",
"description": "Is `true` if 2FA is enabled"
}
|
Returns true if two factor authorization is required for authorizing user's login. |
auth.twofactor.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"otp_digits": {
"type": "integer",
"_name_": "otp_digits",
"title": "otp_digits",
"_required_": true
},
"window": {
"type": "integer",
"_name_": "window",
"title": "window",
"_required_": true
},
"interval": {
"type": "integer",
"_name_": "interval",
"title": "interval",
"_required_": true
},
"services": {
"type": "object",
"properties": {
"ssh": {
"type": "boolean",
"_name_": "ssh",
"title": "ssh",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "services",
"title": "services",
"default": {},
"_required_": true,
"_attrs_order_": [
"ssh"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "auth_twofactor_entry",
"title": "auth_twofactor_entry",
"default": {},
"_attrs_order_": [
"enabled",
"otp_digits",
"window",
"interval",
"services",
"id",
"secret"
]
}
|
- |
auth.twofactor.provisioning_uri |
---|
Return Arguments:
{
"_name_": "provisioning_uri",
"title": "Provisioning URI",
"type": "string"
}
|
Returns the provisioning URI for the OTP. This can then be encoded in a QR Code and used to provision an OTP app like Google Authenticator. |
auth.twofactor.renew_secret |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "successfully_renewed_secret",
"title": "successfully_renewed_secret"
}
|
Generates a new secret for Two Factor Authentication. Returns boolean true on success. |
auth.twofactor.update |
---|
Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"otp_digits": {
"type": "integer",
"_name_": "otp_digits",
"title": "otp_digits",
"_required_": true,
"description": "`otp_digits` represents number of allowed digits in the OTP."
},
"window": {
"type": "integer",
"_name_": "window",
"title": "window",
"_required_": true,
"description": "`window` extends the validity to `window` many counter ticks before and after the current one."
},
"interval": {
"type": "integer",
"_name_": "interval",
"title": "interval",
"_required_": true
},
"services": {
"type": "object",
"properties": {
"ssh": {
"type": "boolean",
"_name_": "ssh",
"title": "ssh",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "services",
"title": "services",
"default": {},
"_required_": true,
"_attrs_order_": [
"ssh"
]
}
},
"additionalProperties": false,
"_name_": "auth_twofactor_update",
"title": "auth_twofactor_entry",
"default": {},
"_attrs_order_": [
"enabled",
"otp_digits",
"window",
"interval",
"services"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"otp_digits": {
"type": "integer",
"_name_": "otp_digits",
"title": "otp_digits",
"_required_": true,
"description": "`otp_digits` represents number of allowed digits in the OTP."
},
"window": {
"type": "integer",
"_name_": "window",
"title": "window",
"_required_": true,
"description": "`window` extends the validity to `window` many counter ticks before and after the current one."
},
"interval": {
"type": "integer",
"_name_": "interval",
"title": "interval",
"_required_": true
},
"services": {
"type": "object",
"properties": {
"ssh": {
"type": "boolean",
"_name_": "ssh",
"title": "ssh",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "services",
"title": "services",
"default": {},
"_required_": true,
"_attrs_order_": [
"ssh"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "auth_twofactor_update_returns",
"title": "auth_twofactor_entry",
"default": {},
"_attrs_order_": [
"enabled",
"otp_digits",
"window",
"interval",
"services",
"id",
"secret"
]
}
|
|
auth.twofactor.verify |
---|
Arguments:
{
"_name_": "token",
"title": "token",
"type": [
"string",
"null"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "token_verified",
"title": "token_verified"
}
|
Returns boolean true if provided |
boot.attach
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "dev",
"title": "dev",
"type": "string"
}
{
"type": "object",
"properties": {
"expand": {
"type": "boolean",
"_name_": "expand",
"title": "expand",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"expand"
]
}
|
Attach a disk to the boot pool, turning a stripe into a mirror.
|
boot.detach |
---|
Arguments:
{
"_name_": "dev",
"title": "dev",
"type": "string"
}
|
Detach given |
boot.get_disks |
---|
Return Arguments:
{
"_name_": "disks",
"title": "disks",
"default": [],
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
|
Returns disks of the boot pool. |
boot.get_scrub_interval |
---|
Return Arguments:
{
"type": "integer",
"_name_": "interval",
"title": "interval"
}
|
Get Automatic Scrub Interval value in days. |
boot.get_state |
---|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": false,
"type": "string"
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": false,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": false,
"type": "string"
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error_count": {
"type": "integer",
"_name_": "error_count",
"title": "error_count",
"_required_": false
},
"root_dataset": {
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": false,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": "boolean",
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "root_dataset",
"title": "root_dataset",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"pool",
"type",
"properties",
"mountpoint",
"encrypted",
"encryption_root",
"key_loaded"
]
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"features": {
"_name_": "features",
"title": "features",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": false,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "feature_item",
"title": "feature_item",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"guid",
"description",
"state"
]
}
]
},
"scan": {
"type": "object",
"properties": {
"function": {
"_name_": "function",
"title": "function",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"start_time": {
"_name_": "start_time",
"title": "start_time",
"_required_": false,
"type": [
"string",
"null"
]
},
"end_time": {
"_name_": "end_time",
"title": "end_time",
"_required_": false,
"type": [
"string",
"null"
]
},
"percentage": {
"type": "float",
"_name_": "percentage",
"title": "percentage",
"_required_": false
},
"bytes_to_process": {
"type": "integer",
"_name_": "bytes_to_process",
"title": "bytes_to_process",
"_required_": false
},
"bytes_processed": {
"type": "integer",
"_name_": "bytes_processed",
"title": "bytes_processed",
"_required_": false
},
"pause": {
"_name_": "pause",
"title": "pause",
"_required_": false,
"type": [
"string",
"null"
]
},
"errors": {
"type": "integer",
"_name_": "errors",
"title": "errors",
"_required_": false
},
"bytes_issued": {
"type": [
"integer",
"null"
],
"_name_": "bytes_issued",
"title": "bytes_issued",
"_required_": false
},
"total_secs_left": {
"type": [
"integer",
"null"
],
"_name_": "total_secs_left",
"title": "total_secs_left",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "scan",
"title": "scan",
"default": {},
"_required_": false,
"_attrs_order_": [
"function",
"state",
"start_time",
"end_time",
"percentage",
"bytes_to_process",
"bytes_processed",
"pause",
"errors",
"bytes_issued",
"total_secs_left"
]
},
"root_vdev": {
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": false,
"type": [
"string",
"null"
]
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": false,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": false,
"type": "string"
},
"stats": {
"type": "object",
"properties": {
"timestamp": {
"type": "integer",
"_name_": "timestamp",
"title": "timestamp",
"_required_": false
},
"read_errors": {
"type": "integer",
"_name_": "read_errors",
"title": "read_errors",
"_required_": false
},
"write_errors": {
"type": "integer",
"_name_": "write_errors",
"title": "write_errors",
"_required_": false
},
"checksum_errors": {
"type": "integer",
"_name_": "checksum_errors",
"title": "checksum_errors",
"_required_": false
},
"ops": {
"_name_": "ops",
"title": "ops",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "op",
"title": "op",
"_required_": false
}
]
},
"bytes": {
"_name_": "bytes",
"title": "bytes",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "byte",
"title": "byte",
"_required_": false
}
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": false
},
"allocated": {
"type": "integer",
"_name_": "allocated",
"title": "allocated",
"_required_": false
},
"fragmentation": {
"type": "integer",
"_name_": "fragmentation",
"title": "fragmentation",
"_required_": false
},
"self_healed": {
"type": "integer",
"_name_": "self_healed",
"title": "self_healed",
"_required_": false
},
"configured_ashift": {
"type": "integer",
"_name_": "configured_ashift",
"title": "configured_ashift",
"_required_": false
},
"logical_ashift": {
"type": "integer",
"_name_": "logical_ashift",
"title": "logical_ashift",
"_required_": false
},
"physical_ashift": {
"type": "integer",
"_name_": "physical_ashift",
"title": "physical_ashift",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "stats",
"title": "stats",
"default": {},
"_required_": false,
"_attrs_order_": [
"timestamp",
"read_errors",
"write_errors",
"checksum_errors",
"ops",
"bytes",
"size",
"allocated",
"fragmentation",
"self_healed",
"configured_ashift",
"logical_ashift",
"physical_ashift"
]
}
},
"additionalProperties": false,
"_name_": "root_vdev",
"title": "root_vdev",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"path",
"guid",
"status",
"stats"
]
},
"groups": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "groups",
"title": "groups",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"status_code": {
"_name_": "status_code",
"title": "status_code",
"_required_": false,
"type": "string"
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "boot_pool_state",
"title": "boot_pool_state",
"default": {},
"_attrs_order_": [
"name",
"id",
"guid",
"hostname",
"status",
"healthy",
"error_count",
"root_dataset",
"properties",
"features",
"scan",
"root_vdev",
"groups",
"status_code",
"status_detail"
]
}
|
Returns the current state of the boot pool, including all vdevs, properties and datasets. |
boot.replace |
---|
Arguments:
{
"_name_": "label",
"title": "label",
"type": "string"
}
{
"_name_": "dev",
"title": "dev",
"type": "string"
}
|
Replace device |
boot.scrub
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Scrub on boot pool. |
boot.set_scrub_interval |
---|
Arguments:
{
"type": "integer",
"_name_": "interval",
"title": "interval"
}
|
Return Arguments:
{
"type": "integer",
"_name_": "interval",
"title": "interval"
}
|
Set Automatic Scrub Interval value in days. |
bootenv.activate |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successfully_activated",
"title": "successfully_activated"
}
|
Activates boot environment |
bootenv.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Create a new boot environment using `name`.\nIf a new boot environment is desired which is a clone of another boot environment, `source` can be passed.\nThen, a new boot environment of `name` is created using boot environment `source` by cloning it."
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": "string",
"description": "If a new boot environment is desired which is a clone of another boot environment, `source` can be passed.\nThen, a new boot environment of `name` is created using boot environment `source` by cloning it."
}
},
"additionalProperties": false,
"_name_": "bootenv_create",
"title": "bootenv_create",
"default": {},
"_attrs_order_": [
"name",
"source"
]
}
|
Return Arguments:
{
"_name_": "bootenv_name",
"title": "bootenv_name",
"type": "string"
}
|
Create a new boot environment using If a new boot environment is desired which is a clone of another boot environment, Ensure that |
bootenv.delete
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete |
bootenv.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"realname": {
"_name_": "realname",
"title": "realname",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"active": {
"_name_": "active",
"title": "active",
"_required_": false,
"type": "string"
},
"activated": {
"type": "boolean",
"_name_": "activated",
"title": "activated",
"_required_": false
},
"can_activate": {
"type": "boolean",
"_name_": "can_activate",
"title": "can_activate",
"_required_": false
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": "string"
},
"space": {
"_name_": "space",
"title": "space",
"_required_": false,
"type": "string"
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"keep": {
"type": "boolean",
"_name_": "keep",
"title": "keep",
"_required_": false
},
"rawspace": {
"type": "integer",
"_name_": "rawspace",
"title": "rawspace",
"_required_": false
}
},
"additionalProperties": true,
"_name_": "bootenv_entry",
"title": "bootenv_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"realname",
"name",
"active",
"activated",
"can_activate",
"mountpoint",
"space",
"created",
"keep",
"rawspace"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"realname": {
"_name_": "realname",
"title": "realname",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"active": {
"_name_": "active",
"title": "active",
"_required_": false,
"type": "string"
},
"activated": {
"type": "boolean",
"_name_": "activated",
"title": "activated",
"_required_": false
},
"can_activate": {
"type": "boolean",
"_name_": "can_activate",
"title": "can_activate",
"_required_": false
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": "string"
},
"space": {
"_name_": "space",
"title": "space",
"_required_": false,
"type": "string"
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"keep": {
"type": "boolean",
"_name_": "keep",
"title": "keep",
"_required_": false
},
"rawspace": {
"type": "integer",
"_name_": "rawspace",
"title": "rawspace",
"_required_": false
}
},
"additionalProperties": true,
"_name_": "bootenv_entry",
"title": "bootenv_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"realname",
"name",
"active",
"activated",
"can_activate",
"mountpoint",
"space",
"created",
"keep",
"rawspace"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"realname": {
"_name_": "realname",
"title": "realname",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"active": {
"_name_": "active",
"title": "active",
"_required_": false,
"type": "string"
},
"activated": {
"type": "boolean",
"_name_": "activated",
"title": "activated",
"_required_": false
},
"can_activate": {
"type": "boolean",
"_name_": "can_activate",
"title": "can_activate",
"_required_": false
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": "string"
},
"space": {
"_name_": "space",
"title": "space",
"_required_": false,
"type": "string"
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"keep": {
"type": "boolean",
"_name_": "keep",
"title": "keep",
"_required_": false
},
"rawspace": {
"type": "integer",
"_name_": "rawspace",
"title": "rawspace",
"_required_": false
}
},
"additionalProperties": true,
"_name_": "bootenv_entry",
"title": "bootenv_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"realname",
"name",
"active",
"activated",
"can_activate",
"mountpoint",
"space",
"created",
"keep",
"rawspace"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query all Boot Environments with |
bootenv.set_attribute |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Sets attributes boot environment `id`."
}
{
"type": "object",
"properties": {
"keep": {
"type": "boolean",
"_name_": "keep",
"title": "keep",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_attrs_order_": [
"keep"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successfully_set_attribute",
"title": "successfully_set_attribute"
}
|
Sets attributes boot environment Currently only |
bootenv.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Update `id` boot environment name with a new provided valid `name`.\nCreate a new boot environment using `name`."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Update `id` boot environment name with a new provided valid `name`.\nCreate a new boot environment using `name`.\nThen, a new boot environment of `name` is created using boot environment `source` by cloning it."
}
},
"additionalProperties": false,
"_name_": "bootenv_update",
"title": "bootenv_update",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Return Arguments:
{
"_name_": "bootenv_name",
"title": "bootenv_name",
"type": "string"
}
|
Update |
catalog.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "catalog_create",
"title": "catalog_entry",
"default": {},
"_attrs_order_": [
"label",
"repository",
"branch",
"preferred_trains",
"force"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"trains": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error": {
"type": "boolean",
"_name_": "error",
"title": "error",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"cached": {
"type": "boolean",
"_name_": "cached",
"title": "cached",
"_required_": false
},
"caching_progress": {
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "extra",
"title": "extra",
"_required_": false
},
"percent": {
"type": [
"float",
"null"
],
"_name_": "percent",
"title": "percent",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "caching_progress",
"title": "caching_progress",
"default": {},
"_required_": false,
"_attrs_order_": [
"description",
"extra",
"percent"
]
},
"caching_job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "caching_job",
"title": "caching_job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "catalog_create_returns",
"title": "catalog_entry",
"default": {},
"_attrs_order_": [
"label",
"repository",
"branch",
"location",
"id",
"preferred_trains",
"trains",
"healthy",
"error",
"builtin",
"cached",
"caching_progress",
"caching_job"
]
}
|
|
catalog.delete |
---|
Arguments:
{
"_name_": "label",
"title": "label",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
- |
catalog.get_item_details |
---|
Arguments:
{
"_name_": "item_name",
"title": "item_name",
"type": "string"
}
{
"type": "object",
"properties": {
"cache": {
"type": "boolean",
"_name_": "cache",
"title": "cache",
"default": true,
"_required_": false
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"train": {
"_name_": "train",
"title": "train",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "item_version_details",
"title": "item_version_details",
"default": {},
"_attrs_order_": [
"cache",
"catalog",
"train"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"categories": {
"_name_": "categories",
"title": "categories",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "category",
"title": "category",
"_required_": false,
"type": "string"
}
]
},
"app_readme": {
"_name_": "app_readme",
"title": "app_readme",
"_required_": true,
"type": [
"string",
"null"
]
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"healthy_error": {
"_name_": "healthy_error",
"title": "healthy_error",
"_required_": true,
"type": [
"string",
"null"
]
},
"versions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "versions",
"title": "versions",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"latest_version": {
"_name_": "latest_version",
"title": "latest_version",
"_required_": true,
"type": [
"string",
"null"
]
},
"latest_app_version": {
"_name_": "latest_app_version",
"title": "latest_app_version",
"_required_": true,
"type": [
"string",
"null"
]
},
"latest_human_version": {
"_name_": "latest_human_version",
"title": "latest_human_version",
"_required_": true,
"type": [
"string",
"null"
]
},
"icon_url": {
"_name_": "icon_url",
"title": "icon_url",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "item_details",
"title": "item_details",
"default": {},
"_attrs_order_": [
"name",
"categories",
"app_readme",
"location",
"healthy",
"healthy_error",
"versions",
"latest_version",
"latest_app_version",
"latest_human_version",
"icon_url"
]
}
|
Retrieve information of |
catalog.items
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "label",
"title": "label",
"type": "string",
"description": "Retrieve item details for `label` catalog.\n`options.cache` is a boolean which when set will try to get items details for `label` catalog from cache\nif available."
}
{
"type": "object",
"properties": {
"cache": {
"type": "boolean",
"_name_": "cache",
"title": "cache",
"default": true,
"_required_": false
},
"cache_only": {
"type": "boolean",
"_name_": "cache_only",
"title": "cache_only",
"default": false,
"_required_": false
},
"retrieve_all_trains": {
"type": "boolean",
"_name_": "retrieve_all_trains",
"title": "retrieve_all_trains",
"default": true,
"_required_": false
},
"retrieve_versions": {
"type": "boolean",
"_name_": "retrieve_versions",
"title": "retrieve_versions",
"default": false,
"_required_": false
},
"trains": {
"_name_": "trains",
"title": "trains",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "train_name",
"title": "train_name",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"cache",
"cache_only",
"retrieve_all_trains",
"retrieve_versions",
"trains"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"description": "\n\nExample(s):\n```\n{\n \"charts\": {\n \"chia\": {\n \"name\": \"chia\",\n \"categories\": [\n \"storage\",\n \"crypto\"\n ],\n \"app_readme\": \"app readme here\",\n \"location\": \"/mnt/evo/ix-applications/catalogs/github_com_truenas_charts_git_master/charts/chia\",\n \"healthy\": true,\n \"healthy_error\": false,\n \"latest_version\": \"1.2.0\",\n \"latest_app_version\": \"1.1.6\",\n \"icon_url\": \"https://www.chia.net/img/chia_logo.svg\"\n }\n }\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Retrieve item details for
|
catalog.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"trains": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error": {
"type": "boolean",
"_name_": "error",
"title": "error",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"cached": {
"type": "boolean",
"_name_": "cached",
"title": "cached",
"_required_": false
},
"caching_progress": {
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "extra",
"title": "extra",
"_required_": false
},
"percent": {
"type": [
"float",
"null"
],
"_name_": "percent",
"title": "percent",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "caching_progress",
"title": "caching_progress",
"default": {},
"_required_": false,
"_attrs_order_": [
"description",
"extra",
"percent"
]
},
"caching_job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "caching_job",
"title": "caching_job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "catalog_entry",
"title": "catalog_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"label",
"repository",
"branch",
"location",
"id",
"preferred_trains",
"trains",
"healthy",
"error",
"builtin",
"cached",
"caching_progress",
"caching_job"
]
}
]
},
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"trains": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error": {
"type": "boolean",
"_name_": "error",
"title": "error",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"cached": {
"type": "boolean",
"_name_": "cached",
"title": "cached",
"_required_": false
},
"caching_progress": {
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "extra",
"title": "extra",
"_required_": false
},
"percent": {
"type": [
"float",
"null"
],
"_name_": "percent",
"title": "percent",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "caching_progress",
"title": "caching_progress",
"default": {},
"_required_": false,
"_attrs_order_": [
"description",
"extra",
"percent"
]
},
"caching_job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "caching_job",
"title": "caching_job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "catalog_entry",
"title": "catalog_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"label",
"repository",
"branch",
"location",
"id",
"preferred_trains",
"trains",
"healthy",
"error",
"builtin",
"cached",
"caching_progress",
"caching_job"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"trains": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error": {
"type": "boolean",
"_name_": "error",
"title": "error",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"cached": {
"type": "boolean",
"_name_": "cached",
"title": "cached",
"_required_": false
},
"caching_progress": {
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "extra",
"title": "extra",
"_required_": false
},
"percent": {
"type": [
"float",
"null"
],
"_name_": "percent",
"title": "percent",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "caching_progress",
"title": "caching_progress",
"default": {},
"_required_": false,
"_attrs_order_": [
"description",
"extra",
"percent"
]
},
"caching_job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "caching_job",
"title": "caching_job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "catalog_entry",
"title": "catalog_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"label",
"repository",
"branch",
"location",
"id",
"preferred_trains",
"trains",
"healthy",
"error",
"builtin",
"cached",
"caching_progress",
"caching_job"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
catalog.sync
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "label",
"title": "label",
"type": "string"
}
|
Sync |
catalog.sync_all
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Refresh all available catalogs from upstream. |
catalog.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "object",
"properties": {
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "catalog_update",
"title": "catalog_update",
"default": {},
"_attrs_order_": [
"preferred_trains"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"trains": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error": {
"type": "boolean",
"_name_": "error",
"title": "error",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"cached": {
"type": "boolean",
"_name_": "cached",
"title": "cached",
"_required_": false
},
"caching_progress": {
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "extra",
"title": "extra",
"_required_": false
},
"percent": {
"type": [
"float",
"null"
],
"_name_": "percent",
"title": "percent",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "caching_progress",
"title": "caching_progress",
"default": {},
"_required_": false,
"_attrs_order_": [
"description",
"extra",
"percent"
]
},
"caching_job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "caching_job",
"title": "caching_job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "catalog_update_returns",
"title": "catalog_entry",
"default": {},
"_attrs_order_": [
"label",
"repository",
"branch",
"location",
"id",
"preferred_trains",
"trains",
"healthy",
"error",
"builtin",
"cached",
"caching_progress",
"caching_job"
]
}
|
- |
catalog.validate
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "label",
"title": "label",
"type": "string",
"description": "Validates `label` catalog format which includes validating trains and applications with their versions."
}
|
Validates This does not test if an app version is valid in terms of kubernetes resources but instead ensures it has the correct format and files necessary for TrueNAS to use it. |
certificate.acme_server_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme_server_choices",
"title": "acme_server_choices",
"default": {},
"_attrs_order_": []
}
|
Dictionary of popular ACME Servers with their directory URI endpoints which we display automatically in UI |
certificate.certificate_signing_requests_profiles |
---|
Return Arguments:
{
"type": "object",
"properties": {
"Openvpn Server Certificate": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "Openvpn Server Certificate",
"title": "Openvpn Server Certificate",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"Openvpn Client Certificate": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "Openvpn Client Certificate",
"title": "Openvpn Client Certificate",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "certificate_signing_requests_profiles",
"title": "certificate_signing_requests_profiles",
"description": "\n\nExample(s):\n```\n{\n \"Openvpn Server Certificate\": {\n \"cert_extensions\": {\n \"BasicConstraints\": {\n \"enabled\": true,\n \"ca\": false,\n \"extension_critical\": true\n },\n \"ExtendedKeyUsage\": {\n \"enabled\": true,\n \"extension_critical\": true,\n \"usages\": [\n \"SERVER_AUTH\"\n ]\n },\n \"KeyUsage\": {\n \"enabled\": true,\n \"extension_critical\": true,\n \"digital_signature\": true,\n \"key_encipherment\": true\n }\n },\n \"key_length\": 2048,\n \"key_type\": \"RSA\",\n \"lifetime\": 397,\n \"digest_algorithm\": \"SHA256\"\n },\n \"Openvpn Client Certificate\": {\n \"cert_extensions\": {\n \"BasicConstraints\": {\n \"enabled\": true,\n \"ca\": false,\n \"extension_critical\": true\n },\n \"ExtendedKeyUsage\": {\n \"enabled\": true,\n \"extension_critical\": true,\n \"usages\": [\n \"CLIENT_AUTH\"\n ]\n },\n \"KeyUsage\": {\n \"enabled\": true,\n \"extension_critical\": true,\n \"digital_signature\": true,\n \"key_agreement\": true\n }\n },\n \"key_length\": 2048,\n \"key_type\": \"RSA\",\n \"lifetime\": 397,\n \"digest_algorithm\": \"SHA256\"\n }\n}\n```\n",
"default": {},
"_attrs_order_": [
"Openvpn Server Certificate",
"Openvpn Client Certificate"
]
}
|
Returns a dictionary of predefined options for specific use cases i.e openvpn client/server configurations which can be used for creating certificate signing requests. |
certificate.country_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "country_choices",
"title": "country_choices",
"default": {},
"_attrs_order_": []
}
|
Returns country choices for creating a certificate/csr. |
certificate.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"tos": {
"type": "boolean",
"_name_": "tos",
"title": "tos",
"_required_": false
},
"dns_mapping": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "dns_mapping",
"title": "dns_mapping",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"csr_id": {
"type": "integer",
"_name_": "csr_id",
"title": "csr_id",
"_required_": false
},
"signedby": {
"type": "integer",
"_name_": "signedby",
"title": "signedby",
"_required_": false
},
"key_length": {
"type": "integer",
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"lifetime": {
"type": "integer",
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": "integer",
"_name_": "serial",
"title": "serial",
"_required_": false
},
"acme_directory_uri": {
"_name_": "acme_directory_uri",
"title": "acme_directory_uri",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": "string"
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": "string"
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": "string"
},
"ec_curve": {
"_name_": "ec_curve",
"title": "ec_curve",
"default": "BrainpoolP384R1",
"_required_": false,
"type": "string",
"enum": [
"BrainpoolP512R1",
"BrainpoolP384R1",
"BrainpoolP256R1",
"SECP256K1",
"ed25519"
],
"description": "`key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic Curve Key, then default to\nusing \"BrainpoolP384R1\" curve."
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": "string"
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"default": "RSA",
"_required_": false,
"type": "string",
"enum": [
"RSA",
"EC"
],
"description": "`key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic Curve Key, then default to\nusing \"BrainpoolP384R1\" curve."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": "string"
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string"
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"create_type": {
"_name_": "create_type",
"title": "create_type",
"_required_": true,
"type": "string",
"enum": [
"CERTIFICATE_CREATE_INTERNAL",
"CERTIFICATE_CREATE_IMPORTED",
"CERTIFICATE_CREATE_CSR",
"CERTIFICATE_CREATE_IMPORTED_CSR",
"CERTIFICATE_CREATE_ACME"
],
"description": "Certificates are classified under following types and the necessary keywords to be passed\nfor `create_type` attribute to create the respective type of certificate\nA type is selected by the Certificate Service based on `create_type`. The rest of the values in `data` are\nvalidated accordingly and finally a certificate is made based on the selected type."
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": "string",
"enum": [
"SHA1",
"SHA224",
"SHA256",
"SHA384",
"SHA512"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "san",
"title": "san",
"_required_": false,
"type": "string"
}
]
},
"cert_extensions": {
"type": "object",
"properties": {
"BasicConstraints": {
"type": "object",
"properties": {
"ca": {
"type": "boolean",
"_name_": "ca",
"title": "ca",
"default": false,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"path_length": {
"type": [
"integer",
"null"
],
"_name_": "path_length",
"title": "path_length",
"default": null,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "BasicConstraints",
"title": "BasicConstraints",
"default": {},
"_required_": false,
"_attrs_order_": [
"ca",
"enabled",
"path_length",
"extension_critical"
]
},
"AuthorityKeyIdentifier": {
"type": "object",
"properties": {
"authority_cert_issuer": {
"type": "boolean",
"_name_": "authority_cert_issuer",
"title": "authority_cert_issuer",
"default": false,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "AuthorityKeyIdentifier",
"title": "AuthorityKeyIdentifier",
"default": {},
"_required_": false,
"_attrs_order_": [
"authority_cert_issuer",
"enabled",
"extension_critical"
]
},
"ExtendedKeyUsage": {
"type": "object",
"properties": {
"usages": {
"_name_": "usages",
"title": "usages",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "usage",
"title": "usage",
"_required_": false,
"type": "string",
"enum": [
"ANY_EXTENDED_KEY_USAGE",
"CLIENT_AUTH",
"CODE_SIGNING",
"EMAIL_PROTECTION",
"OCSP_SIGNING",
"SERVER_AUTH",
"TIME_STAMPING"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ExtendedKeyUsage",
"title": "ExtendedKeyUsage",
"default": {},
"_required_": false,
"_attrs_order_": [
"usages",
"enabled",
"extension_critical"
]
},
"KeyUsage": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"digital_signature": {
"type": "boolean",
"_name_": "digital_signature",
"title": "digital_signature",
"default": false,
"_required_": false
},
"content_commitment": {
"type": "boolean",
"_name_": "content_commitment",
"title": "content_commitment",
"default": false,
"_required_": false
},
"key_encipherment": {
"type": "boolean",
"_name_": "key_encipherment",
"title": "key_encipherment",
"default": false,
"_required_": false
},
"data_encipherment": {
"type": "boolean",
"_name_": "data_encipherment",
"title": "data_encipherment",
"default": false,
"_required_": false
},
"key_agreement": {
"type": "boolean",
"_name_": "key_agreement",
"title": "key_agreement",
"default": false,
"_required_": false
},
"key_cert_sign": {
"type": "boolean",
"_name_": "key_cert_sign",
"title": "key_cert_sign",
"default": false,
"_required_": false
},
"crl_sign": {
"type": "boolean",
"_name_": "crl_sign",
"title": "crl_sign",
"default": false,
"_required_": false
},
"encipher_only": {
"type": "boolean",
"_name_": "encipher_only",
"title": "encipher_only",
"default": false,
"_required_": false
},
"decipher_only": {
"type": "boolean",
"_name_": "decipher_only",
"title": "decipher_only",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "KeyUsage",
"title": "KeyUsage",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"digital_signature",
"content_commitment",
"key_encipherment",
"data_encipherment",
"key_agreement",
"key_cert_sign",
"crl_sign",
"encipher_only",
"decipher_only",
"extension_critical"
]
}
},
"additionalProperties": false,
"_name_": "cert_extensions",
"title": "cert_extensions",
"default": {},
"_required_": false,
"_attrs_order_": [
"BasicConstraints",
"AuthorityKeyIdentifier",
"ExtendedKeyUsage",
"KeyUsage"
],
"description": "`cert_extensions` can be specified to set X509v3 extensions."
}
},
"additionalProperties": false,
"_name_": "certificate_create",
"title": "certificate_create",
"default": {},
"_attrs_order_": [
"tos",
"dns_mapping",
"csr_id",
"signedby",
"key_length",
"renew_days",
"type",
"lifetime",
"serial",
"acme_directory_uri",
"certificate",
"city",
"common",
"country",
"CSR",
"ec_curve",
"email",
"key_type",
"name",
"organization",
"organizational_unit",
"passphrase",
"privatekey",
"state",
"create_type",
"digest_algorithm",
"san",
"cert_extensions"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
],
"description": "`key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic Curve Key, then default to\nusing \"BrainpoolP384R1\" curve."
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_create_returns",
"title": "certificate_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
|
Create a new Certificate Certificates are classified under following types and the necessary keywords to be passed
for 1) Internal Certificate - CERTIFICATE_CREATE_INTERNAL 2) Imported Certificate - CERTIFICATE_CREATE_IMPORTED 3) Certificate Signing Request - CERTIFICATE_CREATE_CSR 4) Imported Certificate Signing Request - CERTIFICATE_CREATE_IMPORTED_CSR 5) ACME Certificate - CERTIFICATE_CREATE_ACME By default, created certs use RSA keys. If an Elliptic Curve Key is desired, it can be specified with the
A type is selected by the Certificate Service based on
|
Create an ACME based certificate
Create an Imported Certificate Signing Request
Create an Internal Certificate
|
certificate.delete
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete certificate of `id`."
}
{
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"description": "If the certificate is an ACME based certificate, certificate service will try to\nrevoke the certificate by updating it's status with the ACME server, if it fails an exception is raised\nand the certificate is not deleted from the system. However, if `force` is set to True, certificate is deleted\nfrom the system even if some error occurred while revoking the certificate with the ACME Server"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete certificate of If the certificate is an ACME based certificate, certificate service will try to
revoke the certificate by updating it's status with the ACME server, if it fails an exception is raised
and the certificate is not deleted from the system. However, if |
Delete certificate of
|
certificate.ec_curve_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"BrainpoolP512R1": {
"_name_": "BrainpoolP512R1",
"title": "BrainpoolP512R1",
"_required_": false,
"type": "string",
"enum": [
"BrainpoolP512R1"
]
},
"BrainpoolP384R1": {
"_name_": "BrainpoolP384R1",
"title": "BrainpoolP384R1",
"_required_": false,
"type": "string",
"enum": [
"BrainpoolP384R1"
]
},
"BrainpoolP256R1": {
"_name_": "BrainpoolP256R1",
"title": "BrainpoolP256R1",
"_required_": false,
"type": "string",
"enum": [
"BrainpoolP256R1"
]
},
"SECP256K1": {
"_name_": "SECP256K1",
"title": "SECP256K1",
"_required_": false,
"type": "string",
"enum": [
"SECP256K1"
]
},
"ed25519": {
"_name_": "ed25519",
"title": "ed25519",
"_required_": false,
"type": "string",
"enum": [
"ed25519"
]
}
},
"additionalProperties": false,
"_name_": "ec_curve_choices",
"title": "ec_curve_choices",
"default": {},
"_attrs_order_": [
"BrainpoolP512R1",
"BrainpoolP384R1",
"BrainpoolP256R1",
"SECP256K1",
"ed25519"
]
}
|
Dictionary of supported EC curves. |
certificate.extended_key_usage_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"ANY_EXTENDED_KEY_USAGE": {
"_name_": "ANY_EXTENDED_KEY_USAGE",
"title": "ANY_EXTENDED_KEY_USAGE",
"_required_": false,
"type": "string",
"enum": [
"ANY_EXTENDED_KEY_USAGE"
]
},
"CLIENT_AUTH": {
"_name_": "CLIENT_AUTH",
"title": "CLIENT_AUTH",
"_required_": false,
"type": "string",
"enum": [
"CLIENT_AUTH"
]
},
"CODE_SIGNING": {
"_name_": "CODE_SIGNING",
"title": "CODE_SIGNING",
"_required_": false,
"type": "string",
"enum": [
"CODE_SIGNING"
]
},
"EMAIL_PROTECTION": {
"_name_": "EMAIL_PROTECTION",
"title": "EMAIL_PROTECTION",
"_required_": false,
"type": "string",
"enum": [
"EMAIL_PROTECTION"
]
},
"OCSP_SIGNING": {
"_name_": "OCSP_SIGNING",
"title": "OCSP_SIGNING",
"_required_": false,
"type": "string",
"enum": [
"OCSP_SIGNING"
]
},
"SERVER_AUTH": {
"_name_": "SERVER_AUTH",
"title": "SERVER_AUTH",
"_required_": false,
"type": "string",
"enum": [
"SERVER_AUTH"
]
},
"TIME_STAMPING": {
"_name_": "TIME_STAMPING",
"title": "TIME_STAMPING",
"_required_": false,
"type": "string",
"enum": [
"TIME_STAMPING"
]
}
},
"additionalProperties": false,
"_name_": "extended_key_usage_choices",
"title": "extended_key_usage_choices",
"default": {},
"_attrs_order_": [
"ANY_EXTENDED_KEY_USAGE",
"CLIENT_AUTH",
"CODE_SIGNING",
"EMAIL_PROTECTION",
"OCSP_SIGNING",
"SERVER_AUTH",
"TIME_STAMPING"
]
}
|
Dictionary of choices for |
certificate.key_type_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"RSA": {
"_name_": "RSA",
"title": "RSA",
"_required_": false,
"type": "string",
"enum": [
"RSA"
]
},
"EC": {
"_name_": "EC",
"title": "EC",
"_required_": false,
"type": "string",
"enum": [
"EC"
]
}
},
"additionalProperties": false,
"_name_": "private_key_type_choices",
"title": "private_key_type_choices",
"default": {},
"_attrs_order_": [
"RSA",
"EC"
]
}
|
Dictionary of supported key types for certificates. |
certificate.profiles |
---|
Return Arguments:
{
"type": "object",
"properties": {
"Openvpn Server Certificate": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "Openvpn Server Certificate",
"title": "Openvpn Server Certificate",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"Openvpn Client Certificate": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "Openvpn Client Certificate",
"title": "Openvpn Client Certificate",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "certificate_profiles",
"title": "certificate_profiles",
"default": {},
"_attrs_order_": [
"Openvpn Server Certificate",
"Openvpn Client Certificate"
]
}
|
Returns a dictionary of predefined options for specific use cases i.e openvpn client/server configurations which can be used for creating certificates. |
certificate.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
certificate.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update certificate of `id`\nWhen `revoked` is enabled, the specified cert `id` is revoked and if it belongs to a CA chain which\nexists on this system, its serial number is added to the CA's certificate revocation list."
}
{
"type": "object",
"properties": {
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false,
"description": "When `revoked` is enabled, the specified cert `id` is revoked and if it belongs to a CA chain which\nexists on this system, its serial number is added to the CA's certificate revocation list."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "certificate_update",
"title": "certificate_update",
"default": {},
"_attrs_order_": [
"revoked",
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update certificate of `id`\nWhen `revoked` is enabled, the specified cert `id` is revoked and if it belongs to a CA chain which\nexists on this system, its serial number is added to the CA's certificate revocation list."
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false,
"description": "When `revoked` is enabled, the specified cert `id` is revoked and if it belongs to a CA chain which\nexists on this system, its serial number is added to the CA's certificate revocation list."
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
],
"description": "`key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic Curve Key, then default to\nusing \"BrainpoolP384R1\" curve."
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_update_returns",
"title": "certificate_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
|
Update certificate of Only name and revoked attribute can be updated. When |
Update a certificate of
|
certificateauthority.ca_sign_csr |
---|
Arguments:
{
"type": "object",
"properties": {
"ca_id": {
"type": "integer",
"_name_": "ca_id",
"title": "ca_id",
"_required_": true,
"description": "Sign CSR by Certificate Authority of `ca_id`\nSign CSR's and generate a certificate from it. `ca_id` provides which CA is to be used for signing\na CSR of `csr_cert_id` which exists in the system"
},
"csr_cert_id": {
"type": "integer",
"_name_": "csr_cert_id",
"title": "csr_cert_id",
"_required_": true,
"description": "Sign CSR's and generate a certificate from it. `ca_id` provides which CA is to be used for signing\na CSR of `csr_cert_id` which exists in the system"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"cert_extensions": {
"type": "object",
"properties": {
"BasicConstraints": {
"type": "object",
"properties": {
"ca": {
"type": "boolean",
"_name_": "ca",
"title": "ca",
"default": false,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"path_length": {
"type": [
"integer",
"null"
],
"_name_": "path_length",
"title": "path_length",
"default": null,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "BasicConstraints",
"title": "BasicConstraints",
"default": {},
"_required_": false,
"_attrs_order_": [
"ca",
"enabled",
"path_length",
"extension_critical"
]
},
"AuthorityKeyIdentifier": {
"type": "object",
"properties": {
"authority_cert_issuer": {
"type": "boolean",
"_name_": "authority_cert_issuer",
"title": "authority_cert_issuer",
"default": false,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "AuthorityKeyIdentifier",
"title": "AuthorityKeyIdentifier",
"default": {},
"_required_": false,
"_attrs_order_": [
"authority_cert_issuer",
"enabled",
"extension_critical"
]
},
"ExtendedKeyUsage": {
"type": "object",
"properties": {
"usages": {
"_name_": "usages",
"title": "usages",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "usage",
"title": "usage",
"_required_": false,
"type": "string",
"enum": [
"ANY_EXTENDED_KEY_USAGE",
"CLIENT_AUTH",
"CODE_SIGNING",
"EMAIL_PROTECTION",
"OCSP_SIGNING",
"SERVER_AUTH",
"TIME_STAMPING"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ExtendedKeyUsage",
"title": "ExtendedKeyUsage",
"default": {},
"_required_": false,
"_attrs_order_": [
"usages",
"enabled",
"extension_critical"
]
},
"KeyUsage": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"digital_signature": {
"type": "boolean",
"_name_": "digital_signature",
"title": "digital_signature",
"default": false,
"_required_": false
},
"content_commitment": {
"type": "boolean",
"_name_": "content_commitment",
"title": "content_commitment",
"default": false,
"_required_": false
},
"key_encipherment": {
"type": "boolean",
"_name_": "key_encipherment",
"title": "key_encipherment",
"default": false,
"_required_": false
},
"data_encipherment": {
"type": "boolean",
"_name_": "data_encipherment",
"title": "data_encipherment",
"default": false,
"_required_": false
},
"key_agreement": {
"type": "boolean",
"_name_": "key_agreement",
"title": "key_agreement",
"default": false,
"_required_": false
},
"key_cert_sign": {
"type": "boolean",
"_name_": "key_cert_sign",
"title": "key_cert_sign",
"default": false,
"_required_": false
},
"crl_sign": {
"type": "boolean",
"_name_": "crl_sign",
"title": "crl_sign",
"default": false,
"_required_": false
},
"encipher_only": {
"type": "boolean",
"_name_": "encipher_only",
"title": "encipher_only",
"default": false,
"_required_": false
},
"decipher_only": {
"type": "boolean",
"_name_": "decipher_only",
"title": "decipher_only",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "KeyUsage",
"title": "KeyUsage",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"digital_signature",
"content_commitment",
"key_encipherment",
"data_encipherment",
"key_agreement",
"key_cert_sign",
"crl_sign",
"encipher_only",
"decipher_only",
"extension_critical"
]
}
},
"additionalProperties": false,
"_name_": "cert_extensions",
"title": "cert_extensions",
"default": {},
"_required_": false,
"_attrs_order_": [
"BasicConstraints",
"AuthorityKeyIdentifier",
"ExtendedKeyUsage",
"KeyUsage"
],
"description": "`cert_extensions` can be specified if specific extensions are to be set in the newly signed certificate."
}
},
"additionalProperties": false,
"_name_": "ca_sign_csr",
"title": "ca_sign_csr",
"default": {},
"_attrs_order_": [
"ca_id",
"csr_cert_id",
"name",
"cert_extensions"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_entry",
"title": "certificate_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
|
Sign CSR by Certificate Authority of Sign CSR's and generate a certificate from it.
|
Sign CSR of
|
certificateauthority.create |
---|
Arguments:
{
"type": "object",
"properties": {
"tos": {
"type": "boolean",
"_name_": "tos",
"title": "tos",
"_required_": false
},
"csr_id": {
"type": "integer",
"_name_": "csr_id",
"title": "csr_id",
"_required_": false
},
"signedby": {
"type": "integer",
"_name_": "signedby",
"title": "signedby",
"_required_": false
},
"key_length": {
"type": "integer",
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"lifetime": {
"type": "integer",
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": "integer",
"_name_": "serial",
"title": "serial",
"_required_": false
},
"acme_directory_uri": {
"_name_": "acme_directory_uri",
"title": "acme_directory_uri",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": "string"
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": "string"
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": "string"
},
"ec_curve": {
"_name_": "ec_curve",
"title": "ec_curve",
"default": "BrainpoolP384R1",
"_required_": false,
"type": "string",
"enum": [
"BrainpoolP512R1",
"BrainpoolP384R1",
"BrainpoolP256R1",
"SECP256K1",
"ed25519"
],
"description": "Created certificate authorities use RSA keys by default. If an Elliptic Curve Key is desired, then it can be\nspecified with the `key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic\nCurve Key, default to using \"BrainpoolP384R1\" curve."
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": "string"
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"default": "RSA",
"_required_": false,
"type": "string",
"enum": [
"RSA",
"EC"
],
"description": "Created certificate authorities use RSA keys by default. If an Elliptic Curve Key is desired, then it can be\nspecified with the `key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic\nCurve Key, default to using \"BrainpoolP384R1\" curve."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": "string"
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string"
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"create_type": {
"_name_": "create_type",
"title": "create_type",
"_required_": true,
"type": "string",
"enum": [
"CA_CREATE_INTERNAL",
"CA_CREATE_IMPORTED",
"CA_CREATE_INTERMEDIATE"
],
"description": "Certificate Authorities are classified under following types with the necessary keywords to be passed\nfor `create_type` attribute to create the respective type of certificate authority\nA type is selected by the Certificate Authority Service based on `create_type`. The rest of the values\nare validated accordingly and finally a certificate is made based on the selected type."
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": "string",
"enum": [
"SHA1",
"SHA224",
"SHA256",
"SHA384",
"SHA512"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "san",
"title": "san",
"_required_": false,
"type": "string"
}
]
},
"cert_extensions": {
"type": "object",
"properties": {
"BasicConstraints": {
"type": "object",
"properties": {
"ca": {
"type": "boolean",
"_name_": "ca",
"title": "ca",
"default": true,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"path_length": {
"type": [
"integer",
"null"
],
"_name_": "path_length",
"title": "path_length",
"default": null,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "BasicConstraints",
"title": "BasicConstraints",
"default": {},
"_required_": false,
"_attrs_order_": [
"ca",
"enabled",
"path_length",
"extension_critical"
]
},
"AuthorityKeyIdentifier": {
"type": "object",
"properties": {
"authority_cert_issuer": {
"type": "boolean",
"_name_": "authority_cert_issuer",
"title": "authority_cert_issuer",
"default": false,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "AuthorityKeyIdentifier",
"title": "AuthorityKeyIdentifier",
"default": {},
"_required_": false,
"_attrs_order_": [
"authority_cert_issuer",
"enabled",
"extension_critical"
]
},
"ExtendedKeyUsage": {
"type": "object",
"properties": {
"usages": {
"_name_": "usages",
"title": "usages",
"default": [
"SERVER_AUTH"
],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "usage",
"title": "usage",
"_required_": false,
"type": "string",
"enum": [
"ANY_EXTENDED_KEY_USAGE",
"CLIENT_AUTH",
"CODE_SIGNING",
"EMAIL_PROTECTION",
"OCSP_SIGNING",
"SERVER_AUTH",
"TIME_STAMPING"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ExtendedKeyUsage",
"title": "ExtendedKeyUsage",
"default": {},
"_required_": false,
"_attrs_order_": [
"usages",
"enabled",
"extension_critical"
]
},
"KeyUsage": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"digital_signature": {
"type": "boolean",
"_name_": "digital_signature",
"title": "digital_signature",
"default": false,
"_required_": false
},
"content_commitment": {
"type": "boolean",
"_name_": "content_commitment",
"title": "content_commitment",
"default": false,
"_required_": false
},
"key_encipherment": {
"type": "boolean",
"_name_": "key_encipherment",
"title": "key_encipherment",
"default": false,
"_required_": false
},
"data_encipherment": {
"type": "boolean",
"_name_": "data_encipherment",
"title": "data_encipherment",
"default": false,
"_required_": false
},
"key_agreement": {
"type": "boolean",
"_name_": "key_agreement",
"title": "key_agreement",
"default": false,
"_required_": false
},
"key_cert_sign": {
"type": "boolean",
"_name_": "key_cert_sign",
"title": "key_cert_sign",
"default": true,
"_required_": false
},
"crl_sign": {
"type": "boolean",
"_name_": "crl_sign",
"title": "crl_sign",
"default": true,
"_required_": false
},
"encipher_only": {
"type": "boolean",
"_name_": "encipher_only",
"title": "encipher_only",
"default": false,
"_required_": false
},
"decipher_only": {
"type": "boolean",
"_name_": "decipher_only",
"title": "decipher_only",
"default": false,
"_required_": false
},
"extension_critical": {
"type": "boolean",
"_name_": "extension_critical",
"title": "extension_critical",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "KeyUsage",
"title": "KeyUsage",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"digital_signature",
"content_commitment",
"key_encipherment",
"data_encipherment",
"key_agreement",
"key_cert_sign",
"crl_sign",
"encipher_only",
"decipher_only",
"extension_critical"
]
}
},
"additionalProperties": false,
"_name_": "cert_extensions",
"title": "cert_extensions",
"default": {},
"_required_": false,
"_attrs_order_": [
"BasicConstraints",
"AuthorityKeyIdentifier",
"ExtendedKeyUsage",
"KeyUsage"
],
"description": "`cert_extensions` can be specified to set X509v3 extensions."
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ca_create",
"title": "certificate_create",
"default": {},
"_attrs_order_": [
"tos",
"csr_id",
"signedby",
"key_length",
"renew_days",
"type",
"lifetime",
"serial",
"acme_directory_uri",
"certificate",
"city",
"common",
"country",
"CSR",
"ec_curve",
"email",
"key_type",
"name",
"organization",
"organizational_unit",
"passphrase",
"privatekey",
"state",
"create_type",
"digest_algorithm",
"san",
"cert_extensions",
"add_to_trusted_store"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
],
"description": "Created certificate authorities use RSA keys by default. If an Elliptic Curve Key is desired, then it can be\nspecified with the `key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic\nCurve Key, default to using \"BrainpoolP384R1\" curve."
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_create_returns",
"title": "certificate_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
}
|
Create a new Certificate Authority Certificate Authorities are classified under following types with the necessary keywords to be passed
for 1) Internal Certificate Authority - CA_CREATE_INTERNAL 2) Imported Certificate Authority - CA_CREATE_IMPORTED 3) Intermediate Certificate Authority - CA_CREATE_INTERMEDIATE Created certificate authorities use RSA keys by default. If an Elliptic Curve Key is desired, then it can be
specified with the A type is selected by the Certificate Authority Service based on
|
Create an Internal Certificate Authority
Create an Imported Certificate Authority
|
certificateauthority.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete a Certificate Authority of `id`"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a Certificate Authority of |
Delete a Certificate Authority of
|
certificateauthority.profiles |
---|
Return Arguments:
{
"type": "object",
"properties": {
"Openvpn Root CA": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "Openvpn Root CA",
"title": "Openvpn Root CA",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"CA": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "CA",
"title": "CA",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "certificate_authority_profiles",
"title": "certificate_authority_profiles",
"default": {},
"_attrs_order_": [
"Openvpn Root CA",
"CA"
]
}
|
Returns a dictionary of predefined options for specific use cases i.e OpenVPN certificate authority configurations which can be used for creating certificate authorities. |
certificateauthority.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
certificateauthority.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Certificate Authority of `id`"
}
{
"type": "object",
"properties": {
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false,
"description": "Only `name` and `revoked` attribute can be updated.\nIf `revoked` is enabled, the CA and its complete chain is marked as revoked and added to the CA's\ncertificate revocation list."
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
},
"ca_id": {
"type": "integer",
"_name_": "ca_id",
"title": "ca_id",
"_required_": false
},
"csr_cert_id": {
"type": "integer",
"_name_": "csr_cert_id",
"title": "csr_cert_id",
"_required_": false
},
"create_type": {
"_name_": "create_type",
"title": "create_type",
"_required_": false,
"type": "string",
"enum": [
"CA_SIGN_CSR"
],
"description": "Certificate Authorities are classified under following types with the necessary keywords to be passed\nfor `create_type` attribute to create the respective type of certificate authority\nA type is selected by the Certificate Authority Service based on `create_type`. The rest of the values\nare validated accordingly and finally a certificate is made based on the selected type."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string",
"description": "Only `name` and `revoked` attribute can be updated."
}
},
"additionalProperties": false,
"_name_": "ca_update",
"title": "ca_update",
"default": {},
"_attrs_order_": [
"revoked",
"add_to_trusted_store",
"ca_id",
"csr_cert_id",
"create_type",
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update Certificate Authority of `id`"
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string",
"description": "Only `name` and `revoked` attribute can be updated."
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false,
"description": "Only `name` and `revoked` attribute can be updated.\nIf `revoked` is enabled, the CA and its complete chain is marked as revoked and added to the CA's\ncertificate revocation list."
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
],
"description": "Created certificate authorities use RSA keys by default. If an Elliptic Curve Key is desired, then it can be\nspecified with the `key_type` attribute. If the `ec_curve` attribute is not specified for the Elliptic\nCurve Key, default to using \"BrainpoolP384R1\" curve."
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_update_returns",
"title": "certificate_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
}
|
Update Certificate Authority of Only If |
Update a Certificate Authority of
|
chart.release.certificate_authority_choices |
---|
Return Arguments:
{
"_name_": "certificate_authority_choices",
"title": "certificate_authority_choices",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
}
]
}
|
Returns certificate authorities which can be used by applications. |
chart.release.certificate_choices |
---|
Return Arguments:
{
"_name_": "certificate_choices",
"title": "certificate_choices",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
]
}
|
Returns certificates which can be used by applications. |
chart.release.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "values",
"title": "values",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string",
"description": "`catalog` is a valid catalog id where system will look for catalog `item` details.\n`train` is which train to look for under `catalog` i.e stable / testing etc."
},
"item": {
"_name_": "item",
"title": "item",
"_required_": true,
"type": "string",
"description": "`catalog` is a valid catalog id where system will look for catalog `item` details.\n`version` specifies the catalog `item` version."
},
"release_name": {
"_name_": "release_name",
"title": "release_name",
"_required_": true,
"type": "string",
"description": "`release_name` is the name which will be used to identify the created chart release."
},
"train": {
"_name_": "train",
"title": "train",
"default": "charts",
"_required_": false,
"type": "string",
"description": "`train` is which train to look for under `catalog` i.e stable / testing etc."
},
"version": {
"_name_": "version",
"title": "version",
"default": "latest",
"_required_": false,
"type": "string",
"description": "`version` specifies the catalog `item` version."
}
},
"additionalProperties": false,
"_name_": "chart_release_create",
"title": "chart_release_create",
"default": {},
"_attrs_order_": [
"values",
"catalog",
"item",
"release_name",
"train",
"version"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string",
"description": "`catalog` is a valid catalog id where system will look for catalog `item` details.\n`train` is which train to look for under `catalog` i.e stable / testing etc."
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_create_returns",
"title": "chart_release_entry",
"default": {},
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
|
Create a chart release for a catalog item.
|
chart.release.delete
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete existing chart release. This will delete the chart release from the kubernetes cluster and also remove any associated volumes / data. To clarify, host path volumes will not be deleted which live outside the chart release dataset. |
chart.release.events |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
|
Return Arguments:
{
"_name_": "events",
"title": "events",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"involved_object": {
"type": "object",
"properties": {
"kind": {
"_name_": "kind",
"title": "kind",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": false,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "involved_object",
"title": "involved_object",
"default": {},
"_required_": false,
"_attrs_order_": [
"kind",
"name",
"namespace"
]
},
"metadata": {
"type": "object",
"properties": {
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"uid": {
"_name_": "uid",
"title": "uid",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "metadata",
"title": "metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"namespace",
"uid",
"name"
]
}
},
"additionalProperties": true,
"_name_": "event",
"title": "event",
"default": {},
"_required_": false,
"_attrs_order_": [
"involved_object",
"metadata"
]
}
]
}
|
Returns kubernetes events for |
chart.release.nic_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "nic_choices",
"title": "nic_choices",
"default": {},
"_attrs_order_": []
}
|
Available choices for NIC which can be added to a pod in a chart release. |
chart.release.pod_console_choices |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pod_console_choices",
"title": "pod_console_choices",
"description": "\n\nExample(s):\n```\n{\n \"plex-d4559844b-zcgq9\": [\n \"plex\"\n ]\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns choices for console access to a chart release. Output is a dictionary with names of pods as keys and containing names of containers which the pod comprises of. |
chart.release.pod_logs |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string",
"description": "Export logs of `options.container_name` container in `options.pod_name` pod in `release_name` chart release."
}
{
"type": "object",
"properties": {
"limit_bytes": {
"type": [
"integer",
"null"
],
"_name_": "limit_bytes",
"title": "limit_bytes",
"default": null,
"_required_": false
},
"tail_lines": {
"type": [
"integer",
"null"
],
"_name_": "tail_lines",
"title": "tail_lines",
"default": 500,
"_required_": false
},
"pod_name": {
"_name_": "pod_name",
"title": "pod_name",
"_required_": true,
"type": "string"
},
"container_name": {
"_name_": "container_name",
"title": "container_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"limit_bytes",
"tail_lines",
"pod_name",
"container_name"
]
}
|
Export logs of
Please refer to websocket documentation for downloading the file. |
chart.release.pod_logs_choices |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pod_logs_choices",
"title": "pod_logs_choices",
"description": "\n\nExample(s):\n```\n{\n \"plex-d4559844b-zcgq9\": [\n \"plex\"\n ]\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns choices for accessing logs of any container in any pod in a chart release. |
chart.release.pod_status |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string",
"enum": [
"ACTIVE",
"DEPLOYING",
"STOPPED"
]
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_attrs_order_": [
"available",
"desired",
"status"
]
}
|
Retrieve available/desired pods status for a chart release and it's current state. |
chart.release.pull_container_images
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string",
"description": "Update container images being used by `release_name` chart release."
}
{
"type": "object",
"properties": {
"redeploy": {
"type": "boolean",
"_name_": "redeploy",
"title": "redeploy",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "pull_container_images_options",
"title": "pull_container_images_options",
"default": {},
"_attrs_order_": [
"redeploy"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"description": "Dictionary of container image(s) with container image tag as key and update status as value\n\nExample(s):\n```\n{\n \"plexinc/pms-docker:1.23.2.4656-85f0adf5b\": \"Updated image\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Update container images being used by
|
chart.release.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query available chart releases.
|
chart.release.redeploy
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
|
Redeploy will initiate a new rollout of the Helm chart according to upgrade strategy defined by the chart release workloads. A good example for redeploying is updating kubernetes pods with an updated container image. |
chart.release.remove_ix_volume |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
{
"_name_": "volume_name",
"title": "volume_name",
"type": "string"
}
|
Remove |
chart.release.rollback
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
{
"type": "object",
"properties": {
"force_rollback": {
"type": "boolean",
"_name_": "force_rollback",
"title": "force_rollback",
"default": false,
"_required_": false,
"description": "`force_rollback` is a boolean which when set will force rollback operation to move forward even if no\nsnapshots are found. This is only useful when `rollback_snapshot` is set."
},
"recreate_resources": {
"type": "boolean",
"_name_": "recreate_resources",
"title": "recreate_resources",
"default": false,
"_required_": false,
"description": "`recreate_resources` is a boolean which will delete and then create the kubernetes resources on rollback\nof chart release. This should be used with caution as if chart release is consuming immutable objects like\na PVC, the rollback operation can't be performed and will fail as helm tries to do a 3 way patch for rollback."
},
"rollback_snapshot": {
"type": "boolean",
"_name_": "rollback_snapshot",
"title": "rollback_snapshot",
"default": true,
"_required_": false,
"description": "`rollback_snapshot` is a boolean value which when set will rollback snapshots of any PVC's or ix volumes being\nconsumed by the chart release.\n`force_rollback` is a boolean which when set will force rollback operation to move forward even if no\nsnapshots are found. This is only useful when `rollback_snapshot` is set."
},
"item_version": {
"_name_": "item_version",
"title": "item_version",
"_required_": true,
"type": "string",
"description": "`item_version` is version which we want to rollback a chart release to."
}
},
"additionalProperties": false,
"_name_": "rollback_options",
"title": "rollback_options",
"default": {},
"_attrs_order_": [
"force_rollback",
"recreate_resources",
"rollback_snapshot",
"item_version"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
|
Rollback a chart release to a previous chart version.
Rollback is functional for the actual configuration of the release at the |
chart.release.scale
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string",
"description": "Scale a `release_name` chart release to `scale_options.replica_count` specified."
}
{
"type": "object",
"properties": {
"replica_count": {
"type": "integer",
"_name_": "replica_count",
"title": "replica_count",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "scale_options",
"title": "scale_options",
"default": {},
"_attrs_order_": [
"replica_count"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"before_scale": {
"type": "object",
"properties": {
"deployments": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "deployments",
"title": "deployments",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"statefulsets": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "statefulsets",
"title": "statefulsets",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "before_scale",
"title": "before_scale",
"default": {},
"_required_": true,
"_attrs_order_": [
"deployments",
"statefulsets"
]
},
"after_scale": {
"type": "object",
"properties": {
"deployments": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "deployments",
"title": "deployments",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"statefulsets": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "statefulsets",
"title": "statefulsets",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "after_scale",
"title": "after_scale",
"default": {},
"_required_": true,
"_attrs_order_": [
"deployments",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "scale_chart_release",
"title": "scale_chart_release",
"default": {},
"_attrs_order_": [
"before_scale",
"after_scale"
]
}
|
Scale a This will scale deployments/statefulset to replica count specified. |
chart.release.scale_workloads |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string"
}
{
"_name_": "workloads",
"title": "workloads",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"replica_count": {
"type": "integer",
"_name_": "replica_count",
"title": "replica_count",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"DEPLOYMENT",
"STATEFULSET"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "scale_workload",
"title": "scale_workload",
"default": {},
"_required_": false,
"_attrs_order_": [
"replica_count",
"type",
"name"
]
}
]
}
|
Scale workloads in a chart release to specified |
chart.release.scaleable_resources |
---|
Return Arguments:
{
"type": "object",
"properties": {
"DEPLOYMENT": {
"_name_": "DEPLOYMENT",
"title": "DEPLOYMENT",
"_required_": false,
"type": "string",
"enum": [
"DEPLOYMENT"
]
},
"STATEFULSET": {
"_name_": "STATEFULSET",
"title": "STATEFULSET",
"_required_": false,
"type": "string",
"enum": [
"STATEFULSET"
]
}
},
"additionalProperties": false,
"_name_": "scaleable_resources",
"title": "scaleable_resources",
"default": {},
"_attrs_order_": [
"DEPLOYMENT",
"STATEFULSET"
]
}
|
Returns choices for types of workloads which can be scaled up/down. |
chart.release.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "chart_release",
"title": "chart_release",
"type": "string"
}
{
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "values",
"title": "values",
"default": {},
"_required_": false,
"_attrs_order_": [],
"description": "`values` is configuration specified for the catalog item version in question which will be used to\ncreate the chart release.\nCreate a chart release for a catalog item."
}
},
"additionalProperties": false,
"_name_": "chart_release_update",
"title": "chart_release_update",
"default": {},
"_attrs_order_": [
"values"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string",
"description": "`catalog` is a valid catalog id where system will look for catalog `item` details.\n`train` is which train to look for under `catalog` i.e stable / testing etc."
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_update_returns",
"title": "chart_release_entry",
"default": {},
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
|
Update an existing chart release.
|
chart.release.upgrade
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string",
"description": "Upgrade `release_name` chart release.\nSystem will update container images being used by `release_name` chart release as a chart release\nupgrade is not considered complete until the images in use have also been updated to latest versions."
}
{
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "values",
"title": "values",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"item_version": {
"_name_": "item_version",
"title": "item_version",
"default": "latest",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "upgrade_options",
"title": "upgrade_options",
"default": {},
"_attrs_order_": [
"values",
"item_version"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
|
Upgrade
System will update container images being used by During upgrade, When chart version is upgraded, system will automatically take a snapshot of |
chart.release.upgrade_summary |
---|
Arguments:
{
"_name_": "release_name",
"title": "release_name",
"type": "string",
"description": "Retrieve upgrade summary for `release_name` which will include which container images will be updated\nand changelog for `options.item_version` chart version specified if applicable. If only container images\nneed to be updated, changelog will be `null`."
}
{
"type": "object",
"properties": {
"item_version": {
"_name_": "item_version",
"title": "item_version",
"default": "latest",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"item_version"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"image_update_available": {
"type": "boolean",
"_name_": "image_update_available",
"title": "image_update_available",
"_required_": true
},
"item_update_available": {
"type": "boolean",
"_name_": "item_update_available",
"title": "item_update_available",
"_required_": true
},
"container_images_to_update": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images_to_update",
"title": "container_images_to_update",
"description": "Dictionary of container image(s) which have an update available against the same tag",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"latest_version": {
"_name_": "latest_version",
"title": "latest_version",
"_required_": false,
"type": "string"
},
"latest_human_version": {
"_name_": "latest_human_version",
"title": "latest_human_version",
"_required_": false,
"type": "string"
},
"upgrade_version": {
"_name_": "upgrade_version",
"title": "upgrade_version",
"_required_": false,
"type": "string"
},
"upgrade_human_version": {
"_name_": "upgrade_human_version",
"title": "upgrade_human_version",
"_required_": false,
"type": "string"
},
"changelog": {
"_name_": "changelog",
"title": "changelog",
"_required_": false,
"type": [
"string",
"null"
]
},
"available_versions_for_upgrade": {
"_name_": "available_versions_for_upgrade",
"title": "available_versions_for_upgrade",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"version": {
"_name_": "version",
"title": "version",
"_required_": true,
"type": "string"
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "version_info",
"title": "version_info",
"default": {},
"_required_": false,
"_attrs_order_": [
"version",
"human_version"
]
}
]
}
},
"additionalProperties": false,
"_name_": "upgrade_summary",
"title": "upgrade_summary",
"default": {},
"_attrs_order_": [
"image_update_available",
"item_update_available",
"container_images_to_update",
"latest_version",
"latest_human_version",
"upgrade_version",
"upgrade_human_version",
"changelog",
"available_versions_for_upgrade"
]
}
|
Retrieve upgrade summary for If chart release |
chart.release.used_ports |
---|
Return Arguments:
{
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"type": "array",
"items": [
{
"type": "integer",
"_name_": "used_port",
"title": "used_port",
"_required_": false
}
]
}
|
Returns ports in use by applications. |
cloudsync.abort |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Aborts cloud sync task. |
cloudsync.create |
---|
Arguments:
{
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"_required_": true,
"type": "string",
"enum": [
"PUSH",
"PULL"
]
},
"transfer_mode": {
"_name_": "transfer_mode",
"title": "transfer_mode",
"_required_": true,
"type": "string",
"enum": [
"SYNC",
"COPY",
"MOVE"
]
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"credentials": {
"type": "integer",
"_name_": "credentials",
"title": "credentials",
"_required_": true
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"filename_encryption": {
"type": "boolean",
"_name_": "filename_encryption",
"title": "filename_encryption",
"default": false,
"_required_": false
},
"encryption_password": {
"_name_": "encryption_password",
"title": "encryption_password",
"default": "",
"_required_": false,
"type": "string"
},
"encryption_salt": {
"_name_": "encryption_salt",
"title": "encryption_salt",
"default": "",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"follow_symlinks": {
"type": "boolean",
"_name_": "follow_symlinks",
"title": "follow_symlinks",
"default": false,
"_required_": false
},
"transfers": {
"type": [
"integer",
"null"
],
"_name_": "transfers",
"title": "transfers",
"default": null,
"_required_": false
},
"bwlimit": {
"_name_": "bwlimit",
"title": "bwlimit",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"time": {
"_name_": "time",
"title": "time",
"_required_": false,
"type": "string"
},
"bandwidth": {
"type": [
"integer",
"null"
],
"_name_": "bandwidth",
"title": "bandwidth",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_bwlimit",
"title": "cloud_sync_bwlimit",
"default": {},
"_required_": false,
"_attrs_order_": [
"time",
"bandwidth"
]
}
]
},
"include": {
"_name_": "include",
"title": "include",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"snapshot": {
"type": "boolean",
"_name_": "snapshot",
"title": "snapshot",
"default": false,
"_required_": false
},
"pre_script": {
"_name_": "pre_script",
"title": "pre_script",
"default": "",
"_required_": false,
"type": "string"
},
"post_script": {
"_name_": "post_script",
"title": "post_script",
"default": "",
"_required_": false,
"type": "string"
},
"args": {
"_name_": "args",
"title": "args",
"default": "",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_create",
"title": "cloud_sync_create",
"default": {},
"_attrs_order_": [
"description",
"direction",
"transfer_mode",
"path",
"credentials",
"encryption",
"filename_encryption",
"encryption_password",
"encryption_salt",
"schedule",
"follow_symlinks",
"transfers",
"bwlimit",
"include",
"exclude",
"attributes",
"snapshot",
"pre_script",
"post_script",
"args",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_create_returns",
"title": "cloudsync_entry",
"default": {},
"_attrs_order_": []
}
|
Creates a new cloud_sync entry. |
Create a new cloud_sync using amazon s3 attributes, which is supposed to run every hour.
|
cloudsync.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Deletes cloud_sync entry |
cloudsync.list_buckets |
---|
Arguments:
{
"type": "integer",
"_name_": "credentials_id",
"title": "credentials_id"
}
|
- |
cloudsync.list_directory |
---|
Arguments:
{
"type": "object",
"properties": {
"credentials": {
"type": "integer",
"_name_": "credentials",
"title": "credentials",
"_required_": true
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"filename_encryption": {
"type": "boolean",
"_name_": "filename_encryption",
"title": "filename_encryption",
"default": false,
"_required_": false
},
"encryption_password": {
"_name_": "encryption_password",
"title": "encryption_password",
"default": "",
"_required_": false,
"type": "string"
},
"encryption_salt": {
"_name_": "encryption_salt",
"title": "encryption_salt",
"default": "",
"_required_": false,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": [],
"description": "If remote supports buckets, path is constructed by two keys \"bucket\"/\"folder\" in `attributes`.\nIf remote does not support buckets, path is constructed using \"folder\" key only in `attributes`.\n\"folder\" is directory name and \"bucket\" is bucket name for remote."
},
"args": {
"_name_": "args",
"title": "args",
"default": "",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "cloud_sync_ls",
"title": "cloud_sync_ls",
"default": {},
"_attrs_order_": [
"credentials",
"encryption",
"filename_encryption",
"encryption_password",
"encryption_salt",
"attributes",
"args"
]
}
|
List contents of a remote bucket / directory. If remote supports buckets, path is constructed by two keys "bucket"/"folder" in Path examples: S3 Service
Dropbox Service
|
cloudsync.onedrive_list_drives |
---|
Arguments:
{
"type": "object",
"properties": {
"client_id": {
"_name_": "client_id",
"title": "client_id",
"default": "",
"_required_": false,
"type": "string"
},
"client_secret": {
"_name_": "client_secret",
"title": "client_secret",
"default": "",
"_required_": false,
"type": "string"
},
"token": {
"_name_": "token",
"title": "token",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "onedrive_list_drives",
"title": "onedrive_list_drives",
"default": {},
"_attrs_order_": [
"client_id",
"client_secret",
"token"
]
}
|
Lists all available drives and their types for given Microsoft OneDrive credentials. |
Returns
|
cloudsync.providers |
---|
Returns a list of dictionaries of supported providers for Cloud Sync Tasks.
Example of a single provider: [ { "name": "AMAZON_CLOUD_DRIVE", "title": "Amazon Cloud Drive", "credentials_schema": [ { "property": "client_id", "schema": { "title": "Amazon Application Client ID", "required": true, "type": "string" } }, { "property": "client_secret", "schema": { "title": "Application Key", "required": true, "type": "string" } } ], "credentials_oauth": null, "buckets": false, "bucket_title": "Bucket", "task_schema": [] } ] |
cloudsync.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_entry",
"title": "cloudsync_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_entry",
"title": "cloudsync_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_entry",
"title": "cloudsync_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query all Cloud Sync Tasks with |
cloudsync.restore |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"transfer_mode": {
"_name_": "transfer_mode",
"title": "transfer_mode",
"_required_": true,
"type": "string",
"enum": [
"SYNC",
"COPY"
]
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "cloud_sync_restore",
"title": "cloud_sync_restore",
"default": {},
"_attrs_order_": [
"description",
"transfer_mode",
"path"
]
}
|
Create the opposite of cloud sync task |
cloudsync.sync
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"dry_run": {
"type": "boolean",
"_name_": "dry_run",
"title": "dry_run",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_sync_options",
"title": "cloud_sync_sync_options",
"default": {},
"_attrs_order_": [
"dry_run"
]
}
|
Run the cloud_sync job |
cloudsync.sync_onetime
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"_required_": true,
"type": "string",
"enum": [
"PUSH",
"PULL"
]
},
"transfer_mode": {
"_name_": "transfer_mode",
"title": "transfer_mode",
"_required_": true,
"type": "string",
"enum": [
"SYNC",
"COPY",
"MOVE"
]
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"credentials": {
"type": "integer",
"_name_": "credentials",
"title": "credentials",
"_required_": true
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"filename_encryption": {
"type": "boolean",
"_name_": "filename_encryption",
"title": "filename_encryption",
"default": false,
"_required_": false
},
"encryption_password": {
"_name_": "encryption_password",
"title": "encryption_password",
"default": "",
"_required_": false,
"type": "string"
},
"encryption_salt": {
"_name_": "encryption_salt",
"title": "encryption_salt",
"default": "",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"follow_symlinks": {
"type": "boolean",
"_name_": "follow_symlinks",
"title": "follow_symlinks",
"default": false,
"_required_": false
},
"transfers": {
"type": [
"integer",
"null"
],
"_name_": "transfers",
"title": "transfers",
"default": null,
"_required_": false
},
"bwlimit": {
"_name_": "bwlimit",
"title": "bwlimit",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"time": {
"_name_": "time",
"title": "time",
"_required_": false,
"type": "string"
},
"bandwidth": {
"type": [
"integer",
"null"
],
"_name_": "bandwidth",
"title": "bandwidth",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_bwlimit",
"title": "cloud_sync_bwlimit",
"default": {},
"_required_": false,
"_attrs_order_": [
"time",
"bandwidth"
]
}
]
},
"include": {
"_name_": "include",
"title": "include",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"snapshot": {
"type": "boolean",
"_name_": "snapshot",
"title": "snapshot",
"default": false,
"_required_": false
},
"pre_script": {
"_name_": "pre_script",
"title": "pre_script",
"default": "",
"_required_": false,
"type": "string"
},
"post_script": {
"_name_": "post_script",
"title": "post_script",
"default": "",
"_required_": false,
"type": "string"
},
"args": {
"_name_": "args",
"title": "args",
"default": "",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_sync_onetime",
"title": "cloud_sync_create",
"default": {},
"_attrs_order_": [
"description",
"direction",
"transfer_mode",
"path",
"credentials",
"encryption",
"filename_encryption",
"encryption_password",
"encryption_salt",
"schedule",
"follow_symlinks",
"transfers",
"bwlimit",
"include",
"exclude",
"attributes",
"snapshot",
"pre_script",
"post_script",
"args",
"enabled"
]
}
{
"type": "object",
"properties": {
"dry_run": {
"type": "boolean",
"_name_": "dry_run",
"title": "dry_run",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_sync_onetime_options",
"title": "cloud_sync_sync_options",
"default": {},
"_attrs_order_": [
"dry_run"
]
}
|
Run cloud sync task without creating it. |
cloudsync.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Updates the cloud_sync entry `id` with `data`.\nCreates a new cloud_sync entry."
}
{
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"_required_": true,
"type": "string",
"enum": [
"PUSH",
"PULL"
]
},
"transfer_mode": {
"_name_": "transfer_mode",
"title": "transfer_mode",
"_required_": true,
"type": "string",
"enum": [
"SYNC",
"COPY",
"MOVE"
]
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"credentials": {
"type": "integer",
"_name_": "credentials",
"title": "credentials",
"_required_": true
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"filename_encryption": {
"type": "boolean",
"_name_": "filename_encryption",
"title": "filename_encryption",
"default": false,
"_required_": false
},
"encryption_password": {
"_name_": "encryption_password",
"title": "encryption_password",
"default": "",
"_required_": false,
"type": "string"
},
"encryption_salt": {
"_name_": "encryption_salt",
"title": "encryption_salt",
"default": "",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"follow_symlinks": {
"type": "boolean",
"_name_": "follow_symlinks",
"title": "follow_symlinks",
"default": false,
"_required_": false
},
"transfers": {
"type": [
"integer",
"null"
],
"_name_": "transfers",
"title": "transfers",
"default": null,
"_required_": false
},
"bwlimit": {
"_name_": "bwlimit",
"title": "bwlimit",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"time": {
"_name_": "time",
"title": "time",
"_required_": false,
"type": "string"
},
"bandwidth": {
"type": [
"integer",
"null"
],
"_name_": "bandwidth",
"title": "bandwidth",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_bwlimit",
"title": "cloud_sync_bwlimit",
"default": {},
"_required_": false,
"_attrs_order_": [
"time",
"bandwidth"
]
}
]
},
"include": {
"_name_": "include",
"title": "include",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"snapshot": {
"type": "boolean",
"_name_": "snapshot",
"title": "snapshot",
"default": false,
"_required_": false
},
"pre_script": {
"_name_": "pre_script",
"title": "pre_script",
"default": "",
"_required_": false,
"type": "string"
},
"post_script": {
"_name_": "post_script",
"title": "post_script",
"default": "",
"_required_": false,
"type": "string"
},
"args": {
"_name_": "args",
"title": "args",
"default": "",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cloud_sync_update",
"title": "cloud_sync_create",
"default": {},
"_attrs_order_": [
"description",
"direction",
"transfer_mode",
"path",
"credentials",
"encryption",
"filename_encryption",
"encryption_password",
"encryption_salt",
"schedule",
"follow_symlinks",
"transfers",
"bwlimit",
"include",
"exclude",
"attributes",
"snapshot",
"pre_script",
"post_script",
"args",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_update_returns",
"title": "cloudsync_entry",
"default": {},
"_attrs_order_": []
}
|
Updates the cloud_sync entry |
cloudsync.credentials.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"provider": {
"_name_": "provider",
"title": "provider",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "cloud_sync_credentials_create",
"title": "cloud_sync_credentials_create",
"default": {},
"_attrs_order_": [
"name",
"provider",
"attributes"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_credentials_create_returns",
"title": "cloudsync_credentials_entry",
"default": {},
"_attrs_order_": []
}
|
Create Cloud Sync Credentials.
|
cloudsync.credentials.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Cloud Sync Credentials of |
cloudsync.credentials.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_credentials_entry",
"title": "cloudsync_credentials_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_credentials_entry",
"title": "cloudsync_credentials_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_credentials_entry",
"title": "cloudsync_credentials_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
cloudsync.credentials.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Cloud Sync Credentials of `id`.\nCreate Cloud Sync Credentials."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"provider": {
"_name_": "provider",
"title": "provider",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "cloud_sync_credentials_update",
"title": "cloud_sync_credentials_create",
"default": {},
"_attrs_order_": [
"name",
"provider",
"attributes"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_credentials_update_returns",
"title": "cloudsync_credentials_entry",
"default": {},
"_attrs_order_": []
}
|
Update Cloud Sync Credentials of |
cloudsync.credentials.verify |
---|
Arguments:
{
"type": "object",
"properties": {
"provider": {
"_name_": "provider",
"title": "provider",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "cloud_sync_credentials_verify",
"title": "cloud_sync_credentials_verify",
"default": {},
"_attrs_order_": [
"provider",
"attributes"
]
}
|
Verify if |
config.reset
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"reboot": {
"type": "boolean",
"_name_": "reboot",
"title": "reboot",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"reboot"
]
}
|
Reset database to configuration defaults. If |
config.save |
---|
Arguments:
{
"type": "object",
"properties": {
"secretseed": {
"type": "boolean",
"_name_": "secretseed",
"title": "secretseed",
"default": false,
"_required_": false,
"description": "`secretseed`: include password secret seed."
},
"pool_keys": {
"type": "boolean",
"_name_": "pool_keys",
"title": "pool_keys",
"default": false,
"_required_": false,
"description": "`pool_keys`: include GELI encryption keys."
},
"root_authorized_keys": {
"type": "boolean",
"_name_": "root_authorized_keys",
"title": "root_authorized_keys",
"default": false,
"_required_": false,
"description": "`root_authorized_keys`: include \"authorized_keys\" file for the root user."
}
},
"additionalProperties": false,
"_name_": "configsave",
"title": "configsave",
"default": {},
"_attrs_order_": [
"secretseed",
"pool_keys",
"root_authorized_keys"
]
}
|
Create a bundle of security-sensitive information. These options select which information is included in the bundle:
If none of these options are set, the bundle is not generated and the database file is provided. |
config.upload |
---|
Accepts a configuration file via job pipe. |
container.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"enable_image_updates": {
"type": "boolean",
"_name_": "enable_image_updates",
"title": "enable_image_updates",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "container_entry",
"title": "container_entry",
"default": {},
"_attrs_order_": [
"enable_image_updates",
"id"
]
}
|
- |
container.update |
---|
Arguments:
{
"type": "object",
"properties": {
"enable_image_updates": {
"type": "boolean",
"_name_": "enable_image_updates",
"title": "enable_image_updates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "container_update",
"title": "container_entry",
"default": {},
"_attrs_order_": [
"enable_image_updates"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enable_image_updates": {
"type": "boolean",
"_name_": "enable_image_updates",
"title": "enable_image_updates",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "container_update_returns",
"title": "container_entry",
"default": {},
"_attrs_order_": [
"enable_image_updates",
"id"
]
}
|
When |
container.image.delete |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"force"
]
}
|
|
container.image.pull
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"docker_authentication": {
"type": "object",
"properties": {
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "docker_authentication",
"title": "docker_authentication",
"default": null,
"_required_": false,
"_attrs_order_": [
"username",
"password"
]
},
"from_image": {
"_name_": "from_image",
"title": "from_image",
"_required_": true,
"type": "string",
"description": "`from_image` is the name of the image to pull. Format for the name is \"registry/repo/image\" where\nregistry may be omitted and it will default to docker registry in this case."
},
"tag": {
"_name_": "tag",
"title": "tag",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`tag` specifies tag of the image and defaults to `null`. In case of `null` it will retrieve all the tags\nof the image."
}
},
"additionalProperties": false,
"_name_": "image_pull",
"title": "image_pull",
"default": {},
"_attrs_order_": [
"docker_authentication",
"from_image",
"tag"
]
}
|
Return Arguments:
{
"_name_": "pull",
"title": "pull",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"status": {
"_name_": "status",
"title": "status",
"_required_": false,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "pull_result_entry",
"title": "pull_result_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"status"
]
}
]
}
|
|
container.image.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"labels": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "labels",
"title": "labels",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"repo_tags": {
"_name_": "repo_tags",
"title": "repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_tag",
"title": "repo_tag",
"_required_": false,
"type": "string"
}
]
},
"repo_digests": {
"_name_": "repo_digests",
"title": "repo_digests",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_digest",
"title": "repo_digest",
"_required_": false,
"type": "string"
}
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": false
},
"dangling": {
"type": "boolean",
"_name_": "dangling",
"title": "dangling",
"_required_": false
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": false
},
"system_image": {
"type": "boolean",
"_name_": "system_image",
"title": "system_image",
"_required_": false
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"parsed_repo_tags": {
"_name_": "parsed_repo_tags",
"title": "parsed_repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"image": {
"_name_": "image",
"title": "image",
"_required_": false,
"type": "string"
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string"
},
"registry": {
"_name_": "registry",
"title": "registry",
"_required_": false,
"type": "string"
},
"complete_tag": {
"_name_": "complete_tag",
"title": "complete_tag",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "parsed_repo_tag",
"title": "parsed_repo_tag",
"default": {},
"_required_": false,
"_attrs_order_": [
"image",
"tag",
"registry",
"complete_tag"
]
}
]
}
},
"additionalProperties": false,
"_name_": "container_image_entry",
"title": "container_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"labels",
"repo_tags",
"repo_digests",
"size",
"dangling",
"update_available",
"system_image",
"created",
"parsed_repo_tags"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"labels": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "labels",
"title": "labels",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"repo_tags": {
"_name_": "repo_tags",
"title": "repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_tag",
"title": "repo_tag",
"_required_": false,
"type": "string"
}
]
},
"repo_digests": {
"_name_": "repo_digests",
"title": "repo_digests",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_digest",
"title": "repo_digest",
"_required_": false,
"type": "string"
}
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": false
},
"dangling": {
"type": "boolean",
"_name_": "dangling",
"title": "dangling",
"_required_": false
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": false
},
"system_image": {
"type": "boolean",
"_name_": "system_image",
"title": "system_image",
"_required_": false
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"parsed_repo_tags": {
"_name_": "parsed_repo_tags",
"title": "parsed_repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"image": {
"_name_": "image",
"title": "image",
"_required_": false,
"type": "string"
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string"
},
"registry": {
"_name_": "registry",
"title": "registry",
"_required_": false,
"type": "string"
},
"complete_tag": {
"_name_": "complete_tag",
"title": "complete_tag",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "parsed_repo_tag",
"title": "parsed_repo_tag",
"default": {},
"_required_": false,
"_attrs_order_": [
"image",
"tag",
"registry",
"complete_tag"
]
}
]
}
},
"additionalProperties": false,
"_name_": "container_image_entry",
"title": "container_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"labels",
"repo_tags",
"repo_digests",
"size",
"dangling",
"update_available",
"system_image",
"created",
"parsed_repo_tags"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"labels": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "labels",
"title": "labels",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"repo_tags": {
"_name_": "repo_tags",
"title": "repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_tag",
"title": "repo_tag",
"_required_": false,
"type": "string"
}
]
},
"repo_digests": {
"_name_": "repo_digests",
"title": "repo_digests",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_digest",
"title": "repo_digest",
"_required_": false,
"type": "string"
}
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": false
},
"dangling": {
"type": "boolean",
"_name_": "dangling",
"title": "dangling",
"_required_": false
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": false
},
"system_image": {
"type": "boolean",
"_name_": "system_image",
"title": "system_image",
"_required_": false
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"parsed_repo_tags": {
"_name_": "parsed_repo_tags",
"title": "parsed_repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"image": {
"_name_": "image",
"title": "image",
"_required_": false,
"type": "string"
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string"
},
"registry": {
"_name_": "registry",
"title": "registry",
"_required_": false,
"type": "string"
},
"complete_tag": {
"_name_": "complete_tag",
"title": "complete_tag",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "parsed_repo_tag",
"title": "parsed_repo_tag",
"default": {},
"_required_": false,
"_attrs_order_": [
"image",
"tag",
"registry",
"complete_tag"
]
}
]
}
},
"additionalProperties": false,
"_name_": "container_image_entry",
"title": "container_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"labels",
"repo_tags",
"repo_digests",
"size",
"dangling",
"update_available",
"system_image",
"created",
"parsed_repo_tags"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Retrieve container images present in the system.
|
core.bulk
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "method",
"title": "method",
"type": "string"
}
{
"_name_": "params",
"title": "params",
"default": [],
"type": "array",
"items": []
}
{
"_name_": "description",
"title": "description",
"default": null,
"type": [
"string",
"null"
],
"description": "`description` contains format string for job progress (e.g. \"Deleting snapshot {0[dataset]}@{0[name]}\")"
}
|
Will loop on a list of items for the given method, returning a list of dicts containing a result and error key.
Result will be the message returned by the method being called, or a string of an error, in which case the error key will be the exception |
core.debug |
---|
Arguments:
{
"_name_": "engine",
"title": "engine",
"type": "string",
"enum": [
"PTVS",
"PYDEV",
"REMOTE_PDB"
]
}
{
"type": "object",
"properties": {
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": false,
"type": "string"
},
"bind_address": {
"_name_": "bind_address",
"title": "bind_address",
"default": "0.0.0.0",
"_required_": false,
"type": "string"
},
"bind_port": {
"type": "integer",
"_name_": "bind_port",
"title": "bind_port",
"default": 3000,
"_required_": false
},
"host": {
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
},
"wait_attach": {
"type": "boolean",
"_name_": "wait_attach",
"title": "wait_attach",
"default": false,
"_required_": false
},
"local_path": {
"_name_": "local_path",
"title": "local_path",
"_required_": false,
"type": "string"
},
"threaded": {
"type": "boolean",
"_name_": "threaded",
"title": "threaded",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"secret",
"bind_address",
"bind_port",
"host",
"wait_attach",
"local_path",
"threaded"
]
}
|
Setup middlewared for remote debugging. engines: - PTVS: Python Visual Studio - PYDEV: Python Dev (Eclipse/PyCharm) - REMOTE_PDB: Remote vanilla PDB (over TCP sockets) options: - secret: password for PTVS - host: required for PYDEV, hostname of local computer (developer workstation) - local_path: required for PYDEV, path for middlewared source in local computer (e.g. /home/user/freenas/src/middlewared/middlewared - threaded: run debugger in a new thread instead of event loop |
core.debug_mode_enabled |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "debug_mode_enabled",
"title": "debug_mode_enabled"
}
|
- |
core.download |
---|
Arguments:
{
"_name_": "method",
"title": "method",
"type": "string"
}
{
"_name_": "args",
"title": "args",
"default": [],
"type": "array",
"items": []
}
{
"_name_": "filename",
"title": "filename",
"type": "string"
}
{
"type": "boolean",
"_name_": "buffered",
"title": "buffered",
"default": false,
"description": "Non-`buffered` downloads will allow job to write to pipe as soon as download URL is requested, job will stay\nblocked meanwhile. `buffered` downloads must wait for job to complete before requesting download URL, job's\npipe output will be buffered to ramfs."
}
|
Core helper to call a job marked for download. Non- Returns the job id and the URL for download. |
core.get_events |
---|
Returns metadata for every possible event emitted from websocket server. |
core.get_jobs |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Get the long running jobs. |
core.get_methods |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"default": null,
"type": [
"string",
"null"
]
}
{
"type": "boolean",
"_name_": "cli",
"title": "cli",
"default": false
}
|
Return methods metadata of every available service.
|
core.get_services |
---|
Arguments:
{
"type": "boolean",
"_name_": "cli",
"title": "cli",
"default": false
}
|
Returns a list of all registered services. |
core.get_websocket_messages |
---|
Return Arguments:
{
"_name_": "websocket_messages",
"title": "websocket_messages",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"incoming",
"outgoing"
]
},
"session_id": {
"_name_": "session_id",
"title": "session_id",
"_required_": true,
"type": "string"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": false,
"_name_": "message",
"title": "message",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "websocket_message",
"title": "websocket_message",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"session_id",
"message"
]
}
]
}
|
Retrieve last 1000 incoming/outgoing message(s) logged over websocket. |
core.job_abort |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
- |
core.job_update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"progress": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "progress",
"title": "progress",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "job-update",
"title": "job-update",
"default": {},
"_attrs_order_": [
"progress"
]
}
|
- |
core.job_wait
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
- |
core.ping |
---|
Utility method which just returns "pong". Can be used to keep connection/authtoken alive instead of using "ping" protocol message. |
core.ping_remote |
---|
Arguments:
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "ICMP",
"_required_": false,
"type": "string",
"enum": [
"ICMP",
"ICMPV4",
"ICMPV6"
]
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 4,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"type",
"hostname",
"timeout"
]
}
|
Method that will send an ICMP echo request to "hostname" and will wait up to "timeout" for a reply. |
core.resize_shell |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "integer",
"_name_": "cols",
"title": "cols"
}
{
"type": "integer",
"_name_": "rows",
"title": "rows"
}
|
Resize terminal session (/websocket/shell) to cols x rows |
core.sessions |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Get currently open websocket sessions. |
core.set_debug_mode |
---|
Arguments:
{
"type": "boolean",
"_name_": "debug_mode",
"title": "debug_mode"
}
|
Set |
cronjob.create |
---|
Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "cron_job_create",
"title": "cron_job_create",
"default": {},
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cronjob_create_returns",
"title": "cron_job_create",
"default": {},
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user",
"id"
]
}
|
Create a new cron job.
|
Create a cron job which executes
|
cronjob.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete cronjob of |
cronjob.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cron_job_entry",
"title": "cron_job_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cron_job_entry",
"title": "cron_job_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cron_job_entry",
"title": "cron_job_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
cronjob.run
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "boolean",
"_name_": "skip_disabled",
"title": "skip_disabled",
"default": false
}
|
Job to run cronjob task of |
cronjob.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update cronjob of `id`.\nCreate a new cron job."
}
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "cronjob_update",
"title": "cron_job_create",
"default": {},
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false,
"description": "`stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress\nstandard error / standard output respectively."
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update cronjob of `id`.\nCreate a new cron job."
}
},
"additionalProperties": false,
"_name_": "cronjob_update_returns",
"title": "cron_job_create",
"default": {},
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user",
"id"
]
}
|
Update cronjob of |
ctdb.general.healthy |
---|
Returns a boolean if the ctdb cluster is healthy. |
ctdb.general.ips |
---|
Arguments:
{
"type": "object",
"properties": {
"all_nodes": {
"type": "boolean",
"_name_": "all_nodes",
"title": "all_nodes",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ctdb_ips",
"title": "ctdb_ips",
"default": {},
"_attrs_order_": [
"all_nodes"
]
}
|
Return a list of public ip addresses in the ctdb cluster. |
ctdb.general.listnodes |
---|
Return a list of nodes in the ctdb cluster. |
ctdb.general.pnn |
---|
Return node number for this node. This value should be static for life of cluster. |
ctdb.general.status |
---|
Arguments:
{
"type": "object",
"properties": {
"all_nodes": {
"type": "boolean",
"_name_": "all_nodes",
"title": "all_nodes",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ctdb_status",
"title": "ctdb_status",
"default": {},
"_attrs_order_": [
"all_nodes"
]
}
|
List the status of nodes in the ctdb cluster.
|
ctdb.private.ips.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "private_create",
"title": "private_create",
"default": {},
"_attrs_order_": [
"ip"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_private_ips_create_returns",
"title": "ctdb_private_ips_entry",
"default": {},
"_attrs_order_": []
}
|
Add a ctdb private address to the cluster
|
ctdb.private.ips.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_private_ips_entry",
"title": "ctdb_private_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_private_ips_entry",
"title": "ctdb_private_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_private_ips_entry",
"title": "ctdb_private_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
ctdb.private.ips.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Private IP address from the ctdb cluster with pnn value of `id`.\n`id` integer representing the PNN value for the node."
}
{
"type": "object",
"properties": {
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": true,
"description": "`enable` boolean. When True, enable the node else disable the node.\nAdd a ctdb private address to the cluster"
}
},
"additionalProperties": false,
"_name_": "private_update",
"title": "private_update",
"default": {},
"_attrs_order_": [
"enable"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_private_ips_update_returns",
"title": "ctdb_private_ips_entry",
"default": {},
"_attrs_order_": []
}
|
Update Private IP address from the ctdb cluster with pnn value of
|
ctdb.public.ips.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"pnn": {
"type": "integer",
"_name_": "pnn",
"title": "pnn",
"_required_": true,
"description": "`pnn` node number of record to adjust"
},
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": true,
"type": "string",
"description": "`ip` string representing an IP v4/v6 address"
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"description": "`netmask` integer representing a cidr notated netmask (i.e. 16/24/48/64 etc)"
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "public_create",
"title": "public_create",
"default": {},
"_attrs_order_": [
"pnn",
"ip",
"netmask",
"interface"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_public_ips_create_returns",
"title": "ctdb_public_ips_entry",
"default": {},
"_attrs_order_": []
}
|
Add a ctdb public address to the cluster
|
ctdb.public.ips.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_public_ips_entry",
"title": "ctdb_public_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_public_ips_entry",
"title": "ctdb_public_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_public_ips_entry",
"title": "ctdb_public_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Retrieve information about configured public IP addresses for the ctdb cluster. This call raise a CallError with errno set to ENXIO if this node is not in a state where it can provide accurate information about cluster. Examples problematic states are:
|
ctdb.public.ips.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "pnn",
"title": "pnn",
"description": "`pnn` - cluster node number\n`pnn` node number of record to adjust"
}
{
"type": "object",
"properties": {
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": true,
"type": "string",
"description": "`ip` string representing the public ip address"
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": true,
"description": "`enable` boolean. When True, enable the node else disable the node.\nAdd a ctdb public address to the cluster"
}
},
"additionalProperties": false,
"_name_": "public_update",
"title": "public_update",
"default": {},
"_attrs_order_": [
"ip",
"enable"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_public_ips_update_returns",
"title": "ctdb_public_ips_entry",
"default": {},
"_attrs_order_": []
}
|
Update Public IP address in the ctdb cluster.
|
device.get_info |
---|
Arguments:
{
"_name_": "type",
"title": "type",
"type": "string",
"enum": [
"SERIAL",
"DISK",
"GPU"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "serial_info",
"title": "serial_info",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": false,
"type": "string"
},
"drivername": {
"_name_": "drivername",
"title": "drivername",
"_required_": false,
"type": "string"
},
"start": {
"_name_": "start",
"title": "start",
"_required_": false,
"type": "string"
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": false
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "serial_info",
"title": "serial_info",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"location",
"drivername",
"start",
"size",
"description"
]
}
]
},
{
"_name_": "gpu_info",
"title": "gpu_info",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"addr": {
"type": "object",
"properties": {
"pci_slot": {
"_name_": "pci_slot",
"title": "pci_slot",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": "string"
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": "string"
},
"slot": {
"_name_": "slot",
"title": true,
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "addr",
"title": "addr",
"default": {},
"_required_": false,
"_attrs_order_": [
"pci_slot",
"domain",
"bus",
"slot"
]
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"pci_id": {
"_name_": "pci_id",
"title": "pci_id",
"_required_": true,
"type": "string"
},
"pci_slot": {
"_name_": "pci_slot",
"title": "pci_slot",
"_required_": true,
"type": "string"
},
"vm_pci_slot": {
"_name_": "vm_pci_slot",
"title": "vm_pci_slot",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "gpu_device",
"title": "gpu_device",
"default": {},
"_required_": false,
"_attrs_order_": [
"pci_id",
"pci_slot",
"vm_pci_slot"
]
}
]
},
"vendor": {
"_name_": "vendor",
"title": "vendor",
"_required_": true,
"type": [
"string",
"null"
]
},
"available_to_host": {
"type": "boolean",
"_name_": "available_to_host",
"title": "available_to_host",
"_required_": true
},
"uses_system_critical_devices": {
"type": "boolean",
"_name_": "uses_system_critical_devices",
"title": "uses_system_critical_devices",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "gpu_info",
"title": "gpu_info",
"default": {},
"_required_": false,
"_attrs_order_": [
"addr",
"description",
"devices",
"vendor",
"available_to_host",
"uses_system_critical_devices"
]
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "disk_info",
"title": "disk_info",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "device_info",
"description": null
}
|
Get info for SERIAL/DISK/GPU device types. |
device.gpu_pci_ids_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gpu_pci_id_choices",
"title": "gpu_pci_id_choices",
"description": "Returns PCI id(s) of GPU(s) located in the system\n\nExample(s):\n```\n{\n \"Red Hat, Inc. QXL paravirtual graphic card\": \"0000:00:02.0\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Retrieve choices for GPU PCI ids located in the system. |
directoryservices.cache_refresh
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
This method refreshes the directory services cache for users and groups that is
used as a backing for A cache refresh is not required in order to use newly-added users and groups for in permissions and ACL related methods. Likewise, a cache refresh will not resolve issues with users being unable to authenticate to shares. |
directoryservices.get_state |
---|
|
disk.get_unused |
---|
Arguments:
{
"type": "boolean",
"_name_": "join_partitions",
"title": "join_partitions",
"default": false
}
|
Helper method to get all disks that are not in use, either by the boot pool or the user pools. |
disk.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"subsystem": {
"_name_": "subsystem",
"title": "subsystem",
"_required_": true,
"type": "string"
},
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": true
},
"serial": {
"_name_": "serial",
"title": "serial",
"_required_": true,
"type": "string"
},
"lunid": {
"_name_": "lunid",
"title": "lunid",
"_required_": true,
"type": [
"string",
"null"
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"transfermode": {
"_name_": "transfermode",
"title": "transfermode",
"_required_": true,
"type": "string"
},
"hddstandby": {
"_name_": "hddstandby",
"title": "hddstandby",
"_required_": true,
"type": "string",
"enum": [
"ALWAYS ON",
"5",
"10",
"20",
"30",
"60",
"120",
"180",
"240",
"300",
"330"
]
},
"togglesmart": {
"type": "boolean",
"_name_": "togglesmart",
"title": "togglesmart",
"_required_": true
},
"advpowermgmt": {
"_name_": "advpowermgmt",
"title": "advpowermgmt",
"_required_": true,
"type": "string",
"enum": [
"DISABLED",
"1",
"64",
"127",
"128",
"192",
"254"
]
},
"smartoptions": {
"_name_": "smartoptions",
"title": "smartoptions",
"_required_": true,
"type": "string"
},
"expiretime": {
"_name_": "expiretime",
"title": "expiretime",
"_required_": true,
"type": [
"string",
"null"
]
},
"critical": {
"type": [
"integer",
"null"
],
"_name_": "critical",
"title": "critical",
"_required_": true
},
"difference": {
"type": [
"integer",
"null"
],
"_name_": "difference",
"title": "difference",
"_required_": true
},
"informational": {
"type": [
"integer",
"null"
],
"_name_": "informational",
"title": "informational",
"_required_": true
},
"model": {
"_name_": "model",
"title": "model",
"_required_": true,
"type": [
"string",
"null"
]
},
"rotationrate": {
"type": [
"integer",
"null"
],
"_name_": "rotationrate",
"title": "rotationrate",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": [
"string",
"null"
]
},
"zfs_guid": {
"_name_": "zfs_guid",
"title": "zfs_guid",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": "string"
},
"devname": {
"_name_": "devname",
"title": "devname",
"_required_": true,
"type": "string"
},
"enclosure": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": false
},
"slot": {
"type": "integer",
"_name_": "slot",
"title": "slot",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "enclosure",
"title": "enclosure",
"default": {},
"_required_": true,
"_attrs_order_": [
"number",
"slot"
]
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
]
},
"passwd": {
"_name_": "passwd",
"title": "passwd",
"_required_": false,
"type": "string"
},
"kmip_uid": {
"_name_": "kmip_uid",
"title": "kmip_uid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "disk_entry",
"title": "disk_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"identifier",
"name",
"subsystem",
"number",
"serial",
"lunid",
"size",
"description",
"transfermode",
"hddstandby",
"togglesmart",
"advpowermgmt",
"smartoptions",
"expiretime",
"critical",
"difference",
"informational",
"model",
"rotationrate",
"type",
"zfs_guid",
"bus",
"devname",
"enclosure",
"pool",
"passwd",
"kmip_uid"
]
}
]
},
{
"type": "object",
"properties": {
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"subsystem": {
"_name_": "subsystem",
"title": "subsystem",
"_required_": true,
"type": "string"
},
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": true
},
"serial": {
"_name_": "serial",
"title": "serial",
"_required_": true,
"type": "string"
},
"lunid": {
"_name_": "lunid",
"title": "lunid",
"_required_": true,
"type": [
"string",
"null"
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"transfermode": {
"_name_": "transfermode",
"title": "transfermode",
"_required_": true,
"type": "string"
},
"hddstandby": {
"_name_": "hddstandby",
"title": "hddstandby",
"_required_": true,
"type": "string",
"enum": [
"ALWAYS ON",
"5",
"10",
"20",
"30",
"60",
"120",
"180",
"240",
"300",
"330"
]
},
"togglesmart": {
"type": "boolean",
"_name_": "togglesmart",
"title": "togglesmart",
"_required_": true
},
"advpowermgmt": {
"_name_": "advpowermgmt",
"title": "advpowermgmt",
"_required_": true,
"type": "string",
"enum": [
"DISABLED",
"1",
"64",
"127",
"128",
"192",
"254"
]
},
"smartoptions": {
"_name_": "smartoptions",
"title": "smartoptions",
"_required_": true,
"type": "string"
},
"expiretime": {
"_name_": "expiretime",
"title": "expiretime",
"_required_": true,
"type": [
"string",
"null"
]
},
"critical": {
"type": [
"integer",
"null"
],
"_name_": "critical",
"title": "critical",
"_required_": true
},
"difference": {
"type": [
"integer",
"null"
],
"_name_": "difference",
"title": "difference",
"_required_": true
},
"informational": {
"type": [
"integer",
"null"
],
"_name_": "informational",
"title": "informational",
"_required_": true
},
"model": {
"_name_": "model",
"title": "model",
"_required_": true,
"type": [
"string",
"null"
]
},
"rotationrate": {
"type": [
"integer",
"null"
],
"_name_": "rotationrate",
"title": "rotationrate",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": [
"string",
"null"
]
},
"zfs_guid": {
"_name_": "zfs_guid",
"title": "zfs_guid",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": "string"
},
"devname": {
"_name_": "devname",
"title": "devname",
"_required_": true,
"type": "string"
},
"enclosure": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": false
},
"slot": {
"type": "integer",
"_name_": "slot",
"title": "slot",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "enclosure",
"title": "enclosure",
"default": {},
"_required_": true,
"_attrs_order_": [
"number",
"slot"
]
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
]
},
"passwd": {
"_name_": "passwd",
"title": "passwd",
"_required_": false,
"type": "string"
},
"kmip_uid": {
"_name_": "kmip_uid",
"title": "kmip_uid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "disk_entry",
"title": "disk_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"identifier",
"name",
"subsystem",
"number",
"serial",
"lunid",
"size",
"description",
"transfermode",
"hddstandby",
"togglesmart",
"advpowermgmt",
"smartoptions",
"expiretime",
"critical",
"difference",
"informational",
"model",
"rotationrate",
"type",
"zfs_guid",
"bus",
"devname",
"enclosure",
"pool",
"passwd",
"kmip_uid"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"subsystem": {
"_name_": "subsystem",
"title": "subsystem",
"_required_": true,
"type": "string"
},
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": true
},
"serial": {
"_name_": "serial",
"title": "serial",
"_required_": true,
"type": "string"
},
"lunid": {
"_name_": "lunid",
"title": "lunid",
"_required_": true,
"type": [
"string",
"null"
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"transfermode": {
"_name_": "transfermode",
"title": "transfermode",
"_required_": true,
"type": "string"
},
"hddstandby": {
"_name_": "hddstandby",
"title": "hddstandby",
"_required_": true,
"type": "string",
"enum": [
"ALWAYS ON",
"5",
"10",
"20",
"30",
"60",
"120",
"180",
"240",
"300",
"330"
]
},
"togglesmart": {
"type": "boolean",
"_name_": "togglesmart",
"title": "togglesmart",
"_required_": true
},
"advpowermgmt": {
"_name_": "advpowermgmt",
"title": "advpowermgmt",
"_required_": true,
"type": "string",
"enum": [
"DISABLED",
"1",
"64",
"127",
"128",
"192",
"254"
]
},
"smartoptions": {
"_name_": "smartoptions",
"title": "smartoptions",
"_required_": true,
"type": "string"
},
"expiretime": {
"_name_": "expiretime",
"title": "expiretime",
"_required_": true,
"type": [
"string",
"null"
]
},
"critical": {
"type": [
"integer",
"null"
],
"_name_": "critical",
"title": "critical",
"_required_": true
},
"difference": {
"type": [
"integer",
"null"
],
"_name_": "difference",
"title": "difference",
"_required_": true
},
"informational": {
"type": [
"integer",
"null"
],
"_name_": "informational",
"title": "informational",
"_required_": true
},
"model": {
"_name_": "model",
"title": "model",
"_required_": true,
"type": [
"string",
"null"
]
},
"rotationrate": {
"type": [
"integer",
"null"
],
"_name_": "rotationrate",
"title": "rotationrate",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": [
"string",
"null"
]
},
"zfs_guid": {
"_name_": "zfs_guid",
"title": "zfs_guid",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": "string"
},
"devname": {
"_name_": "devname",
"title": "devname",
"_required_": true,
"type": "string"
},
"enclosure": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": false
},
"slot": {
"type": "integer",
"_name_": "slot",
"title": "slot",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "enclosure",
"title": "enclosure",
"default": {},
"_required_": true,
"_attrs_order_": [
"number",
"slot"
]
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
]
},
"passwd": {
"_name_": "passwd",
"title": "passwd",
"_required_": false,
"type": "string"
},
"kmip_uid": {
"_name_": "kmip_uid",
"title": "kmip_uid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "disk_entry",
"title": "disk_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"identifier",
"name",
"subsystem",
"number",
"serial",
"lunid",
"size",
"description",
"transfermode",
"hddstandby",
"togglesmart",
"advpowermgmt",
"smartoptions",
"expiretime",
"critical",
"difference",
"informational",
"model",
"rotationrate",
"type",
"zfs_guid",
"bus",
"devname",
"enclosure",
"pool",
"passwd",
"kmip_uid"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query disks. The following extra options are supported:
|
disk.smart_attributes |
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
|
Return Arguments:
{
"_name_": "smart_attributes",
"title": "smart_attributes",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"value": {
"type": "integer",
"_name_": "value",
"title": "value",
"_required_": true
},
"worst": {
"type": "integer",
"_name_": "worst",
"title": "worst",
"_required_": true
},
"thresh": {
"type": "integer",
"_name_": "thresh",
"title": "thresh",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"when_failed": {
"_name_": "when_failed",
"title": "when_failed",
"_required_": true,
"type": "string"
},
"flags": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"_name_": "value",
"title": "value",
"_required_": true
},
"string": {
"_name_": "string",
"title": "string",
"_required_": true,
"type": "string"
},
"prefailure": {
"type": "boolean",
"_name_": "prefailure",
"title": "prefailure",
"_required_": true
},
"updated_online": {
"type": "boolean",
"_name_": "updated_online",
"title": "updated_online",
"_required_": true
},
"performance": {
"type": "boolean",
"_name_": "performance",
"title": "performance",
"_required_": true
},
"error_rate": {
"type": "boolean",
"_name_": "error_rate",
"title": "error_rate",
"_required_": true
},
"event_count": {
"type": "boolean",
"_name_": "event_count",
"title": "event_count",
"_required_": true
},
"auto_keep": {
"type": "boolean",
"_name_": "auto_keep",
"title": "auto_keep",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"value",
"string",
"prefailure",
"updated_online",
"performance",
"error_rate",
"event_count",
"auto_keep"
]
},
"raw": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"_name_": "value",
"title": "value",
"_required_": true
},
"string": {
"_name_": "string",
"title": "string",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "raw",
"title": "raw",
"default": {},
"_required_": false,
"_attrs_order_": [
"value",
"string"
]
}
},
"additionalProperties": false,
"_name_": "smart_attribute",
"title": "smart_attribute",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"value",
"worst",
"thresh",
"name",
"when_failed",
"flags",
"raw"
]
}
]
}
|
Returns S.M.A.R.T. attributes values for specified disk name. |
disk.temperature |
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
{
"_name_": "powermode",
"title": "powermode",
"default": "NEVER",
"type": "string",
"enum": [
"NEVER",
"SLEEP",
"STANDBY",
"IDLE"
]
}
|
Return Arguments:
{
"type": [
"integer",
"null"
],
"_name_": "temperature",
"title": "temperature"
}
|
Returns temperature for device |
disk.temperatures |
---|
Arguments:
{
"_name_": "names",
"title": "names",
"default": [],
"type": "array",
"items": [
{
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
}
]
}
{
"_name_": "powermode",
"title": "powermode",
"default": "NEVER",
"type": "string",
"enum": [
"NEVER",
"SLEEP",
"STANDBY",
"IDLE"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "disks_temperatures",
"title": "disks_temperatures",
"default": {},
"_attrs_order_": []
}
|
Returns temperatures for a list of devices (runs in parallel).
See |
disk.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Update disk of `id`."
}
{
"type": "object",
"properties": {
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": true
},
"lunid": {
"_name_": "lunid",
"title": "lunid",
"_required_": true,
"type": [
"string",
"null"
]
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"hddstandby": {
"_name_": "hddstandby",
"title": "hddstandby",
"_required_": true,
"type": "string",
"enum": [
"ALWAYS ON",
"5",
"10",
"20",
"30",
"60",
"120",
"180",
"240",
"300",
"330"
]
},
"togglesmart": {
"type": "boolean",
"_name_": "togglesmart",
"title": "togglesmart",
"_required_": true
},
"advpowermgmt": {
"_name_": "advpowermgmt",
"title": "advpowermgmt",
"_required_": true,
"type": "string",
"enum": [
"DISABLED",
"1",
"64",
"127",
"128",
"192",
"254"
]
},
"smartoptions": {
"_name_": "smartoptions",
"title": "smartoptions",
"_required_": true,
"type": "string",
"description": "`smartoptions`."
},
"critical": {
"type": [
"integer",
"null"
],
"_name_": "critical",
"title": "critical",
"_required_": true,
"description": "`critical`, `informational` and `difference` are integer values on which alerts for SMART are configured\nif the disk temperature crosses the assigned threshold for each respective attribute.\nIf they are set to null, then SMARTD config values are used as defaults.\nEmail of log level LOG_CRIT is issued when disk temperature crosses `critical`."
},
"difference": {
"type": [
"integer",
"null"
],
"_name_": "difference",
"title": "difference",
"_required_": true,
"description": "`critical`, `informational` and `difference` are integer values on which alerts for SMART are configured\nif the disk temperature crosses the assigned threshold for each respective attribute.\nIf they are set to null, then SMARTD config values are used as defaults."
},
"informational": {
"type": [
"integer",
"null"
],
"_name_": "informational",
"title": "informational",
"_required_": true,
"description": "`critical`, `informational` and `difference` are integer values on which alerts for SMART are configured\nif the disk temperature crosses the assigned threshold for each respective attribute.\nIf they are set to null, then SMARTD config values are used as defaults.\nEmail of log level LOG_INFO is issued when disk temperature crosses `informational`."
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": "string"
},
"enclosure": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": false
},
"slot": {
"type": "integer",
"_name_": "slot",
"title": "slot",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "enclosure",
"title": "enclosure",
"default": {},
"_required_": true,
"_attrs_order_": [
"number",
"slot"
]
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
]
},
"passwd": {
"_name_": "passwd",
"title": "passwd",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "disk_update",
"title": "disk_entry",
"default": {},
"_attrs_order_": [
"number",
"lunid",
"description",
"hddstandby",
"togglesmart",
"advpowermgmt",
"smartoptions",
"critical",
"difference",
"informational",
"bus",
"enclosure",
"pool",
"passwd"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"subsystem": {
"_name_": "subsystem",
"title": "subsystem",
"_required_": true,
"type": "string"
},
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": true
},
"serial": {
"_name_": "serial",
"title": "serial",
"_required_": true,
"type": "string"
},
"lunid": {
"_name_": "lunid",
"title": "lunid",
"_required_": true,
"type": [
"string",
"null"
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"transfermode": {
"_name_": "transfermode",
"title": "transfermode",
"_required_": true,
"type": "string"
},
"hddstandby": {
"_name_": "hddstandby",
"title": "hddstandby",
"_required_": true,
"type": "string",
"enum": [
"ALWAYS ON",
"5",
"10",
"20",
"30",
"60",
"120",
"180",
"240",
"300",
"330"
]
},
"togglesmart": {
"type": "boolean",
"_name_": "togglesmart",
"title": "togglesmart",
"_required_": true
},
"advpowermgmt": {
"_name_": "advpowermgmt",
"title": "advpowermgmt",
"_required_": true,
"type": "string",
"enum": [
"DISABLED",
"1",
"64",
"127",
"128",
"192",
"254"
]
},
"smartoptions": {
"_name_": "smartoptions",
"title": "smartoptions",
"_required_": true,
"type": "string",
"description": "`smartoptions`."
},
"expiretime": {
"_name_": "expiretime",
"title": "expiretime",
"_required_": true,
"type": [
"string",
"null"
]
},
"critical": {
"type": [
"integer",
"null"
],
"_name_": "critical",
"title": "critical",
"_required_": true,
"description": "`critical`, `informational` and `difference` are integer values on which alerts for SMART are configured\nif the disk temperature crosses the assigned threshold for each respective attribute.\nIf they are set to null, then SMARTD config values are used as defaults.\nEmail of log level LOG_CRIT is issued when disk temperature crosses `critical`."
},
"difference": {
"type": [
"integer",
"null"
],
"_name_": "difference",
"title": "difference",
"_required_": true,
"description": "`critical`, `informational` and `difference` are integer values on which alerts for SMART are configured\nif the disk temperature crosses the assigned threshold for each respective attribute.\nIf they are set to null, then SMARTD config values are used as defaults."
},
"informational": {
"type": [
"integer",
"null"
],
"_name_": "informational",
"title": "informational",
"_required_": true,
"description": "`critical`, `informational` and `difference` are integer values on which alerts for SMART are configured\nif the disk temperature crosses the assigned threshold for each respective attribute.\nIf they are set to null, then SMARTD config values are used as defaults.\nEmail of log level LOG_INFO is issued when disk temperature crosses `informational`."
},
"model": {
"_name_": "model",
"title": "model",
"_required_": true,
"type": [
"string",
"null"
]
},
"rotationrate": {
"type": [
"integer",
"null"
],
"_name_": "rotationrate",
"title": "rotationrate",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": [
"string",
"null"
]
},
"zfs_guid": {
"_name_": "zfs_guid",
"title": "zfs_guid",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": "string"
},
"devname": {
"_name_": "devname",
"title": "devname",
"_required_": true,
"type": "string"
},
"enclosure": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"_name_": "number",
"title": "number",
"_required_": false
},
"slot": {
"type": "integer",
"_name_": "slot",
"title": "slot",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "enclosure",
"title": "enclosure",
"default": {},
"_required_": true,
"_attrs_order_": [
"number",
"slot"
]
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
]
},
"passwd": {
"_name_": "passwd",
"title": "passwd",
"_required_": false,
"type": "string"
},
"kmip_uid": {
"_name_": "kmip_uid",
"title": "kmip_uid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "disk_update_returns",
"title": "disk_entry",
"default": {},
"_attrs_order_": [
"identifier",
"name",
"subsystem",
"number",
"serial",
"lunid",
"size",
"description",
"transfermode",
"hddstandby",
"togglesmart",
"advpowermgmt",
"smartoptions",
"expiretime",
"critical",
"difference",
"informational",
"model",
"rotationrate",
"type",
"zfs_guid",
"bus",
"devname",
"enclosure",
"pool",
"passwd",
"kmip_uid"
]
}
|
Update disk of If extra options need to be passed to SMART which we don't already support, they can be passed by
Email of log level LOG_CRIT is issued when disk temperature crosses Email of log level LOG_INFO is issued when disk temperature crosses If temperature of a disk changes by |
disk.wipe
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "dev",
"title": "dev",
"type": "string"
}
{
"_name_": "mode",
"title": "mode",
"type": "string",
"enum": [
"QUICK",
"FULL",
"FULL_RANDOM"
]
}
{
"type": "boolean",
"_name_": "synccache",
"title": "synccache",
"default": true
}
{
"type": "object",
"properties": {
"configure_swap": {
"type": "boolean",
"_name_": "configure_swap",
"title": "configure_swap",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "swap_removal_options",
"title": "swap_removal_options",
"default": {},
"_attrs_order_": [
"configure_swap"
]
}
|
Performs a wipe of a disk |
dns.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"nameserver": {
"_name_": "nameserver",
"title": "nameserver",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "nameserver",
"title": "nameserver",
"default": {},
"_required_": false,
"_attrs_order_": [
"nameserver"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"nameserver": {
"_name_": "nameserver",
"title": "nameserver",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "nameserver",
"title": "nameserver",
"default": {},
"_required_": false,
"_attrs_order_": [
"nameserver"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
Query Name Servers with |
dyndns.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"provider": {
"_name_": "provider",
"title": "provider",
"_required_": true,
"type": "string"
},
"checkip_ssl": {
"type": "boolean",
"_name_": "checkip_ssl",
"title": "checkip_ssl",
"_required_": true
},
"checkip_server": {
"_name_": "checkip_server",
"title": "checkip_server",
"_required_": true,
"type": "string"
},
"checkip_path": {
"_name_": "checkip_path",
"title": "checkip_path",
"_required_": true,
"type": "string"
},
"ssl": {
"type": "boolean",
"_name_": "ssl",
"title": "ssl",
"_required_": true
},
"custom_ddns_server": {
"_name_": "custom_ddns_server",
"title": "custom_ddns_server",
"_required_": true,
"type": "string"
},
"custom_ddns_path": {
"_name_": "custom_ddns_path",
"title": "custom_ddns_path",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "domain",
"title": "domain",
"_required_": false,
"type": "string"
}
]
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
},
"period": {
"type": "integer",
"_name_": "period",
"title": "period",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "dyndns_entry",
"title": "dyndns_entry",
"default": {},
"_attrs_order_": [
"provider",
"checkip_ssl",
"checkip_server",
"checkip_path",
"ssl",
"custom_ddns_server",
"custom_ddns_path",
"domain",
"username",
"password",
"period",
"id"
]
}
|
- |
dyndns.provider_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "dynamic_dns_provider_choices",
"title": "dynamic_dns_provider_choices",
"default": {},
"_attrs_order_": []
}
|
List supported Dynamic DNS Service Providers. |
dyndns.update |
---|
Arguments:
{
"type": "object",
"properties": {
"provider": {
"_name_": "provider",
"title": "provider",
"_required_": true,
"type": "string"
},
"checkip_ssl": {
"type": "boolean",
"_name_": "checkip_ssl",
"title": "checkip_ssl",
"_required_": true
},
"checkip_server": {
"_name_": "checkip_server",
"title": "checkip_server",
"_required_": true,
"type": "string"
},
"checkip_path": {
"_name_": "checkip_path",
"title": "checkip_path",
"_required_": true,
"type": "string"
},
"ssl": {
"type": "boolean",
"_name_": "ssl",
"title": "ssl",
"_required_": true
},
"custom_ddns_server": {
"_name_": "custom_ddns_server",
"title": "custom_ddns_server",
"_required_": true,
"type": "string"
},
"custom_ddns_path": {
"_name_": "custom_ddns_path",
"title": "custom_ddns_path",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "domain",
"title": "domain",
"_required_": false,
"type": "string"
}
]
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
},
"period": {
"type": "integer",
"_name_": "period",
"title": "period",
"_required_": true,
"description": "`period` indicates how often the IP is checked in seconds."
}
},
"additionalProperties": false,
"_name_": "dyndns_update",
"title": "dyndns_entry",
"default": {},
"_attrs_order_": [
"provider",
"checkip_ssl",
"checkip_server",
"checkip_path",
"ssl",
"custom_ddns_server",
"custom_ddns_path",
"domain",
"username",
"password",
"period"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"provider": {
"_name_": "provider",
"title": "provider",
"_required_": true,
"type": "string"
},
"checkip_ssl": {
"type": "boolean",
"_name_": "checkip_ssl",
"title": "checkip_ssl",
"_required_": true
},
"checkip_server": {
"_name_": "checkip_server",
"title": "checkip_server",
"_required_": true,
"type": "string"
},
"checkip_path": {
"_name_": "checkip_path",
"title": "checkip_path",
"_required_": true,
"type": "string"
},
"ssl": {
"type": "boolean",
"_name_": "ssl",
"title": "ssl",
"_required_": true
},
"custom_ddns_server": {
"_name_": "custom_ddns_server",
"title": "custom_ddns_server",
"_required_": true,
"type": "string"
},
"custom_ddns_path": {
"_name_": "custom_ddns_path",
"title": "custom_ddns_path",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "domain",
"title": "domain",
"_required_": false,
"type": "string"
}
]
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
},
"period": {
"type": "integer",
"_name_": "period",
"title": "period",
"_required_": true,
"description": "`period` indicates how often the IP is checked in seconds."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "dyndns_update_returns",
"title": "dyndns_entry",
"default": {},
"_attrs_order_": [
"provider",
"checkip_ssl",
"checkip_server",
"checkip_path",
"ssl",
"custom_ddns_server",
"custom_ddns_path",
"domain",
"username",
"password",
"period",
"id"
]
}
|
Update dynamic dns service configuration.
|
enclosure.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "enclosure_entry",
"title": "enclosure_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "enclosure_entry",
"title": "enclosure_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "enclosure_entry",
"title": "enclosure_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
enclosure.set_slot_status |
---|
Arguments:
{
"_name_": "enclosure_id",
"title": "enclosure_id",
"type": "string"
}
{
"type": "integer",
"_name_": "slot",
"title": "slot"
}
{
"_name_": "status",
"title": "status",
"type": "string",
"enum": [
"CLEAR",
"FAULT",
"IDENTIFY"
]
}
|
- |
enclosure.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "enclosure_update",
"title": "enclosure_update",
"default": {},
"_attrs_order_": [
"label"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "enclosure_update_returns",
"title": "enclosure_entry",
"default": {},
"_attrs_order_": []
}
|
- |
failover.become_passive |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "become_passive",
"title": "become_passive"
}
|
Restart the keepavlived service which will cause any VIP addresses on this controller to be migrated to the other controller. This will cause a failover event if run on the master controller. If this is run on the passive controller it will do 1 of 2 things: 1: if there are no VIP(s) on the passive controller, then this will do nothing. 2: if there are VIP(s) on the passive controller, then the VIP(s) will be migrated to the active controller. A failover event will be triggered but it will do nothing since the active will already have the zpool(s) imported. |
failover.call_remote |
---|
Arguments:
{
"_name_": "method",
"title": "method",
"type": "string"
}
{
"_name_": "args",
"title": "args",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": false
},
"job": {
"type": "boolean",
"_name_": "job",
"title": "job",
"default": false,
"_required_": false
},
"job_return": {
"type": [
"boolean",
"null"
],
"_name_": "job_return",
"title": "job_return",
"default": null,
"_required_": false
},
"callback": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": false,
"_name_": "callback",
"title": "callback",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"timeout",
"job",
"job_return",
"callback"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "call_remote",
"title": "call_remote"
}
|
Call a method in the other node. |
failover.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"disabled": {
"type": "boolean",
"_name_": "disabled",
"title": "disabled",
"_required_": true
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": true
},
"master": {
"type": "boolean",
"_name_": "master",
"title": "master",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "failover_entry",
"title": "failover_entry",
"default": {},
"_attrs_order_": [
"id",
"disabled",
"timeout",
"master"
]
}
|
- |
failover.control |
---|
Arguments:
{
"_name_": "action",
"title": "action",
"type": "string",
"enum": [
"ENABLE",
"DISABLE"
]
}
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"_name_": "active",
"title": "active",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"active"
]
}
|
- |
failover.disabled_reasons |
---|
Return Arguments:
{
"_name_": "reasons",
"title": "reasons",
"default": [],
"type": "array",
"items": [
{
"_name_": "reason",
"title": "reason",
"_required_": false,
"type": "string"
}
]
}
|
Returns a list of reasons why failover is not enabled/functional. NO_VOLUME - There are no pools configured. NO_VIP - There are no interfaces configured with Virtual IP. NO_SYSTEM_READY - Other storage controller has not finished booting. NO_PONG - Other storage controller is not communicable. NO_FAILOVER - Failover is administratively disabled. NO_LICENSE - Other storage controller has no license. DISAGREE_CARP - Nodes CARP states do not agree. MISMATCH_DISKS - The storage controllers do not have the same quantity of disks. NO_CRITICAL_INTERFACES - No network interfaces are marked critical for failover. |
failover.force_master |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "force_master",
"title": "force_master"
}
|
Force this controller to become MASTER, if it's not already. |
failover.get_ips |
---|
Return Arguments:
{
"_name_": "ips",
"title": "ips",
"default": [],
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
]
}
|
Get a list of IPs for which the webUI can be accessed. |
failover.hardware |
---|
Return Arguments:
{
"_name_": "hardware",
"title": "hardware",
"type": "string"
}
|
Returns the hardware type for an HA system. ECHOSTREAM ECHOWARP PUMA BHYVE MANUAL |
failover.in_progress |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "in_progress",
"title": "in_progress"
}
|
Returns True if there is an ongoing failover event. |
failover.licensed |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "licensed",
"title": "licensed"
}
|
Checks whether this instance is licensed as a HA unit. |
failover.node |
---|
Return Arguments:
{
"_name_": "node",
"title": "node",
"type": "string"
}
|
Returns the slot position in the chassis that the controller is located. A - First node B - Seconde Node MANUAL - slot position in chassis could not be determined |
failover.status |
---|
Return Arguments:
{
"_name_": "status",
"title": "status",
"type": "string"
}
|
Get the current HA status. Returns: MASTER BACKUP ELECTING IMPORTING ERROR SINGLE |
failover.sync_from_peer |
---|
Sync database and files from the other controller. |
failover.sync_to_peer |
---|
Arguments:
{
"type": "object",
"properties": {
"reboot": {
"type": "boolean",
"_name_": "reboot",
"title": "reboot",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"reboot"
]
}
|
Sync database and files to the other controller.
|
failover.unlock |
---|
Arguments:
{
"type": "object",
"properties": {
"pools": {
"_name_": "pools",
"title": "pools",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_keys",
"title": "pool_keys",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"passphrase"
]
}
]
},
"datasets": {
"_name_": "datasets",
"title": "datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "dataset_keys",
"title": "dataset_keys",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"passphrase"
]
}
]
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"pools",
"datasets"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "unlock",
"title": "unlock"
}
|
Unlock datasets in HA, syncing passphrase between controllers and forcing this controller to be MASTER importing the pools. |
failover.update |
---|
Arguments:
{
"type": "object",
"properties": {
"disabled": {
"type": "boolean",
"_name_": "disabled",
"title": "disabled",
"_required_": true,
"description": "`disabled` When true indicates that HA will be disabled."
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": true,
"description": "`timeout` is the time to WAIT until a failover occurs when a network\n event occurs on an interface that is marked critical for failover AND\n HA is enabled and working appropriately."
},
"master": {
"type": [
"boolean",
"null"
],
"_name_": "master",
"title": "master",
"_required_": true,
"description": "`master` Marks the particular node in the chassis as the master node.\n The standby node will have the opposite value."
}
},
"additionalProperties": false,
"_name_": "failover_update",
"title": "failover_entry",
"default": {},
"_attrs_order_": [
"disabled",
"timeout",
"master"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"disabled": {
"type": "boolean",
"_name_": "disabled",
"title": "disabled",
"_required_": true,
"description": "`disabled` When true indicates that HA will be disabled."
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": true,
"description": "`timeout` is the time to WAIT until a failover occurs when a network\n event occurs on an interface that is marked critical for failover AND\n HA is enabled and working appropriately."
},
"master": {
"type": "boolean",
"_name_": "master",
"title": "master",
"_required_": true,
"description": "`master` Marks the particular node in the chassis as the master node.\n The standby node will have the opposite value."
}
},
"additionalProperties": false,
"_name_": "failover_update_returns",
"title": "failover_entry",
"default": {},
"_attrs_order_": [
"id",
"disabled",
"timeout",
"master"
]
}
|
Update failover state.
|
failover.upgrade |
---|
Arguments:
{
"type": "object",
"properties": {
"train": {
"_name_": "train",
"title": "train",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "failover_upgrade",
"title": "failover_upgrade",
"default": {},
"_attrs_order_": [
"train"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "upgrade",
"title": "upgrade"
}
|
Upgrades both controllers. Files will be downloaded to the Active Controller and then transferred to the Standby Controller. Upgrade process will start concurrently on both nodes. Once both upgrades are applied, the Standby Controller will reboot. This job will wait for that job to complete before finalizing. |
failover.upgrade_finish
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Return Arguments:
{
"type": "boolean",
"_name_": "upgrade_finish",
"title": "upgrade_finish"
}
|
Perform the last stage of an HA upgrade. This will activate the new boot environment on the Standby Controller and reboot it. |
failover.upgrade_pending |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "upgrade_pending",
"title": "upgrade_pending"
}
|
Verify if HA upgrade is pending.
|
filesystem.acl_is_trivial |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "paths_acl_is_trivial",
"title": "paths_acl_is_trivial"
}
|
Returns True if the ACL can be fully expressed as a file mode without losing any access rules. Paths on clustered volumes may be specifed with the path prefix
|
filesystem.can_access_as_user |
---|
Arguments:
{
"_name_": "username",
"title": "username",
"type": "string"
}
{
"_name_": "path",
"title": "path",
"type": "string"
}
{
"type": "object",
"properties": {
"read": {
"type": [
"boolean",
"null"
],
"_name_": "read",
"title": "read",
"default": null,
"_required_": false
},
"write": {
"type": [
"boolean",
"null"
],
"_name_": "write",
"title": "write",
"default": null,
"_required_": false
},
"execute": {
"type": [
"boolean",
"null"
],
"_name_": "execute",
"title": "execute",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "permissions",
"title": "permissions",
"default": {},
"_attrs_order_": [
"read",
"write",
"execute"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "can_access_as_user",
"title": "can_access_as_user"
}
|
Check if |
filesystem.chown
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "Change owner or group of file at `path`."
},
"uid": {
"type": [
"integer",
"null"
],
"_name_": "uid",
"title": "uid",
"default": null,
"_required_": false,
"description": "`uid` and `gid` specify new owner of the file. If either\nkey is absent or None, then existing value on the file is not\nchanged."
},
"gid": {
"type": [
"integer",
"null"
],
"_name_": "gid",
"title": "gid",
"default": null,
"_required_": false,
"description": "`uid` and `gid` specify new owner of the file. If either\nkey is absent or None, then existing value on the file is not\nchanged."
},
"options": {
"type": "object",
"properties": {
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"traverse": {
"type": "boolean",
"_name_": "traverse",
"title": "traverse",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_required_": false,
"_attrs_order_": [
"recursive",
"traverse"
]
}
},
"additionalProperties": false,
"_name_": "filesystem_ownership",
"title": "filesystem_ownership",
"default": {},
"_attrs_order_": [
"path",
"uid",
"gid",
"options"
]
}
|
Change owner or group of file at
If |
filesystem.default_acl_choices |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"default": "",
"type": "string"
}
|
Return Arguments:
{
"_name_": "acl_choices",
"title": "acl_choices",
"default": [],
"type": "array",
"items": [
{
"_name_": "choice",
"title": "choice",
"_required_": false,
"type": "string"
}
]
}
|
|
filesystem.get |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
|
Job to get contents of |
filesystem.get_default_acl |
---|
Arguments:
{
"_name_": "acl_type",
"title": "acl_type",
"default": "POSIX_OPEN",
"type": "string"
}
{
"_name_": "share_type",
"title": "share_type",
"default": "NONE",
"type": "string",
"enum": [
"NONE",
"SMB",
"NFS"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null
}
|
|
filesystem.getacl |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
{
"type": "boolean",
"_name_": "simplified",
"title": "simplified",
"default": true,
"description": "`simplified` - effect of this depends on ACL type on underlying filesystem. In the case of\nNFSv4 ACLs simplified permissions and flags are returned for ACL entries where applicable.\nNFSv4 errata below. In the case of POSIX1E ACls, this setting has no impact on returned ACL.\n`simplified` returns a shortened form of the ACL permset and flags where applicable. If permissions\nhave been simplified, then the `perms` object will contain only a single `BASIC` key with a string\ndescribing the underlying permissions set."
}
{
"type": "boolean",
"_name_": "resolve_ids",
"title": "resolve_ids",
"default": false,
"description": "`resolve_ids` - adds additional `who` key to each ACL entry, that converts the numeric id to\na user name or group name. In the case of owner@ and group@ (NFSv4) or USER_OBJ and GROUP_OBJ\n(POSIX1E), st_uid or st_gid will be converted from stat() return for file. In the case of\nMASK (POSIX1E), OTHER (POSIX1E), everyone@ (NFSv4), key `who` will be included, but set to null.\nIn case of failure to resolve the id to a name, `who` will be set to null. This option should\nonly be used if resolving ids to names is required."
}
|
Return Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
},
"trivial": {
"type": "boolean",
"_name_": "trivial",
"title": "trivial",
"_required_": false
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"NFS4",
"POSIX1E",
"DISABLED"
],
"description": "Return ACL of a given path. This may return a POSIX1e ACL or a NFSv4 ACL. The acl type is indicated\nby the `acltype` key."
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "truenas_acl",
"title": "truenas_acl",
"default": {},
"_attrs_order_": [
"path",
"trivial",
"acltype",
"acl"
]
}
|
Return ACL of a given path. This may return a POSIX1e ACL or a NFSv4 ACL. The acl type is indicated
by the
Errata about ACLType NFSv4:
If the permisssions do not fit within one of the pre-defined simplified permissions types, then the full ACL entry will be returned. |
filesystem.is_immutable |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "is_immutable",
"title": "is_immutable"
}
|
Retrieves boolean which is set when immutable flag is set on |
filesystem.listdir |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"realpath": {
"_name_": "realpath",
"title": "realpath",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"DIRECTORY",
"FILESYSTEM",
"SYMLINK",
"OTHER"
]
},
"size": {
"type": [
"integer",
"null"
],
"_name_": "size",
"title": "size",
"_required_": true
},
"mode": {
"type": [
"integer",
"null"
],
"_name_": "mode",
"title": "mode",
"_required_": true
},
"acl": {
"type": [
"boolean",
"null"
],
"_name_": "acl",
"title": "acl",
"_required_": true
},
"uid": {
"type": [
"integer",
"null"
],
"_name_": "uid",
"title": "uid",
"_required_": true
},
"gid": {
"type": [
"integer",
"null"
],
"_name_": "gid",
"title": "gid",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "path_entry",
"title": "path_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"path",
"realpath",
"type",
"size",
"mode",
"acl",
"uid",
"gid"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"realpath": {
"_name_": "realpath",
"title": "realpath",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"DIRECTORY",
"FILESYSTEM",
"SYMLINK",
"OTHER"
]
},
"size": {
"type": [
"integer",
"null"
],
"_name_": "size",
"title": "size",
"_required_": true
},
"mode": {
"type": [
"integer",
"null"
],
"_name_": "mode",
"title": "mode",
"_required_": true
},
"acl": {
"type": [
"boolean",
"null"
],
"_name_": "acl",
"title": "acl",
"_required_": true
},
"uid": {
"type": [
"integer",
"null"
],
"_name_": "uid",
"title": "uid",
"_required_": true
},
"gid": {
"type": [
"integer",
"null"
],
"_name_": "gid",
"title": "gid",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "path_entry",
"title": "path_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"path",
"realpath",
"type",
"size",
"mode",
"acl",
"uid",
"gid"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
Get the contents of a directory. Paths on clustered volumes may be specifed with the path prefix
Each entry of the list consists of: name(str): name of the file path(str): absolute path of the entry realpath(str): absolute real path of the entry (if SYMLINK) type(str): DIRECTORY | FILESYSTEM | SYMLINK | OTHER size(int): size of the entry mode(int): file mode/permission uid(int): user id of entry owner gid(int): group id of entry onwer acl(bool): extended ACL is present on file |
filesystem.mkdir |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"realpath": {
"_name_": "realpath",
"title": "realpath",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"DIRECTORY",
"FILESYSTEM",
"SYMLINK",
"OTHER"
]
},
"size": {
"type": [
"integer",
"null"
],
"_name_": "size",
"title": "size",
"_required_": true
},
"mode": {
"type": [
"integer",
"null"
],
"_name_": "mode",
"title": "mode",
"_required_": true
},
"acl": {
"type": [
"boolean",
"null"
],
"_name_": "acl",
"title": "acl",
"_required_": true
},
"uid": {
"type": [
"integer",
"null"
],
"_name_": "uid",
"title": "uid",
"_required_": true
},
"gid": {
"type": [
"integer",
"null"
],
"_name_": "gid",
"title": "gid",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "path_entry",
"title": "path_entry",
"default": {},
"_attrs_order_": [
"name",
"path",
"realpath",
"type",
"size",
"mode",
"acl",
"uid",
"gid"
]
}
|
Create a directory at the specified path. |
filesystem.put |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
{
"type": "object",
"properties": {
"append": {
"type": "boolean",
"_name_": "append",
"title": "append",
"default": false,
"_required_": false
},
"mode": {
"type": "integer",
"_name_": "mode",
"title": "mode",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"append",
"mode"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_put",
"title": "successful_put"
}
|
Job to put contents to |
filesystem.set_immutable |
---|
Arguments:
{
"type": "boolean",
"_name_": "set_flag",
"title": "set_flag"
}
{
"_name_": "path",
"title": "path",
"type": "string",
"description": "Set/Unset immutable flag at `path`."
}
|
Set/Unset immutable flag at
|
filesystem.setacl
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` full path to directory or file."
},
"uid": {
"type": [
"integer",
"null"
],
"_name_": "uid",
"title": "uid",
"default": null,
"_required_": false,
"description": "`uid` the desired UID of the file user. If set to None (the default), then user is not changed."
},
"gid": {
"type": [
"integer",
"null"
],
"_name_": "gid",
"title": "gid",
"default": null,
"_required_": false,
"description": "`gid` the desired GID of the file group. If set to None (the default), then group is not changed."
},
"dacl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "dacl",
"description": "`dacl` ACL entries. Formatting depends on the underlying `acltype`. NFS4ACL requires\nNFSv4 entries. POSIX1e requires POSIX1e entries.",
"_required_": false
},
"nfs41_flags": {
"type": "object",
"properties": {
"autoinherit": {
"type": "boolean",
"_name_": "autoinherit",
"title": "autoinherit",
"default": false,
"_required_": false
},
"protected": {
"type": "boolean",
"_name_": "protected",
"title": "protected",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "nfs41_flags",
"title": "nfs41_flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"autoinherit",
"protected"
]
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"NFS4",
"POSIX1E",
"DISABLED"
],
"description": "`dacl` ACL entries. Formatting depends on the underlying `acltype`. NFS4ACL requires\nNFSv4 entries. POSIX1e requires POSIX1e entries."
},
"options": {
"type": "object",
"properties": {
"stripacl": {
"type": "boolean",
"_name_": "stripacl",
"title": "stripacl",
"default": false,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"traverse": {
"type": "boolean",
"_name_": "traverse",
"title": "traverse",
"default": false,
"_required_": false
},
"canonicalize": {
"type": "boolean",
"_name_": "canonicalize",
"title": "canonicalize",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_required_": false,
"_attrs_order_": [
"stripacl",
"recursive",
"traverse",
"canonicalize"
]
}
},
"additionalProperties": false,
"_name_": "filesystem_acl",
"title": "filesystem_acl",
"default": {},
"_attrs_order_": [
"path",
"uid",
"gid",
"dacl",
"nfs41_flags",
"acltype",
"options"
]
}
|
Set ACL of a given path. Takes the following parameters:
Paths on clustered volumes may be specifed with the path prefix
For case of NFSv4 ACLs USER_OBJ, GROUP_OBJ, and EVERYONE with owner@, group@, everyone@ for consistency with getfacl and setfacl. If one of aforementioned special tags is used, 'id' must be set to None. An inheriting empty everyone@ ACE is appended to non-trivial ACLs in order to enforce Windows expectations regarding permissions inheritance. This entry is removed from NT ACL returned to SMB clients when 'ixnas' samba VFS module is enabled. |
filesystem.setperm
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "Set unix permissions on given `path`.\n`stripacl` setperm will fail if an extended ACL is present on `path`,\nunless `stripacl` is set to True."
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": false,
"type": [
"string",
"null"
],
"description": "If `mode` is specified then the mode will be applied to the\npath and files and subdirectories depending on which `options` are\nselected. Mode should be formatted as string representation of octal\npermissions bits."
},
"uid": {
"type": [
"integer",
"null"
],
"_name_": "uid",
"title": "uid",
"default": null,
"_required_": false,
"description": "`uid` the desired UID of the file user. If set to None (the default), then user is not changed."
},
"gid": {
"type": [
"integer",
"null"
],
"_name_": "gid",
"title": "gid",
"default": null,
"_required_": false,
"description": "`gid` the desired GID of the file group. If set to None (the default), then group is not changed."
},
"options": {
"type": "object",
"properties": {
"stripacl": {
"type": "boolean",
"_name_": "stripacl",
"title": "stripacl",
"default": false,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"traverse": {
"type": "boolean",
"_name_": "traverse",
"title": "traverse",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_required_": false,
"_attrs_order_": [
"stripacl",
"recursive",
"traverse"
],
"description": "If `mode` is specified then the mode will be applied to the\npath and files and subdirectories depending on which `options` are\nselected. Mode should be formatted as string representation of octal\npermissions bits."
}
},
"additionalProperties": false,
"_name_": "filesystem_permission",
"title": "filesystem_permission",
"default": {},
"_attrs_order_": [
"path",
"mode",
"uid",
"gid",
"options"
]
}
|
Set unix permissions on given Paths on clustered volumes may be specifed with the path prefix
If
If no |
filesystem.stat |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string",
"description": "Return the filesystem stat(2) for a given `path`."
}
|
Return Arguments:
{
"type": "object",
"properties": {
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": true
},
"mode": {
"type": "integer",
"_name_": "mode",
"title": "mode",
"_required_": true
},
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": true
},
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": true
},
"atime": {
"type": "float",
"_name_": "atime",
"title": "atime",
"_required_": true
},
"mtime": {
"type": "float",
"_name_": "mtime",
"title": "mtime",
"_required_": true
},
"ctime": {
"type": "float",
"_name_": "ctime",
"title": "ctime",
"_required_": true
},
"dev": {
"type": "integer",
"_name_": "dev",
"title": "dev",
"_required_": true
},
"inode": {
"type": "integer",
"_name_": "inode",
"title": "inode",
"_required_": true
},
"nlink": {
"type": "integer",
"_name_": "nlink",
"title": "nlink",
"_required_": true
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": [
"string",
"null"
]
},
"group": {
"_name_": "group",
"title": "group",
"_required_": true,
"type": [
"string",
"null"
]
},
"acl": {
"type": "boolean",
"_name_": "acl",
"title": "acl",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "path_stats",
"title": "path_stats",
"default": {},
"_attrs_order_": [
"size",
"mode",
"uid",
"gid",
"atime",
"mtime",
"ctime",
"dev",
"inode",
"nlink",
"user",
"group",
"acl"
]
}
|
Return the filesystem stat(2) for a given Paths on clustered volumes may be specifed with the path prefix
|
filesystem.statfs |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"fsid": {
"_name_": "fsid",
"title": "fsid",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"fstype": {
"_name_": "fstype",
"title": "fstype",
"_required_": true,
"type": "string"
},
"source": {
"_name_": "source",
"title": "source",
"_required_": true,
"type": "string"
},
"dest": {
"_name_": "dest",
"title": "dest",
"_required_": true,
"type": "string"
},
"blocksize": {
"type": "integer",
"_name_": "blocksize",
"title": "blocksize",
"_required_": true
},
"total_blocks": {
"type": "integer",
"_name_": "total_blocks",
"title": "total_blocks",
"_required_": true
},
"free_blocks": {
"type": "integer",
"_name_": "free_blocks",
"title": "free_blocks",
"_required_": true
},
"avail_blocks": {
"type": "integer",
"_name_": "avail_blocks",
"title": "avail_blocks",
"_required_": true
},
"files": {
"type": "integer",
"_name_": "files",
"title": "files",
"_required_": true
},
"free_files": {
"type": "integer",
"_name_": "free_files",
"title": "free_files",
"_required_": true
},
"name_max": {
"type": "integer",
"_name_": "name_max",
"title": "name_max",
"_required_": true
},
"total_bytes": {
"type": "integer",
"_name_": "total_bytes",
"title": "total_bytes",
"_required_": true
},
"free_bytes": {
"type": "integer",
"_name_": "free_bytes",
"title": "free_bytes",
"_required_": true
},
"avail_bytes": {
"type": "integer",
"_name_": "avail_bytes",
"title": "avail_bytes",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "path_statfs",
"title": "path_statfs",
"default": {},
"_attrs_order_": [
"flags",
"fsid",
"fstype",
"source",
"dest",
"blocksize",
"total_blocks",
"free_blocks",
"avail_blocks",
"files",
"free_files",
"name_max",
"total_bytes",
"free_bytes",
"avail_bytes"
]
}
|
Return stats from the filesystem of a given path. Paths on clustered volumes may be specifed with the path prefix
Raises: CallError(ENOENT) - Path not found |
filesystem.acltemplate.by_path |
---|
Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"default": "",
"_required_": false,
"type": "string",
"description": "Retrieve list of available ACL templates for a given `path`."
},
"query-filters": {
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"query-options": {
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_required_": false,
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
},
"format-options": {
"type": "object",
"properties": {
"canonicalize": {
"type": "boolean",
"_name_": "canonicalize",
"title": "canonicalize",
"default": false,
"_required_": false
},
"ensure_builtins": {
"type": "boolean",
"_name_": "ensure_builtins",
"title": "ensure_builtins",
"default": false,
"_required_": false
},
"resolve_names": {
"type": "boolean",
"_name_": "resolve_names",
"title": "resolve_names",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "format-options",
"title": "format-options",
"default": {},
"_required_": false,
"_attrs_order_": [
"canonicalize",
"ensure_builtins",
"resolve_names"
]
}
},
"additionalProperties": false,
"_name_": "acltemplate_by_path",
"title": "acltemplate_by_path",
"default": {},
"_attrs_order_": [
"path",
"query-filters",
"query-options",
"format-options"
]
}
|
Return Arguments:
{
"_name_": "templates",
"title": "templates",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_entry",
"title": "acltemplate_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
}
]
}
|
Retrieve list of available ACL templates for a given Supports
|
filesystem.acltemplate.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_create",
"title": "acltemplate_create",
"default": {},
"_attrs_order_": [
"name",
"acltype",
"acl"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "filesystem_acltemplate_create_returns",
"title": "acltemplate_create",
"default": {},
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
}
|
Create a new filesystem ACL template. |
filesystem.acltemplate.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
- |
filesystem.acltemplate.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_entry",
"title": "acltemplate_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_entry",
"title": "acltemplate_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_entry",
"title": "acltemplate_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
filesystem.acltemplate.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_update",
"title": "acltemplate_create",
"default": {},
"_attrs_order_": [
"name",
"acltype",
"acl"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "filesystem_acltemplate_update_returns",
"title": "acltemplate_create",
"default": {},
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
}
|
update filesystem ACL template with |
ftp.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"clients": {
"type": "integer",
"_name_": "clients",
"title": "clients",
"_required_": true
},
"ipconnections": {
"type": "integer",
"_name_": "ipconnections",
"title": "ipconnections",
"_required_": true
},
"loginattempt": {
"type": "integer",
"_name_": "loginattempt",
"title": "loginattempt",
"_required_": true
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": true
},
"timeout_notransfer": {
"type": "integer",
"_name_": "timeout_notransfer",
"title": "timeout_notransfer",
"_required_": false
},
"rootlogin": {
"type": "boolean",
"_name_": "rootlogin",
"title": "rootlogin",
"_required_": true
},
"onlyanonymous": {
"type": "boolean",
"_name_": "onlyanonymous",
"title": "onlyanonymous",
"_required_": true
},
"anonpath": {
"_name_": "anonpath",
"title": "anonpath",
"_required_": true,
"type": [
"string",
"null"
]
},
"onlylocal": {
"type": "boolean",
"_name_": "onlylocal",
"title": "onlylocal",
"_required_": true
},
"banner": {
"_name_": "banner",
"title": "banner",
"_required_": true,
"type": "string"
},
"filemask": {
"_name_": "filemask",
"title": "filemask",
"_required_": true,
"type": "string"
},
"dirmask": {
"_name_": "dirmask",
"title": "dirmask",
"_required_": true,
"type": "string"
},
"fxp": {
"type": "boolean",
"_name_": "fxp",
"title": "fxp",
"_required_": true
},
"resume": {
"type": "boolean",
"_name_": "resume",
"title": "resume",
"_required_": true
},
"defaultroot": {
"type": "boolean",
"_name_": "defaultroot",
"title": "defaultroot",
"_required_": true
},
"ident": {
"type": "boolean",
"_name_": "ident",
"title": "ident",
"_required_": true
},
"reversedns": {
"type": "boolean",
"_name_": "reversedns",
"title": "reversedns",
"_required_": true
},
"masqaddress": {
"_name_": "masqaddress",
"title": "masqaddress",
"_required_": true,
"type": "string"
},
"passiveportsmin": {
"type": "integer",
"_name_": "passiveportsmin",
"title": "passiveportsmin",
"_required_": true
},
"passiveportsmax": {
"type": "integer",
"_name_": "passiveportsmax",
"title": "passiveportsmax",
"_required_": true
},
"localuserbw": {
"type": "integer",
"_name_": "localuserbw",
"title": "localuserbw",
"_required_": true
},
"localuserdlbw": {
"type": "integer",
"_name_": "localuserdlbw",
"title": "localuserdlbw",
"_required_": true
},
"anonuserbw": {
"type": "integer",
"_name_": "anonuserbw",
"title": "anonuserbw",
"_required_": true
},
"anonuserdlbw": {
"type": "integer",
"_name_": "anonuserdlbw",
"title": "anonuserdlbw",
"_required_": true
},
"tls": {
"type": "boolean",
"_name_": "tls",
"title": "tls",
"_required_": true
},
"tls_policy": {
"_name_": "tls_policy",
"title": "tls_policy",
"_required_": true,
"type": "string",
"enum": [
"on",
"off",
"data",
"!data",
"auth",
"ctrl",
"ctrl+data",
"ctrl+!data",
"auth+data",
"auth+!data"
]
},
"tls_opt_allow_client_renegotiations": {
"type": "boolean",
"_name_": "tls_opt_allow_client_renegotiations",
"title": "tls_opt_allow_client_renegotiations",
"_required_": true
},
"tls_opt_allow_dot_login": {
"type": "boolean",
"_name_": "tls_opt_allow_dot_login",
"title": "tls_opt_allow_dot_login",
"_required_": true
},
"tls_opt_allow_per_user": {
"type": "boolean",
"_name_": "tls_opt_allow_per_user",
"title": "tls_opt_allow_per_user",
"_required_": true
},
"tls_opt_common_name_required": {
"type": "boolean",
"_name_": "tls_opt_common_name_required",
"title": "tls_opt_common_name_required",
"_required_": true
},
"tls_opt_enable_diags": {
"type": "boolean",
"_name_": "tls_opt_enable_diags",
"title": "tls_opt_enable_diags",
"_required_": true
},
"tls_opt_export_cert_data": {
"type": "boolean",
"_name_": "tls_opt_export_cert_data",
"title": "tls_opt_export_cert_data",
"_required_": true
},
"tls_opt_no_cert_request": {
"type": "boolean",
"_name_": "tls_opt_no_cert_request",
"title": "tls_opt_no_cert_request",
"_required_": true
},
"tls_opt_no_empty_fragments": {
"type": "boolean",
"_name_": "tls_opt_no_empty_fragments",
"title": "tls_opt_no_empty_fragments",
"_required_": true
},
"tls_opt_no_session_reuse_required": {
"type": "boolean",
"_name_": "tls_opt_no_session_reuse_required",
"title": "tls_opt_no_session_reuse_required",
"_required_": true
},
"tls_opt_stdenvvars": {
"type": "boolean",
"_name_": "tls_opt_stdenvvars",
"title": "tls_opt_stdenvvars",
"_required_": true
},
"tls_opt_dns_name_required": {
"type": "boolean",
"_name_": "tls_opt_dns_name_required",
"title": "tls_opt_dns_name_required",
"_required_": true
},
"tls_opt_ip_address_required": {
"type": "boolean",
"_name_": "tls_opt_ip_address_required",
"title": "tls_opt_ip_address_required",
"_required_": true
},
"ssltls_certificate": {
"type": [
"integer",
"null"
],
"_name_": "ssltls_certificate",
"title": "ssltls_certificate",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ftp_entry",
"title": "ftp_entry",
"default": {},
"_attrs_order_": [
"port",
"clients",
"ipconnections",
"loginattempt",
"timeout",
"timeout_notransfer",
"rootlogin",
"onlyanonymous",
"anonpath",
"onlylocal",
"banner",
"filemask",
"dirmask",
"fxp",
"resume",
"defaultroot",
"ident",
"reversedns",
"masqaddress",
"passiveportsmin",
"passiveportsmax",
"localuserbw",
"localuserdlbw",
"anonuserbw",
"anonuserdlbw",
"tls",
"tls_policy",
"tls_opt_allow_client_renegotiations",
"tls_opt_allow_dot_login",
"tls_opt_allow_per_user",
"tls_opt_common_name_required",
"tls_opt_enable_diags",
"tls_opt_export_cert_data",
"tls_opt_no_cert_request",
"tls_opt_no_empty_fragments",
"tls_opt_no_session_reuse_required",
"tls_opt_stdenvvars",
"tls_opt_dns_name_required",
"tls_opt_ip_address_required",
"ssltls_certificate",
"options",
"id"
]
}
|
- |
ftp.update |
---|
Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"clients": {
"type": "integer",
"_name_": "clients",
"title": "clients",
"_required_": true,
"description": "`clients` is an integer value which sets the maximum number of simultaneous clients allowed. It defaults to 32."
},
"ipconnections": {
"type": "integer",
"_name_": "ipconnections",
"title": "ipconnections",
"_required_": true,
"description": "`ipconnections` is an integer value which shows the maximum number of connections per IP address. It defaults\nto 0 which equals to unlimited."
},
"loginattempt": {
"type": "integer",
"_name_": "loginattempt",
"title": "loginattempt",
"_required_": true
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": true,
"description": "`timeout` is the maximum number of seconds that proftpd will allow clients to stay connected without receiving\nany data on either the control or data connection."
},
"timeout_notransfer": {
"type": "integer",
"_name_": "timeout_notransfer",
"title": "timeout_notransfer",
"_required_": false,
"description": "`timeout_notransfer` is the maximum number of seconds a client is allowed to spend connected, after\nauthentication, without issuing a command which results in creating an active or passive data connection\n(i.e. sending/receiving a file, or receiving a directory listing)."
},
"rootlogin": {
"type": "boolean",
"_name_": "rootlogin",
"title": "rootlogin",
"_required_": true,
"description": "`rootlogin` is a boolean value which when configured to true enables login as root. This is generally\ndiscouraged because of the security risks."
},
"onlyanonymous": {
"type": "boolean",
"_name_": "onlyanonymous",
"title": "onlyanonymous",
"_required_": true,
"description": "`onlyanonymous` allows anonymous FTP logins with access to the directory specified by `anonpath`."
},
"anonpath": {
"_name_": "anonpath",
"title": "anonpath",
"_required_": true,
"type": [
"string",
"null"
],
"description": "`onlyanonymous` allows anonymous FTP logins with access to the directory specified by `anonpath`."
},
"onlylocal": {
"type": "boolean",
"_name_": "onlylocal",
"title": "onlylocal",
"_required_": true
},
"banner": {
"_name_": "banner",
"title": "banner",
"_required_": true,
"type": "string",
"description": "`banner` is a message displayed to local login users after they successfully authenticate. It is not displayed\nto anonymous login users."
},
"filemask": {
"_name_": "filemask",
"title": "filemask",
"_required_": true,
"type": "string",
"description": "`filemask` sets the default permissions for newly created files which by default are 077."
},
"dirmask": {
"_name_": "dirmask",
"title": "dirmask",
"_required_": true,
"type": "string",
"description": "`dirmask` sets the default permissions for newly created directories which by default are 077."
},
"fxp": {
"type": "boolean",
"_name_": "fxp",
"title": "fxp",
"_required_": true,
"description": "`fxp` if set to true indicates that File eXchange Protocol is enabled. Generally it is discouraged as it\nmakes the server vulnerable to FTP bounce attacks."
},
"resume": {
"type": "boolean",
"_name_": "resume",
"title": "resume",
"_required_": true,
"description": "`resume` if set allows FTP clients to resume interrupted transfers."
},
"defaultroot": {
"type": "boolean",
"_name_": "defaultroot",
"title": "defaultroot",
"_required_": true,
"description": "`defaultroot` when set ensures that for local users, home directory access is only granted if the user\nis a member of group wheel."
},
"ident": {
"type": "boolean",
"_name_": "ident",
"title": "ident",
"_required_": true,
"description": "`ident` is a boolean value which when set to true indicates that IDENT authentication is required. If identd\nis not running on the client, this can result in timeouts."
},
"reversedns": {
"type": "boolean",
"_name_": "reversedns",
"title": "reversedns",
"_required_": true
},
"masqaddress": {
"_name_": "masqaddress",
"title": "masqaddress",
"_required_": true,
"type": "string",
"description": "`masqaddress` is the public IP address or hostname which is set if FTP clients cannot connect through a\nNAT device."
},
"passiveportsmin": {
"type": "integer",
"_name_": "passiveportsmin",
"title": "passiveportsmin",
"_required_": true
},
"passiveportsmax": {
"type": "integer",
"_name_": "passiveportsmax",
"title": "passiveportsmax",
"_required_": true
},
"localuserbw": {
"type": "integer",
"_name_": "localuserbw",
"title": "localuserbw",
"_required_": true,
"description": "`localuserbw` is a positive integer value which indicates maximum upload bandwidth in KB/s for local user.\nDefault of zero indicates unlimited upload bandwidth ( from the FTP server configuration )."
},
"localuserdlbw": {
"type": "integer",
"_name_": "localuserdlbw",
"title": "localuserdlbw",
"_required_": true,
"description": "`localuserdlbw` is a positive integer value which indicates maximum download bandwidth in KB/s for local user.\nDefault of zero indicates unlimited download bandwidth ( from the FTP server configuration )."
},
"anonuserbw": {
"type": "integer",
"_name_": "anonuserbw",
"title": "anonuserbw",
"_required_": true,
"description": "`anonuserbw` is a positive integer value which indicates maximum upload bandwidth in KB/s for anonymous user.\nDefault of zero indicates unlimited upload bandwidth ( from the FTP server configuration )."
},
"anonuserdlbw": {
"type": "integer",
"_name_": "anonuserdlbw",
"title": "anonuserdlbw",
"_required_": true,
"description": "`anonuserdlbw` is a positive integer value which indicates maximum download bandwidth in KB/s for anonymous\nuser. Default of zero indicates unlimited download bandwidth ( from the FTP server configuration )."
},
"tls": {
"type": "boolean",
"_name_": "tls",
"title": "tls",
"_required_": true,
"description": "`tls` is a boolean value which when set indicates that encrypted connections are enabled. This requires a\ncertificate to be configured first with the certificate service and the id of certificate is passed on in"
},
"tls_policy": {
"_name_": "tls_policy",
"title": "tls_policy",
"_required_": true,
"type": "string",
"enum": [
"on",
"off",
"data",
"!data",
"auth",
"ctrl",
"ctrl+data",
"ctrl+!data",
"auth+data",
"auth+!data"
],
"description": "`tls_policy` defines whether the control channel, data channel, both channels, or neither channel of an FTP\nsession must occur over SSL/TLS."
},
"tls_opt_allow_client_renegotiations": {
"type": "boolean",
"_name_": "tls_opt_allow_client_renegotiations",
"title": "tls_opt_allow_client_renegotiations",
"_required_": true
},
"tls_opt_allow_dot_login": {
"type": "boolean",
"_name_": "tls_opt_allow_dot_login",
"title": "tls_opt_allow_dot_login",
"_required_": true
},
"tls_opt_allow_per_user": {
"type": "boolean",
"_name_": "tls_opt_allow_per_user",
"title": "tls_opt_allow_per_user",
"_required_": true
},
"tls_opt_common_name_required": {
"type": "boolean",
"_name_": "tls_opt_common_name_required",
"title": "tls_opt_common_name_required",
"_required_": true
},
"tls_opt_enable_diags": {
"type": "boolean",
"_name_": "tls_opt_enable_diags",
"title": "tls_opt_enable_diags",
"_required_": true,
"description": "`tls_opt_enable_diags` is a boolean value when set, logs verbosely. This is helpful when troubleshooting a\nconnection."
},
"tls_opt_export_cert_data": {
"type": "boolean",
"_name_": "tls_opt_export_cert_data",
"title": "tls_opt_export_cert_data",
"_required_": true
},
"tls_opt_no_cert_request": {
"type": "boolean",
"_name_": "tls_opt_no_cert_request",
"title": "tls_opt_no_cert_request",
"_required_": true
},
"tls_opt_no_empty_fragments": {
"type": "boolean",
"_name_": "tls_opt_no_empty_fragments",
"title": "tls_opt_no_empty_fragments",
"_required_": true
},
"tls_opt_no_session_reuse_required": {
"type": "boolean",
"_name_": "tls_opt_no_session_reuse_required",
"title": "tls_opt_no_session_reuse_required",
"_required_": true
},
"tls_opt_stdenvvars": {
"type": "boolean",
"_name_": "tls_opt_stdenvvars",
"title": "tls_opt_stdenvvars",
"_required_": true
},
"tls_opt_dns_name_required": {
"type": "boolean",
"_name_": "tls_opt_dns_name_required",
"title": "tls_opt_dns_name_required",
"_required_": true
},
"tls_opt_ip_address_required": {
"type": "boolean",
"_name_": "tls_opt_ip_address_required",
"title": "tls_opt_ip_address_required",
"_required_": true
},
"ssltls_certificate": {
"type": [
"integer",
"null"
],
"_name_": "ssltls_certificate",
"title": "ssltls_certificate",
"_required_": true,
"description": "`ssltls_certificate`."
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ftp_update",
"title": "ftp_entry",
"default": {},
"_attrs_order_": [
"port",
"clients",
"ipconnections",
"loginattempt",
"timeout",
"timeout_notransfer",
"rootlogin",
"onlyanonymous",
"anonpath",
"onlylocal",
"banner",
"filemask",
"dirmask",
"fxp",
"resume",
"defaultroot",
"ident",
"reversedns",
"masqaddress",
"passiveportsmin",
"passiveportsmax",
"localuserbw",
"localuserdlbw",
"anonuserbw",
"anonuserdlbw",
"tls",
"tls_policy",
"tls_opt_allow_client_renegotiations",
"tls_opt_allow_dot_login",
"tls_opt_allow_per_user",
"tls_opt_common_name_required",
"tls_opt_enable_diags",
"tls_opt_export_cert_data",
"tls_opt_no_cert_request",
"tls_opt_no_empty_fragments",
"tls_opt_no_session_reuse_required",
"tls_opt_stdenvvars",
"tls_opt_dns_name_required",
"tls_opt_ip_address_required",
"ssltls_certificate",
"options"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"clients": {
"type": "integer",
"_name_": "clients",
"title": "clients",
"_required_": true,
"description": "`clients` is an integer value which sets the maximum number of simultaneous clients allowed. It defaults to 32."
},
"ipconnections": {
"type": "integer",
"_name_": "ipconnections",
"title": "ipconnections",
"_required_": true,
"description": "`ipconnections` is an integer value which shows the maximum number of connections per IP address. It defaults\nto 0 which equals to unlimited."
},
"loginattempt": {
"type": "integer",
"_name_": "loginattempt",
"title": "loginattempt",
"_required_": true
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"_required_": true,
"description": "`timeout` is the maximum number of seconds that proftpd will allow clients to stay connected without receiving\nany data on either the control or data connection."
},
"timeout_notransfer": {
"type": "integer",
"_name_": "timeout_notransfer",
"title": "timeout_notransfer",
"_required_": false,
"description": "`timeout_notransfer` is the maximum number of seconds a client is allowed to spend connected, after\nauthentication, without issuing a command which results in creating an active or passive data connection\n(i.e. sending/receiving a file, or receiving a directory listing)."
},
"rootlogin": {
"type": "boolean",
"_name_": "rootlogin",
"title": "rootlogin",
"_required_": true,
"description": "`rootlogin` is a boolean value which when configured to true enables login as root. This is generally\ndiscouraged because of the security risks."
},
"onlyanonymous": {
"type": "boolean",
"_name_": "onlyanonymous",
"title": "onlyanonymous",
"_required_": true,
"description": "`onlyanonymous` allows anonymous FTP logins with access to the directory specified by `anonpath`."
},
"anonpath": {
"_name_": "anonpath",
"title": "anonpath",
"_required_": true,
"type": [
"string",
"null"
],
"description": "`onlyanonymous` allows anonymous FTP logins with access to the directory specified by `anonpath`."
},
"onlylocal": {
"type": "boolean",
"_name_": "onlylocal",
"title": "onlylocal",
"_required_": true
},
"banner": {
"_name_": "banner",
"title": "banner",
"_required_": true,
"type": "string",
"description": "`banner` is a message displayed to local login users after they successfully authenticate. It is not displayed\nto anonymous login users."
},
"filemask": {
"_name_": "filemask",
"title": "filemask",
"_required_": true,
"type": "string",
"description": "`filemask` sets the default permissions for newly created files which by default are 077."
},
"dirmask": {
"_name_": "dirmask",
"title": "dirmask",
"_required_": true,
"type": "string",
"description": "`dirmask` sets the default permissions for newly created directories which by default are 077."
},
"fxp": {
"type": "boolean",
"_name_": "fxp",
"title": "fxp",
"_required_": true,
"description": "`fxp` if set to true indicates that File eXchange Protocol is enabled. Generally it is discouraged as it\nmakes the server vulnerable to FTP bounce attacks."
},
"resume": {
"type": "boolean",
"_name_": "resume",
"title": "resume",
"_required_": true,
"description": "`resume` if set allows FTP clients to resume interrupted transfers."
},
"defaultroot": {
"type": "boolean",
"_name_": "defaultroot",
"title": "defaultroot",
"_required_": true,
"description": "`defaultroot` when set ensures that for local users, home directory access is only granted if the user\nis a member of group wheel."
},
"ident": {
"type": "boolean",
"_name_": "ident",
"title": "ident",
"_required_": true,
"description": "`ident` is a boolean value which when set to true indicates that IDENT authentication is required. If identd\nis not running on the client, this can result in timeouts."
},
"reversedns": {
"type": "boolean",
"_name_": "reversedns",
"title": "reversedns",
"_required_": true
},
"masqaddress": {
"_name_": "masqaddress",
"title": "masqaddress",
"_required_": true,
"type": "string",
"description": "`masqaddress` is the public IP address or hostname which is set if FTP clients cannot connect through a\nNAT device."
},
"passiveportsmin": {
"type": "integer",
"_name_": "passiveportsmin",
"title": "passiveportsmin",
"_required_": true
},
"passiveportsmax": {
"type": "integer",
"_name_": "passiveportsmax",
"title": "passiveportsmax",
"_required_": true
},
"localuserbw": {
"type": "integer",
"_name_": "localuserbw",
"title": "localuserbw",
"_required_": true,
"description": "`localuserbw` is a positive integer value which indicates maximum upload bandwidth in KB/s for local user.\nDefault of zero indicates unlimited upload bandwidth ( from the FTP server configuration )."
},
"localuserdlbw": {
"type": "integer",
"_name_": "localuserdlbw",
"title": "localuserdlbw",
"_required_": true,
"description": "`localuserdlbw` is a positive integer value which indicates maximum download bandwidth in KB/s for local user.\nDefault of zero indicates unlimited download bandwidth ( from the FTP server configuration )."
},
"anonuserbw": {
"type": "integer",
"_name_": "anonuserbw",
"title": "anonuserbw",
"_required_": true,
"description": "`anonuserbw` is a positive integer value which indicates maximum upload bandwidth in KB/s for anonymous user.\nDefault of zero indicates unlimited upload bandwidth ( from the FTP server configuration )."
},
"anonuserdlbw": {
"type": "integer",
"_name_": "anonuserdlbw",
"title": "anonuserdlbw",
"_required_": true,
"description": "`anonuserdlbw` is a positive integer value which indicates maximum download bandwidth in KB/s for anonymous\nuser. Default of zero indicates unlimited download bandwidth ( from the FTP server configuration )."
},
"tls": {
"type": "boolean",
"_name_": "tls",
"title": "tls",
"_required_": true,
"description": "`tls` is a boolean value which when set indicates that encrypted connections are enabled. This requires a\ncertificate to be configured first with the certificate service and the id of certificate is passed on in"
},
"tls_policy": {
"_name_": "tls_policy",
"title": "tls_policy",
"_required_": true,
"type": "string",
"enum": [
"on",
"off",
"data",
"!data",
"auth",
"ctrl",
"ctrl+data",
"ctrl+!data",
"auth+data",
"auth+!data"
],
"description": "`tls_policy` defines whether the control channel, data channel, both channels, or neither channel of an FTP\nsession must occur over SSL/TLS."
},
"tls_opt_allow_client_renegotiations": {
"type": "boolean",
"_name_": "tls_opt_allow_client_renegotiations",
"title": "tls_opt_allow_client_renegotiations",
"_required_": true
},
"tls_opt_allow_dot_login": {
"type": "boolean",
"_name_": "tls_opt_allow_dot_login",
"title": "tls_opt_allow_dot_login",
"_required_": true
},
"tls_opt_allow_per_user": {
"type": "boolean",
"_name_": "tls_opt_allow_per_user",
"title": "tls_opt_allow_per_user",
"_required_": true
},
"tls_opt_common_name_required": {
"type": "boolean",
"_name_": "tls_opt_common_name_required",
"title": "tls_opt_common_name_required",
"_required_": true
},
"tls_opt_enable_diags": {
"type": "boolean",
"_name_": "tls_opt_enable_diags",
"title": "tls_opt_enable_diags",
"_required_": true,
"description": "`tls_opt_enable_diags` is a boolean value when set, logs verbosely. This is helpful when troubleshooting a\nconnection."
},
"tls_opt_export_cert_data": {
"type": "boolean",
"_name_": "tls_opt_export_cert_data",
"title": "tls_opt_export_cert_data",
"_required_": true
},
"tls_opt_no_cert_request": {
"type": "boolean",
"_name_": "tls_opt_no_cert_request",
"title": "tls_opt_no_cert_request",
"_required_": true
},
"tls_opt_no_empty_fragments": {
"type": "boolean",
"_name_": "tls_opt_no_empty_fragments",
"title": "tls_opt_no_empty_fragments",
"_required_": true
},
"tls_opt_no_session_reuse_required": {
"type": "boolean",
"_name_": "tls_opt_no_session_reuse_required",
"title": "tls_opt_no_session_reuse_required",
"_required_": true
},
"tls_opt_stdenvvars": {
"type": "boolean",
"_name_": "tls_opt_stdenvvars",
"title": "tls_opt_stdenvvars",
"_required_": true
},
"tls_opt_dns_name_required": {
"type": "boolean",
"_name_": "tls_opt_dns_name_required",
"title": "tls_opt_dns_name_required",
"_required_": true
},
"tls_opt_ip_address_required": {
"type": "boolean",
"_name_": "tls_opt_ip_address_required",
"title": "tls_opt_ip_address_required",
"_required_": true
},
"ssltls_certificate": {
"type": [
"integer",
"null"
],
"_name_": "ssltls_certificate",
"title": "ssltls_certificate",
"_required_": true,
"description": "`ssltls_certificate`."
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ftp_update_returns",
"title": "ftp_entry",
"default": {},
"_attrs_order_": [
"port",
"clients",
"ipconnections",
"loginattempt",
"timeout",
"timeout_notransfer",
"rootlogin",
"onlyanonymous",
"anonpath",
"onlylocal",
"banner",
"filemask",
"dirmask",
"fxp",
"resume",
"defaultroot",
"ident",
"reversedns",
"masqaddress",
"passiveportsmin",
"passiveportsmax",
"localuserbw",
"localuserdlbw",
"anonuserbw",
"anonuserdlbw",
"tls",
"tls_policy",
"tls_opt_allow_client_renegotiations",
"tls_opt_allow_dot_login",
"tls_opt_allow_per_user",
"tls_opt_common_name_required",
"tls_opt_enable_diags",
"tls_opt_export_cert_data",
"tls_opt_no_cert_request",
"tls_opt_no_empty_fragments",
"tls_opt_no_session_reuse_required",
"tls_opt_stdenvvars",
"tls_opt_dns_name_required",
"tls_opt_ip_address_required",
"ssltls_certificate",
"options",
"id"
]
}
|
Update ftp service configuration.
|
gluster.eventsd.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"url": {
"_name_": "url",
"title": "url",
"_required_": true,
"type": "string",
"description": "Add `url` webhook that will be called\nwith a JSON formatted POST request that\nwill include the event that was triggered\nalong with the relevant data.\n`url` is a http address (i.e. http://192.168.1.50/endpoint)"
},
"bearer_token": {
"_name_": "bearer_token",
"title": "bearer_token",
"_required_": false,
"type": "string",
"description": "`bearer_token` is a bearer token"
},
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": false,
"type": "string",
"description": "`secret` secret to encode the JWT message"
}
},
"additionalProperties": false,
"_name_": "webhook_create",
"title": "webhook_create",
"default": {},
"_attrs_order_": [
"url",
"bearer_token",
"secret"
]
}
|
Add
NOTE: This webhook will be synchronized to all peers in the trusted storage pool. |
gluster.eventsd.delete
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"url": {
"_name_": "url",
"title": "url",
"_required_": true,
"type": "string",
"description": "Delete `url` webhook"
}
},
"additionalProperties": false,
"_name_": "webhook_delete",
"title": "webhook_delete",
"default": {},
"_attrs_order_": [
"url"
]
}
|
Delete
|
gluster.eventsd.sync
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Sync the webhooks config file to all peers in the trusted storage pool |
gluster.eventsd.webhooks |
---|
List the current webhooks (if any) |
gluster.fuse.is_mounted |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "glusterfuse_mounted",
"title": "glusterfuse_mounted",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Check if gluster volume is FUSE mounted locally.
|
gluster.fuse.mount
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"default": null,
"_required_": false,
"type": "string",
"description": "`name` String representing the name of the gluster volume"
},
"all": {
"type": "boolean",
"_name_": "all",
"title": "all",
"default": false,
"_required_": false,
"description": "`all` Boolean if True locally FUSE mount all detected\n gluster volumes"
},
"raise": {
"type": "boolean",
"_name_": "raise",
"title": "raise",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "gluserfuse_mount",
"title": "gluserfuse_mount",
"default": {},
"_attrs_order_": [
"name",
"all",
"raise"
]
}
|
Mount a gluster volume using the gluster FUSE client.
|
gluster.fuse.umount
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"default": null,
"_required_": false,
"type": "string",
"description": "`name` String representing the name of the gluster volume"
},
"all": {
"type": "boolean",
"_name_": "all",
"title": "all",
"default": false,
"_required_": false,
"description": "`all` Boolean if True umount all locally detected FUSE\n mounted gluster volumes"
},
"raise": {
"type": "boolean",
"_name_": "raise",
"title": "raise",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "glusterfuse_umount",
"title": "glusterfuse_umount",
"default": {},
"_attrs_order_": [
"name",
"all",
"raise"
]
}
|
Unmount a locally FUSE mounted gluster volume.
|
gluster.localevents.add_jwt_secret |
---|
Arguments:
{
"type": "object",
"properties": {
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": true,
"type": "string",
"description": "Add a `secret` key used to encode/decode\nJWT messages for sending/receiving gluster\nevents.\n`secret` String representing the key to be used\n to encode/decode JWT messages"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false,
"description": "`force` Boolean if set to True, will forcefully\n wipe any existing jwt key for this\n peer. Note, if forcefully adding a\n new key, the other peers in the TSP\n will also need to be sent this key."
}
},
"additionalProperties": false,
"_name_": "add_secret",
"title": "add_secret",
"default": {},
"_attrs_order_": [
"secret",
"force"
]
}
|
Add a
Note: this secret is only used for messages that are destined for the api endpoint at http://*:6000/_clusterevents for each peer in the trusted storage pool. |
gluster.localevents.get_set_jwt_secret |
---|
Return the secret key used to encode/decode JWT messages for sending/receiving gluster events. Note: this secret is only used for messages that are destined for the api endpoint at http://*:6000/_clusterevents for each peer in the trusted storage pool. |
gluster.peer.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "peer_create",
"title": "peer_create",
"default": {},
"_attrs_order_": [
"hostname"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_peer_create_returns",
"title": "gluster_peer_entry",
"default": {},
"_attrs_order_": []
}
|
Add peer to the Trusted Storage Pool.
|
gluster.peer.delete
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Remove peer of `id` from the Trusted Storage Pool."
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Remove peer of
|
gluster.peer.ips_available |
---|
Return list of VIP(v4/v6) addresses available on the system |
gluster.peer.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_peer_entry",
"title": "gluster_peer_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_peer_entry",
"title": "gluster_peer_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_peer_entry",
"title": "gluster_peer_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
gluster.peer.status |
---|
Arguments:
{
"type": "object",
"properties": {
"localhost": {
"type": "boolean",
"_name_": "localhost",
"title": "localhost",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "peer_status",
"title": "peer_status",
"default": {},
"_attrs_order_": [
"localhost"
]
}
|
List the status of peers in the Trusted Storage Pool.
|
gluster.rebalance.fix_layout
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rebalance_fix_layout",
"title": "rebalance_fix_layout",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Start a fix-layout operation for a given gluster volume.
|
gluster.rebalance.start
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing the gluster volume."
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rebalance_start",
"title": "rebalance_start",
"default": {},
"_attrs_order_": [
"name",
"force"
]
}
|
Start a rebalance operation for a given gluster volume.
|
gluster.rebalance.status
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rebalance_status",
"title": "rebalance_status",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Return the status of a rebalance operation for a given gluster volume.
|
gluster.rebalance.stop
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rebalance_stop",
"title": "rebalance_stop",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Stop a rebalance operation for a given gluster volume.
|
gluster.volume.addbrick |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"bricks": {
"_name_": "bricks",
"title": "bricks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"peer_name": {
"_name_": "peer_name",
"title": "peer_name",
"_required_": true,
"type": "string"
},
"peer_path": {
"_name_": "peer_path",
"title": "peer_path",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "brick",
"title": "brick",
"default": {},
"_required_": false,
"_attrs_order_": [
"peer_name",
"peer_path"
]
}
],
"description": "`bricks` List representing the brick paths\n `peer_name` String representing IP or DNS name of the peer\n `peer_path` String representing the full path of the brick"
},
"replica": {
"type": "integer",
"_name_": "replica",
"title": "replica",
"_required_": false,
"description": "`replica` Integer replicating replica count"
},
"arbiter": {
"type": "integer",
"_name_": "arbiter",
"title": "arbiter",
"_required_": false,
"description": "`arbiter` Integer replicating arbiter count"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_addbrick",
"title": "volume_addbrick",
"default": {},
"_attrs_order_": [
"name",
"bricks",
"replica",
"arbiter",
"force"
]
}
|
Add bricks to a gluster volume.
|
gluster.volume.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name to be given to the volume"
},
"bricks": {
"_name_": "bricks",
"title": "bricks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"peer_name": {
"_name_": "peer_name",
"title": "peer_name",
"_required_": true,
"type": "string"
},
"peer_path": {
"_name_": "peer_path",
"title": "peer_path",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "brick",
"title": "brick",
"default": {},
"_required_": false,
"_attrs_order_": [
"peer_name",
"peer_path"
]
}
],
"description": "`bricks` List representing the brick paths\n `peer_name` String representing IP or DNS name of the peer\n `peer_path` String representing the full path of the brick"
},
"replica": {
"type": "integer",
"_name_": "replica",
"title": "replica",
"_required_": false,
"description": "`replica` Integer representing number of replica bricks"
},
"arbiter": {
"type": "integer",
"_name_": "arbiter",
"title": "arbiter",
"_required_": false,
"description": "`arbiter` Integer representing number of arbiter bricks"
},
"disperse": {
"type": "integer",
"_name_": "disperse",
"title": "disperse",
"_required_": false,
"description": "`disperse` Integer representing number of disperse bricks"
},
"disperse_data": {
"type": "integer",
"_name_": "disperse_data",
"title": "disperse_data",
"_required_": false,
"description": "`disperse_data` Integer representing number of disperse data bricks"
},
"redundancy": {
"type": "integer",
"_name_": "redundancy",
"title": "redundancy",
"_required_": false,
"description": "`redundancy` Integer representing number of redundancy bricks"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "glustervolume_create",
"title": "glustervolume_create",
"default": {},
"_attrs_order_": [
"name",
"bricks",
"replica",
"arbiter",
"disperse",
"disperse_data",
"redundancy",
"force"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_volume_create_returns",
"title": "gluster_volume_entry",
"default": {},
"_attrs_order_": []
}
|
Create a gluster volume.
|
gluster.volume.delete
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a gluster volume.
|
gluster.volume.info |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "volume_info",
"title": "volume_info",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Return information about gluster volume(s).
|
gluster.volume.list |
---|
Return list of gluster volumes. |
gluster.volume.optreset |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"opt": {
"_name_": "opt",
"title": "opt",
"_required_": false,
"type": "string",
"description": "Reset volumes options.\n If `opt` is not provided, then all options\n will be reset.\n`opt` String representing name of the option to reset"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_optreset",
"title": "volume_optreset",
"default": {},
"_attrs_order_": [
"name",
"opt",
"force"
]
}
|
Reset volumes options.
If
|
gluster.volume.optset |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"opts": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "opts",
"title": "opts",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "volume_optset",
"title": "volume_optset",
"default": {},
"_attrs_order_": [
"name",
"opts"
]
}
|
Set gluster volume options.
|
gluster.volume.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_volume_entry",
"title": "gluster_volume_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_volume_entry",
"title": "gluster_volume_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_volume_entry",
"title": "gluster_volume_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
gluster.volume.quota |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "volume_quota",
"title": "volume_quota",
"default": {},
"_attrs_order_": [
"name",
"enable"
]
}
|
Enable/Disable the quota for a given gluster volume.
|
gluster.volume.removebrick |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"bricks": {
"_name_": "bricks",
"title": "bricks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"peer_name": {
"_name_": "peer_name",
"title": "peer_name",
"_required_": true,
"type": "string"
},
"peer_path": {
"_name_": "peer_path",
"title": "peer_path",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "brick",
"title": "brick",
"default": {},
"_required_": false,
"_attrs_order_": [
"peer_name",
"peer_path"
]
}
],
"description": "`bricks` List representing the brick paths\n `peer_name` String representing IP or DNS name of the peer\n `peer_path` String representing the full path of the brick"
},
"operation": {
"_name_": "operation",
"title": "operation",
"_required_": true,
"type": "string",
"enum": [
"START",
"STOP",
"COMMIT",
"STATUS",
"FORCE"
],
"description": "`operation` String representing the operation to be performed\n `START` Start the removal of the brick(s)\n `STOP` Stop the removal of the brick(s)\n `COMMIT` Commit the removal of the brick(s)\n `STATUS` Display status of the removal of the brick(s)\n `FORCE` Force the removal of the brick(s)"
},
"replica": {
"type": "integer",
"_name_": "replica",
"title": "replica",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_removebrick",
"title": "volume_removebrick",
"default": {},
"_attrs_order_": [
"name",
"bricks",
"operation",
"replica"
]
}
|
Perform a remove operation on the brick(s) in the gluster volume.
|
gluster.volume.replacebrick |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"src_brick": {
"type": "object",
"properties": {
"peer_name": {
"_name_": "peer_name",
"title": "peer_name",
"_required_": true,
"type": "string"
},
"peer_path": {
"_name_": "peer_path",
"title": "peer_path",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "src_brick",
"title": "src_brick",
"default": {},
"_required_": true,
"_attrs_order_": [
"peer_name",
"peer_path"
],
"description": "`src_brick` Dict where\n `peer_name` key is a string representing IP or DNS name of the peer\n `peer_path` key is a string representing the full path of the brick"
},
"new_brick": {
"type": "object",
"properties": {
"peer_name": {
"_name_": "peer_name",
"title": "peer_name",
"_required_": true,
"type": "string"
},
"peer_path": {
"_name_": "peer_path",
"title": "peer_path",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "new_brick",
"title": "new_brick",
"default": {},
"_required_": true,
"_attrs_order_": [
"peer_name",
"peer_path"
]
}
},
"additionalProperties": false,
"_name_": "volume_replacebrick",
"title": "volume_replacebrick",
"default": {},
"_attrs_order_": [
"name",
"src_brick",
"new_brick"
]
}
|
Commit the replacement of a brick.
|
gluster.volume.restart |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_restart",
"title": "volume_restart",
"default": {},
"_attrs_order_": [
"name",
"force"
]
}
|
Restart a gluster volume.
|
gluster.volume.start |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_start",
"title": "volume_start",
"default": {},
"_attrs_order_": [
"name",
"force"
]
}
|
Start a gluster volume.
|
gluster.volume.status |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"verbose": {
"type": "boolean",
"_name_": "verbose",
"title": "verbose",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_status",
"title": "volume_status",
"default": {},
"_attrs_order_": [
"name",
"verbose"
]
}
|
Return detailed information about gluster volume.
|
gluster.volume.stop |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of gluster volume"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "volume_stop",
"title": "volume_stop",
"default": {},
"_attrs_order_": [
"name",
"force"
]
}
|
Stop a gluster volume.
|
group.create |
---|
Arguments:
{
"type": "object",
"properties": {
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": false,
"description": "If `gid` is not provided it is automatically filled with the next one available."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"allow_duplicate_gid": {
"type": "boolean",
"_name_": "allow_duplicate_gid",
"title": "allow_duplicate_gid",
"default": false,
"_required_": false,
"description": "`allow_duplicate_gid` allows distinct group names to share the same gid."
},
"users": {
"_name_": "users",
"title": "users",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
],
"description": "`users` is a list of user ids (`id` attribute from `user.query`)."
}
},
"additionalProperties": false,
"_name_": "group_create",
"title": "group_create",
"default": {},
"_attrs_order_": [
"gid",
"name",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"allow_duplicate_gid",
"users"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "primary_key",
"title": "primary_key"
}
|
Create a new group. If
|
group.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete group `id`."
}
{
"type": "object",
"properties": {
"delete_users": {
"type": "boolean",
"_name_": "delete_users",
"title": "delete_users",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"delete_users"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "primary_key",
"title": "primary_key"
}
|
Delete group The |
group.get_group_obj |
---|
Arguments:
{
"type": "object",
"properties": {
"groupname": {
"_name_": "groupname",
"title": "groupname",
"default": null,
"_required_": false,
"type": "string"
},
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "get_group_obj",
"title": "get_group_obj",
"default": {},
"_attrs_order_": [
"groupname",
"gid"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"gr_name": {
"_name_": "gr_name",
"title": "gr_name",
"_required_": false,
"type": "string"
},
"gr_gid": {
"type": "integer",
"_name_": "gr_gid",
"title": "gr_gid",
"_required_": false
},
"gr_mem": {
"_name_": "gr_mem",
"title": "gr_mem",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "group_info",
"title": "group_info",
"default": {},
"_attrs_order_": [
"gr_name",
"gr_gid",
"gr_mem"
]
}
|
Returns dictionary containing information from struct grp for the group specified by either the groupname or gid. Bypasses group cache. |
group.get_next_gid |
---|
Return Arguments:
{
"type": "integer",
"_name_": "next_available_gid",
"title": "next_available_gid"
}
|
Get the next available/free gid. |
group.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"users": {
"_name_": "users",
"title": "users",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"group": {
"_name_": "group",
"title": "group",
"_required_": false,
"type": "string"
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "group_entry",
"title": "group_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"gid",
"name",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"users",
"id",
"group",
"builtin",
"id_type_both",
"local",
"nt_name",
"sid"
]
}
]
},
{
"type": "object",
"properties": {
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"users": {
"_name_": "users",
"title": "users",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"group": {
"_name_": "group",
"title": "group",
"_required_": false,
"type": "string"
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "group_entry",
"title": "group_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"gid",
"name",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"users",
"id",
"group",
"builtin",
"id_type_both",
"local",
"nt_name",
"sid"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"users": {
"_name_": "users",
"title": "users",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"group": {
"_name_": "group",
"title": "group",
"_required_": false,
"type": "string"
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "group_entry",
"title": "group_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"gid",
"name",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"users",
"id",
"group",
"builtin",
"id_type_both",
"local",
"nt_name",
"sid"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query groups with Expanded information may be requested by specifying the extra option The following
|
group.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "`users` is a list of user ids (`id` attribute from `user.query`)."
}
{
"type": "object",
"properties": {
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": false,
"description": "If `gid` is not provided it is automatically filled with the next one available."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"allow_duplicate_gid": {
"type": "boolean",
"_name_": "allow_duplicate_gid",
"title": "allow_duplicate_gid",
"default": false,
"_required_": false,
"description": "`allow_duplicate_gid` allows distinct group names to share the same gid."
},
"users": {
"_name_": "users",
"title": "users",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
],
"description": "`users` is a list of user ids (`id` attribute from `user.query`)."
}
},
"additionalProperties": false,
"_name_": "group_update",
"title": "group_create",
"default": {},
"_attrs_order_": [
"gid",
"name",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"allow_duplicate_gid",
"users"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "primary_key",
"title": "primary_key"
}
|
Update attributes of an existing group. |
idmap.backend_choices |
---|
Returns array of valid idmap backend choices per directory service. |
idmap.backend_options |
---|
This returns full information about idmap backend options. Not all
|
idmap.clear_idmap_cache
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Stop samba, remove the winbindd_cache.tdb file, start samba, flush samba's cache. This should be performed after finalizing idmap changes. |
idmap.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` the pre-windows 2000 domain name."
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
],
"description": "`idmap_backend` provides a plugin interface for Winbind to use varying\nbackends to store SID/uid/gid mapping tables. The correct setting\ndepends on the environment in which the NAS is deployed."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": "`options` are additional parameters that are backend-dependent:",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_domain_create",
"title": "idmap_domain_create",
"default": {},
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` the pre-windows 2000 domain name."
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
],
"description": "`idmap_backend` provides a plugin interface for Winbind to use varying\nbackends to store SID/uid/gid mapping tables. The correct setting\ndepends on the environment in which the NAS is deployed."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": "`options` are additional parameters that are backend-dependent:",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_create_returns",
"title": "idmap_domain_create",
"default": {},
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options",
"id"
]
}
|
Create a new IDMAP domain. These domains must be unique. This table will be automatically populated after joining an Active Directory domain if "allow trusted domains" is set to True in the AD service configuration. There are three default system domains: DS_TYPE_ACTIVEDIRECTORY, DS_TYPE_LDAP, DS_TYPE_DEFAULT_DOMAIN. The system domains correspond with the idmap settings under Active Directory, LDAP, and SMB respectively.
|
idmap.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a domain by id. Deletion of default system domains is not permitted. In case of registry config for clustered server, this will remove all smb4.conf entries for the domain associated with the id. |
idmap.options_choices |
---|
Arguments:
{
"_name_": "idmap_backend",
"title": "idmap_backend",
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
]
}
|
Returns a list of supported keys for the specified idmap backend. |
idmap.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
]
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_domain_entry",
"title": "idmap_domain_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
]
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_domain_entry",
"title": "idmap_domain_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
]
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_domain_entry",
"title": "idmap_domain_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
idmap.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` the pre-windows 2000 domain name."
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
],
"description": "`idmap_backend` provides a plugin interface for Winbind to use varying\nbackends to store SID/uid/gid mapping tables. The correct setting\ndepends on the environment in which the NAS is deployed."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": "`options` are additional parameters that are backend-dependent:",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_update",
"title": "idmap_domain_create",
"default": {},
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` the pre-windows 2000 domain name."
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true,
"description": "`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative.\n`range_low` and `range_high` specify the UID and GID range for which this backend is authoritative."
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
],
"description": "`idmap_backend` provides a plugin interface for Winbind to use varying\nbackends to store SID/uid/gid mapping tables. The correct setting\ndepends on the environment in which the NAS is deployed."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": "`options` are additional parameters that are backend-dependent:",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_update_returns",
"title": "idmap_domain_create",
"default": {},
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options",
"id"
]
}
|
Update a domain by id. |
initshutdownscript.create |
---|
Arguments:
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
],
"description": "`type` indicates if a command or script should be executed at `when`."
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
],
"description": "`type` indicates if a command or script should be executed at `when`.\nThere are three choices for `when`:"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "init_shutdown_script_create",
"title": "init_shutdown_script_create",
"default": {},
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
],
"description": "`type` indicates if a command or script should be executed at `when`."
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
],
"description": "`type` indicates if a command or script should be executed at `when`.\nThere are three choices for `when`:"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "initshutdownscript_create_returns",
"title": "init_shutdown_script_create",
"default": {},
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment",
"id"
]
}
|
Create an initshutdown script task.
There are three choices for 1) PREINIT - This is early in the boot process before all the services / rc scripts have started 2) POSTINIT - This is late in the boot process when most of the services / rc scripts have started 3) SHUTDOWN - This is on shutdown
|
initshutdownscript.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete init/shutdown task of |
initshutdownscript.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "init_shutdown_script_entry",
"title": "init_shutdown_script_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "init_shutdown_script_entry",
"title": "init_shutdown_script_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "init_shutdown_script_entry",
"title": "init_shutdown_script_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
initshutdownscript.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update initshutdown script task of `id`.\nCreate an initshutdown script task."
}
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
],
"description": "`type` indicates if a command or script should be executed at `when`."
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
],
"description": "`type` indicates if a command or script should be executed at `when`.\nThere are three choices for `when`:"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "initshutdownscript_update",
"title": "init_shutdown_script_create",
"default": {},
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
],
"description": "`type` indicates if a command or script should be executed at `when`."
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
],
"description": "`type` indicates if a command or script should be executed at `when`.\nThere are three choices for `when`:"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update initshutdown script task of `id`.\nCreate an initshutdown script task."
}
},
"additionalProperties": false,
"_name_": "initshutdownscript_update_returns",
"title": "init_shutdown_script_create",
"default": {},
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment",
"id"
]
}
|
Update initshutdown script task of |
interface.bridge_members_choices |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"default": null,
"type": [
"string",
"null"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "bridge_members_choices",
"title": "bridge_members_choices",
"default": {},
"_attrs_order_": []
}
|
Return available interface choices that can be added to a
|
interface.checkin |
---|
After interfaces changes are committed with checkin timeout this method needs to be called within that timeout limit to prevent reverting the changes. This is to ensure user verifies the changes went as planned and its working. |
interface.checkin_waiting |
---|
Return Arguments:
{
"type": [
"integer",
"null"
],
"_name_": "remaining_seconds",
"title": "remaining_seconds"
}
|
Returns whether or not we are waiting user to checkin the applied network changes before they are rolled back. Value is in number of seconds or null. |
interface.choices |
---|
Arguments:
{
"type": "object",
"properties": {
"bridge_members": {
"type": "boolean",
"_name_": "bridge_members",
"title": "bridge_members",
"default": false,
"_required_": false,
"description": "`bridge_members` will include BRIDGE members."
},
"lag_ports": {
"type": "boolean",
"_name_": "lag_ports",
"title": "lag_ports",
"default": false,
"_required_": false,
"description": "`lag_ports` will include LINK_AGGREGATION ports."
},
"vlan_parent": {
"type": "boolean",
"_name_": "vlan_parent",
"title": "vlan_parent",
"default": true,
"_required_": false,
"description": "`vlan_parent` will include VLAN parent interface."
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [
"epair",
"tap",
"vnet"
],
"_required_": false,
"type": "array",
"items": [],
"description": "`exclude` is a list of interfaces prefix to remove."
},
"exclude_types": {
"_name_": "exclude_types",
"title": "exclude_types",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"BRIDGE",
"LINK_AGGREGATION",
"PHYSICAL",
"UNKNOWN",
"VLAN"
]
}
]
},
"include": {
"_name_": "include",
"title": "include",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"bridge_members",
"lag_ports",
"vlan_parent",
"exclude",
"exclude_types",
"include"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "available_interfaces",
"title": "available_interfaces",
"default": {},
"_attrs_order_": []
}
|
Choices of available network interfaces.
|
interface.commit |
---|
Arguments:
{
"type": "object",
"properties": {
"rollback": {
"type": "boolean",
"_name_": "rollback",
"title": "rollback",
"default": true,
"_required_": false,
"description": "`rollback` as true (default) will rollback changes in case they fail to apply."
},
"checkin_timeout": {
"type": "integer",
"_name_": "checkin_timeout",
"title": "checkin_timeout",
"default": 60,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"rollback",
"checkin_timeout"
]
}
|
Commit/apply pending interfaces changes.
|
interface.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"BRIDGE",
"LINK_AGGREGATION",
"VLAN"
],
"description": "For BRIDGE `type` the following attribute is required: bridge_members.\nFor LINK_AGGREGATION `type` the following attributes are required: lag_ports,\nlag_protocol.\nFor VLAN `type` the following attributes are required: vlan_parent_interface,\nvlan_tag and vlan_pcp."
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"default": false,
"_required_": false
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"default": false,
"_required_": false
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"default": false,
"_required_": false
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "INET",
"_required_": true,
"type": "string",
"enum": [
"INET",
"INET6"
]
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "interface_alias",
"title": "interface_alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"failover_critical": {
"type": "boolean",
"_name_": "failover_critical",
"title": "failover_critical",
"default": false,
"_required_": false
},
"failover_group": {
"type": [
"integer",
"null"
],
"_name_": "failover_group",
"title": "failover_group",
"_required_": false
},
"failover_vhid": {
"type": [
"integer",
"null"
],
"_name_": "failover_vhid",
"title": "failover_vhid",
"_required_": false
},
"failover_aliases": {
"_name_": "failover_aliases",
"title": "failover_aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "INET",
"_required_": true,
"type": "string",
"enum": [
"INET",
"INET6"
]
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "interface_failover_alias",
"title": "interface_failover_alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address"
]
}
]
},
"failover_virtual_aliases": {
"_name_": "failover_virtual_aliases",
"title": "failover_virtual_aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "INET",
"_required_": true,
"type": "string",
"enum": [
"INET",
"INET6"
]
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "interface_virtual_alias",
"title": "interface_virtual_alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address"
]
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string",
"enum": [
"LACP",
"FAILOVER",
"LOADBALANCE",
"ROUNDROBIN",
"NONE"
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LAYER2",
"LAYER2+3",
"LAYER3+4"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"SLOW",
"FAST"
]
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "interface",
"title": "interface",
"_required_": false,
"type": "string"
}
]
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": "string"
},
"vlan_tag": {
"type": "integer",
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "interface_create",
"title": "interface_create",
"default": {},
"_attrs_order_": [
"name",
"description",
"type",
"disable_offload_capabilities",
"ipv4_dhcp",
"ipv6_auto",
"aliases",
"failover_critical",
"failover_group",
"failover_vhid",
"failover_aliases",
"failover_virtual_aliases",
"bridge_members",
"lag_protocol",
"xmit_hash_policy",
"lacpdu_rate",
"lag_ports",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"mtu"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"fake": {
"type": "boolean",
"_name_": "fake",
"title": "fake",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "For BRIDGE `type` the following attribute is required: bridge_members.\nFor LINK_AGGREGATION `type` the following attributes are required: lag_ports,\nlag_protocol.\nFor VLAN `type` the following attributes are required: vlan_parent_interface,\nvlan_tag and vlan_pcp."
},
"state": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"orig_name": {
"_name_": "orig_name",
"title": "orig_name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"mtu": {
"type": "integer",
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"cloned": {
"type": "boolean",
"_name_": "cloned",
"title": "cloned",
"_required_": true
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
},
"nd6_flags": {
"_name_": "nd6_flags",
"title": "nd6_flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"capabilities": {
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"link_state": {
"_name_": "link_state",
"title": "link_state",
"_required_": true,
"type": "string"
},
"media_type": {
"_name_": "media_type",
"title": "media_type",
"_required_": true,
"type": "string"
},
"media_subtype": {
"_name_": "media_subtype",
"title": "media_subtype",
"_required_": true,
"type": "string"
},
"active_media_type": {
"_name_": "active_media_type",
"title": "active_media_type",
"_required_": true,
"type": "string"
},
"active_media_subtype": {
"_name_": "active_media_subtype",
"title": "active_media_subtype",
"_required_": true,
"type": "string"
},
"supported_media": {
"_name_": "supported_media",
"title": "supported_media",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"media_options": {
"_name_": "media_options",
"title": "media_options",
"default": [],
"_required_": true,
"type": [
"array",
"null"
],
"items": []
},
"link_address": {
"_name_": "link_address",
"title": "link_address",
"_required_": true,
"type": "string"
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
},
"vrrp_config": {
"_name_": "vrrp_config",
"title": "vrrp_config",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": []
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": [
"string",
"null"
]
},
"ports": {
"_name_": "ports",
"title": "ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "lag_ports",
"title": "lag_ports",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"flags"
]
}
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"parent": {
"_name_": "parent",
"title": "parent",
"_required_": false,
"type": [
"string",
"null"
]
},
"tag": {
"type": [
"integer",
"null"
],
"_name_": "tag",
"title": "tag",
"_required_": false
},
"pcp": {
"type": [
"integer",
"null"
],
"_name_": "pcp",
"title": "pcp",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": true,
"_attrs_order_": [
"name",
"orig_name",
"description",
"mtu",
"cloned",
"flags",
"nd6_flags",
"capabilities",
"link_state",
"media_type",
"media_subtype",
"active_media_type",
"active_media_subtype",
"supported_media",
"media_options",
"link_address",
"aliases",
"vrrp_config",
"protocol",
"ports",
"xmit_hash_policy",
"lacpdu_rate",
"parent",
"tag",
"pcp"
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"_required_": true
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": [
"string",
"null"
]
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"_required_": false
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": [
"string",
"null"
]
},
"vlan_tag": {
"type": [
"integer",
"null"
],
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string"
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "lag_port",
"title": "lag_port",
"_required_": false,
"type": "string"
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "member",
"title": "member",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": true,
"_name_": "interface_create_returns",
"title": "interface_entry",
"default": {},
"_attrs_order_": [
"id",
"name",
"fake",
"type",
"state",
"aliases",
"ipv4_dhcp",
"ipv6_auto",
"description",
"mtu",
"disable_offload_capabilities",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"lag_protocol",
"lag_ports",
"bridge_members"
]
}
|
Create virtual interfaces (Link Aggregation, VLAN) For BRIDGE For LINK_AGGREGATION For VLAN |
interface.delete |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Return Arguments:
{
"_name_": "interface_id",
"title": "interface_id",
"type": "string"
}
|
Delete Interface of |
interface.has_pending_changes |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "has_pending_changes",
"title": "has_pending_changes"
}
|
Returns whether there are pending interfaces changes to be applied or not. |
interface.ip_in_use |
---|
Arguments:
{
"type": "object",
"properties": {
"ipv4": {
"type": "boolean",
"_name_": "ipv4",
"title": "ipv4",
"default": true,
"_required_": false
},
"ipv6": {
"type": "boolean",
"_name_": "ipv6",
"title": "ipv6",
"default": true,
"_required_": false
},
"ipv6_link_local": {
"type": "boolean",
"_name_": "ipv6_link_local",
"title": "ipv6_link_local",
"default": false,
"_required_": false
},
"loopback": {
"type": "boolean",
"_name_": "loopback",
"title": "loopback",
"default": false,
"_required_": false,
"description": "`loopback` will return loopback interface addresses."
},
"any": {
"type": "boolean",
"_name_": "any",
"title": "any",
"default": false,
"_required_": false,
"description": "`any` will return wildcard addresses (0.0.0.0 and ::)."
},
"static": {
"type": "boolean",
"_name_": "static",
"title": "static",
"default": false,
"_required_": false,
"description": "`static` when enabled will ensure we only return static ip's configured."
}
},
"additionalProperties": false,
"_name_": "ips",
"title": "ips",
"default": {},
"_attrs_order_": [
"ipv4",
"ipv6",
"ipv6_link_local",
"loopback",
"any",
"static"
]
}
|
Return Arguments:
{
"_name_": "in_use_ips",
"title": "in_use_ips",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "in_use_ip",
"title": "in_use_ip",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
}
|
Get all IPv4 / Ipv6 from all valid interfaces, excluding tap and epair.
Returns a list of dicts - eg - [ { "type": "INET6", "address": "fe80::5054:ff:fe16:4aac", "netmask": 64 }, { "type": "INET", "address": "192.168.122.148", "netmask": 24, "broadcast": "192.168.122.255" }, ] |
interface.lacpdu_rate_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"SLOW": {
"_name_": "SLOW",
"title": "SLOW",
"_required_": false,
"type": "string",
"enum": [
"SLOW"
]
},
"FAST": {
"_name_": "FAST",
"title": "FAST",
"_required_": false,
"type": "string",
"enum": [
"FAST"
]
}
},
"additionalProperties": false,
"_name_": "lacpdu_rate_choices",
"title": "lacpdu_rate_choices",
"default": {},
"_attrs_order_": [
"SLOW",
"FAST"
]
}
|
Available lacpdu rate policies for the LACP lagg type interfaces. |
interface.lag_ports_choices |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"default": null,
"type": [
"string",
"null"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "lag_ports_choices",
"title": "lag_ports_choices",
"default": {},
"_attrs_order_": []
}
|
Return available interface choices that can be added to a
|
interface.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"fake": {
"type": "boolean",
"_name_": "fake",
"title": "fake",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"state": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"orig_name": {
"_name_": "orig_name",
"title": "orig_name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"mtu": {
"type": "integer",
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"cloned": {
"type": "boolean",
"_name_": "cloned",
"title": "cloned",
"_required_": true
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
},
"nd6_flags": {
"_name_": "nd6_flags",
"title": "nd6_flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"capabilities": {
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"link_state": {
"_name_": "link_state",
"title": "link_state",
"_required_": true,
"type": "string"
},
"media_type": {
"_name_": "media_type",
"title": "media_type",
"_required_": true,
"type": "string"
},
"media_subtype": {
"_name_": "media_subtype",
"title": "media_subtype",
"_required_": true,
"type": "string"
},
"active_media_type": {
"_name_": "active_media_type",
"title": "active_media_type",
"_required_": true,
"type": "string"
},
"active_media_subtype": {
"_name_": "active_media_subtype",
"title": "active_media_subtype",
"_required_": true,
"type": "string"
},
"supported_media": {
"_name_": "supported_media",
"title": "supported_media",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"media_options": {
"_name_": "media_options",
"title": "media_options",
"default": [],
"_required_": true,
"type": [
"array",
"null"
],
"items": []
},
"link_address": {
"_name_": "link_address",
"title": "link_address",
"_required_": true,
"type": "string"
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
},
"vrrp_config": {
"_name_": "vrrp_config",
"title": "vrrp_config",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": []
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": [
"string",
"null"
]
},
"ports": {
"_name_": "ports",
"title": "ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "lag_ports",
"title": "lag_ports",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"flags"
]
}
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"parent": {
"_name_": "parent",
"title": "parent",
"_required_": false,
"type": [
"string",
"null"
]
},
"tag": {
"type": [
"integer",
"null"
],
"_name_": "tag",
"title": "tag",
"_required_": false
},
"pcp": {
"type": [
"integer",
"null"
],
"_name_": "pcp",
"title": "pcp",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": true,
"_attrs_order_": [
"name",
"orig_name",
"description",
"mtu",
"cloned",
"flags",
"nd6_flags",
"capabilities",
"link_state",
"media_type",
"media_subtype",
"active_media_type",
"active_media_subtype",
"supported_media",
"media_options",
"link_address",
"aliases",
"vrrp_config",
"protocol",
"ports",
"xmit_hash_policy",
"lacpdu_rate",
"parent",
"tag",
"pcp"
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"_required_": true
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": [
"string",
"null"
]
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"_required_": false
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": [
"string",
"null"
]
},
"vlan_tag": {
"type": [
"integer",
"null"
],
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string"
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "lag_port",
"title": "lag_port",
"_required_": false,
"type": "string"
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "member",
"title": "member",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": true,
"_name_": "interface_entry",
"title": "interface_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"fake",
"type",
"state",
"aliases",
"ipv4_dhcp",
"ipv6_auto",
"description",
"mtu",
"disable_offload_capabilities",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"lag_protocol",
"lag_ports",
"bridge_members"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"fake": {
"type": "boolean",
"_name_": "fake",
"title": "fake",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"state": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"orig_name": {
"_name_": "orig_name",
"title": "orig_name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"mtu": {
"type": "integer",
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"cloned": {
"type": "boolean",
"_name_": "cloned",
"title": "cloned",
"_required_": true
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
},
"nd6_flags": {
"_name_": "nd6_flags",
"title": "nd6_flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"capabilities": {
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"link_state": {
"_name_": "link_state",
"title": "link_state",
"_required_": true,
"type": "string"
},
"media_type": {
"_name_": "media_type",
"title": "media_type",
"_required_": true,
"type": "string"
},
"media_subtype": {
"_name_": "media_subtype",
"title": "media_subtype",
"_required_": true,
"type": "string"
},
"active_media_type": {
"_name_": "active_media_type",
"title": "active_media_type",
"_required_": true,
"type": "string"
},
"active_media_subtype": {
"_name_": "active_media_subtype",
"title": "active_media_subtype",
"_required_": true,
"type": "string"
},
"supported_media": {
"_name_": "supported_media",
"title": "supported_media",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"media_options": {
"_name_": "media_options",
"title": "media_options",
"default": [],
"_required_": true,
"type": [
"array",
"null"
],
"items": []
},
"link_address": {
"_name_": "link_address",
"title": "link_address",
"_required_": true,
"type": "string"
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
},
"vrrp_config": {
"_name_": "vrrp_config",
"title": "vrrp_config",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": []
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": [
"string",
"null"
]
},
"ports": {
"_name_": "ports",
"title": "ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "lag_ports",
"title": "lag_ports",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"flags"
]
}
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"parent": {
"_name_": "parent",
"title": "parent",
"_required_": false,
"type": [
"string",
"null"
]
},
"tag": {
"type": [
"integer",
"null"
],
"_name_": "tag",
"title": "tag",
"_required_": false
},
"pcp": {
"type": [
"integer",
"null"
],
"_name_": "pcp",
"title": "pcp",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": true,
"_attrs_order_": [
"name",
"orig_name",
"description",
"mtu",
"cloned",
"flags",
"nd6_flags",
"capabilities",
"link_state",
"media_type",
"media_subtype",
"active_media_type",
"active_media_subtype",
"supported_media",
"media_options",
"link_address",
"aliases",
"vrrp_config",
"protocol",
"ports",
"xmit_hash_policy",
"lacpdu_rate",
"parent",
"tag",
"pcp"
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"_required_": true
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": [
"string",
"null"
]
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"_required_": false
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": [
"string",
"null"
]
},
"vlan_tag": {
"type": [
"integer",
"null"
],
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string"
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "lag_port",
"title": "lag_port",
"_required_": false,
"type": "string"
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "member",
"title": "member",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": true,
"_name_": "interface_entry",
"title": "interface_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"fake",
"type",
"state",
"aliases",
"ipv4_dhcp",
"ipv6_auto",
"description",
"mtu",
"disable_offload_capabilities",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"lag_protocol",
"lag_ports",
"bridge_members"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"fake": {
"type": "boolean",
"_name_": "fake",
"title": "fake",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"state": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"orig_name": {
"_name_": "orig_name",
"title": "orig_name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"mtu": {
"type": "integer",
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"cloned": {
"type": "boolean",
"_name_": "cloned",
"title": "cloned",
"_required_": true
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
},
"nd6_flags": {
"_name_": "nd6_flags",
"title": "nd6_flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"capabilities": {
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"link_state": {
"_name_": "link_state",
"title": "link_state",
"_required_": true,
"type": "string"
},
"media_type": {
"_name_": "media_type",
"title": "media_type",
"_required_": true,
"type": "string"
},
"media_subtype": {
"_name_": "media_subtype",
"title": "media_subtype",
"_required_": true,
"type": "string"
},
"active_media_type": {
"_name_": "active_media_type",
"title": "active_media_type",
"_required_": true,
"type": "string"
},
"active_media_subtype": {
"_name_": "active_media_subtype",
"title": "active_media_subtype",
"_required_": true,
"type": "string"
},
"supported_media": {
"_name_": "supported_media",
"title": "supported_media",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"media_options": {
"_name_": "media_options",
"title": "media_options",
"default": [],
"_required_": true,
"type": [
"array",
"null"
],
"items": []
},
"link_address": {
"_name_": "link_address",
"title": "link_address",
"_required_": true,
"type": "string"
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
},
"vrrp_config": {
"_name_": "vrrp_config",
"title": "vrrp_config",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": []
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": [
"string",
"null"
]
},
"ports": {
"_name_": "ports",
"title": "ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "lag_ports",
"title": "lag_ports",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"flags"
]
}
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"parent": {
"_name_": "parent",
"title": "parent",
"_required_": false,
"type": [
"string",
"null"
]
},
"tag": {
"type": [
"integer",
"null"
],
"_name_": "tag",
"title": "tag",
"_required_": false
},
"pcp": {
"type": [
"integer",
"null"
],
"_name_": "pcp",
"title": "pcp",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": true,
"_attrs_order_": [
"name",
"orig_name",
"description",
"mtu",
"cloned",
"flags",
"nd6_flags",
"capabilities",
"link_state",
"media_type",
"media_subtype",
"active_media_type",
"active_media_subtype",
"supported_media",
"media_options",
"link_address",
"aliases",
"vrrp_config",
"protocol",
"ports",
"xmit_hash_policy",
"lacpdu_rate",
"parent",
"tag",
"pcp"
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"_required_": true
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": [
"string",
"null"
]
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"_required_": false
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": [
"string",
"null"
]
},
"vlan_tag": {
"type": [
"integer",
"null"
],
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string"
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "lag_port",
"title": "lag_port",
"_required_": false,
"type": "string"
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "member",
"title": "member",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": true,
"_name_": "interface_entry",
"title": "interface_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"fake",
"type",
"state",
"aliases",
"ipv4_dhcp",
"ipv6_auto",
"description",
"mtu",
"disable_offload_capabilities",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"lag_protocol",
"lag_ports",
"bridge_members"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query Interfaces with |
interface.rollback |
---|
Rollback pending interfaces changes. |
interface.services_restarted_on_sync |
---|
Return Arguments:
{
"_name_": "services_to_be_restarted",
"title": "services_to_be_restarted",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"service": {
"_name_": "service",
"title": "service",
"_required_": true,
"type": "string"
},
"ips": {
"_name_": "ips",
"title": "ips",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "service_restart",
"title": "service_restart",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"service",
"ips"
]
}
]
}
|
Returns which services will be set to listen on 0.0.0.0 (and, thus, restarted) on sync. Example result: [ // Samba service will be set ot listen on 0.0.0.0 and restarted because it was set up to listen on // 192.168.0.1 which is being removed. {"type": "SYSTEM_SERVICE", "service": "cifs", "ips": ["192.168.0.1"]}, ] |
interface.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Update Interface of `id`."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"default": false,
"_required_": false
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"default": false,
"_required_": false
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"default": false,
"_required_": false
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "INET",
"_required_": true,
"type": "string",
"enum": [
"INET",
"INET6"
]
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "interface_alias",
"title": "interface_alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"failover_critical": {
"type": "boolean",
"_name_": "failover_critical",
"title": "failover_critical",
"default": false,
"_required_": false
},
"failover_group": {
"type": [
"integer",
"null"
],
"_name_": "failover_group",
"title": "failover_group",
"_required_": false
},
"failover_vhid": {
"type": [
"integer",
"null"
],
"_name_": "failover_vhid",
"title": "failover_vhid",
"_required_": false
},
"failover_aliases": {
"_name_": "failover_aliases",
"title": "failover_aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "INET",
"_required_": true,
"type": "string",
"enum": [
"INET",
"INET6"
]
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "interface_failover_alias",
"title": "interface_failover_alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address"
]
}
]
},
"failover_virtual_aliases": {
"_name_": "failover_virtual_aliases",
"title": "failover_virtual_aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"default": "INET",
"_required_": true,
"type": "string",
"enum": [
"INET",
"INET6"
]
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "interface_virtual_alias",
"title": "interface_virtual_alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address"
]
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string",
"enum": [
"LACP",
"FAILOVER",
"LOADBALANCE",
"ROUNDROBIN",
"NONE"
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LAYER2",
"LAYER2+3",
"LAYER3+4"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"SLOW",
"FAST"
]
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "interface",
"title": "interface",
"_required_": false,
"type": "string"
}
]
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": "string"
},
"vlan_tag": {
"type": "integer",
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "interface_update",
"title": "interface_create",
"default": {},
"_attrs_order_": [
"name",
"description",
"disable_offload_capabilities",
"ipv4_dhcp",
"ipv6_auto",
"aliases",
"failover_critical",
"failover_group",
"failover_vhid",
"failover_aliases",
"failover_virtual_aliases",
"bridge_members",
"lag_protocol",
"xmit_hash_policy",
"lacpdu_rate",
"lag_ports",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"mtu"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string",
"description": "Update Interface of `id`."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"fake": {
"type": "boolean",
"_name_": "fake",
"title": "fake",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "For BRIDGE `type` the following attribute is required: bridge_members.\nFor LINK_AGGREGATION `type` the following attributes are required: lag_ports,\nlag_protocol.\nFor VLAN `type` the following attributes are required: vlan_parent_interface,\nvlan_tag and vlan_pcp."
},
"state": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"orig_name": {
"_name_": "orig_name",
"title": "orig_name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"mtu": {
"type": "integer",
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"cloned": {
"type": "boolean",
"_name_": "cloned",
"title": "cloned",
"_required_": true
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
},
"nd6_flags": {
"_name_": "nd6_flags",
"title": "nd6_flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"capabilities": {
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"link_state": {
"_name_": "link_state",
"title": "link_state",
"_required_": true,
"type": "string"
},
"media_type": {
"_name_": "media_type",
"title": "media_type",
"_required_": true,
"type": "string"
},
"media_subtype": {
"_name_": "media_subtype",
"title": "media_subtype",
"_required_": true,
"type": "string"
},
"active_media_type": {
"_name_": "active_media_type",
"title": "active_media_type",
"_required_": true,
"type": "string"
},
"active_media_subtype": {
"_name_": "active_media_subtype",
"title": "active_media_subtype",
"_required_": true,
"type": "string"
},
"supported_media": {
"_name_": "supported_media",
"title": "supported_media",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"media_options": {
"_name_": "media_options",
"title": "media_options",
"default": [],
"_required_": true,
"type": [
"array",
"null"
],
"items": []
},
"link_address": {
"_name_": "link_address",
"title": "link_address",
"_required_": true,
"type": "string"
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
},
"vrrp_config": {
"_name_": "vrrp_config",
"title": "vrrp_config",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": []
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": [
"string",
"null"
]
},
"ports": {
"_name_": "ports",
"title": "ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "lag_ports",
"title": "lag_ports",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"flags"
]
}
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"parent": {
"_name_": "parent",
"title": "parent",
"_required_": false,
"type": [
"string",
"null"
]
},
"tag": {
"type": [
"integer",
"null"
],
"_name_": "tag",
"title": "tag",
"_required_": false
},
"pcp": {
"type": [
"integer",
"null"
],
"_name_": "pcp",
"title": "pcp",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": true,
"_attrs_order_": [
"name",
"orig_name",
"description",
"mtu",
"cloned",
"flags",
"nd6_flags",
"capabilities",
"link_state",
"media_type",
"media_subtype",
"active_media_type",
"active_media_subtype",
"supported_media",
"media_options",
"link_address",
"aliases",
"vrrp_config",
"protocol",
"ports",
"xmit_hash_policy",
"lacpdu_rate",
"parent",
"tag",
"pcp"
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"_required_": true
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": [
"string",
"null"
]
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"_required_": false
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": [
"string",
"null"
]
},
"vlan_tag": {
"type": [
"integer",
"null"
],
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string"
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "lag_port",
"title": "lag_port",
"_required_": false,
"type": "string"
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "member",
"title": "member",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": true,
"_name_": "interface_update_returns",
"title": "interface_entry",
"default": {},
"_attrs_order_": [
"id",
"name",
"fake",
"type",
"state",
"aliases",
"ipv4_dhcp",
"ipv6_auto",
"description",
"mtu",
"disable_offload_capabilities",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"lag_protocol",
"lag_ports",
"bridge_members"
]
}
|
Update Interface of |
interface.vlan_parent_interface_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vlan_parent_interface_choices",
"title": "vlan_parent_interface_choices",
"default": {},
"_attrs_order_": []
}
|
Return available interface choices for |
interface.websocket_interface |
---|
Return Arguments:
{
"_name_": "websocket_interface",
"title": "websocket_interface",
"type": [
"string",
"null"
]
}
|
Returns the interface this websocket is connected to. |
interface.websocket_local_ip |
---|
Return Arguments:
{
"_name_": "websocket_local_ip",
"title": "websocket_local_ip",
"type": [
"string",
"null"
]
}
|
Returns the ip this websocket is connected to. |
interface.xmit_hash_policy_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"LAYER2": {
"_name_": "LAYER2",
"title": "LAYER2",
"_required_": false,
"type": "string",
"enum": [
"LAYER2"
]
},
"LAYER2+3": {
"_name_": "LAYER2+3",
"title": "LAYER2+3",
"_required_": false,
"type": "string",
"enum": [
"LAYER2+3"
]
},
"LAYER3+4": {
"_name_": "LAYER3+4",
"title": "LAYER3+4",
"_required_": false,
"type": "string",
"enum": [
"LAYER3+4"
]
}
},
"additionalProperties": false,
"_name_": "xmit_hash_policy_choices",
"title": "xmit_hash_policy_choices",
"default": {},
"_attrs_order_": [
"LAYER2",
"LAYER2+3",
"LAYER3+4"
]
}
|
Available transmit hash policies for the LACP or LOADBALANCE lagg type interfaces. |
interface.capabilities.get |
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"_name_": "enabled",
"title": "enabled",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "capability",
"title": "capability",
"_required_": false,
"type": "string"
}
]
},
"disabled": {
"_name_": "disabled",
"title": "disabled",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "capability",
"title": "capability",
"_required_": false,
"type": "string"
}
]
},
"supported": {
"_name_": "supported",
"title": "supported",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "capability",
"title": "capability",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "capabilties",
"title": "capabilties",
"default": {},
"_attrs_order_": [
"enabled",
"disabled",
"supported"
]
}
|
Return enabled, disabled and supported capabilities (also known as features) on a given interface.
|
interface.capabilities.set |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`name` String representing name of the interface\n`capabilities` List representing capabilities to be acted upon"
},
"capabilties": {
"_name_": "capabilties",
"title": "capabilties",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"action": {
"_name_": "action",
"title": "action",
"_required_": true,
"type": "string",
"enum": [
"ENABLE",
"DISABLE"
]
}
},
"additionalProperties": false,
"_name_": "capabilities_set",
"title": "capabilities_set",
"default": {},
"_attrs_order_": [
"name",
"capabilties",
"action"
]
}
|
Return Arguments:
{
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"type": "array",
"items": [
{
"_name_": "capability",
"title": "capability",
"_required_": false,
"type": "string"
}
]
}
|
Enable or Disable capabilties (also known as features) on a given interface.
|
ipmi.channels |
---|
Return Arguments:
{
"_name_": "ipmi_channels",
"title": "ipmi_channels",
"default": [],
"type": "array",
"items": [
{
"type": "integer",
"_name_": "ipmi_channel",
"title": "ipmi_channel",
"_required_": false
}
]
}
|
Return a list with the IPMI channels available. |
ipmi.clear_sel |
---|
Clear IPMI System Event Log |
ipmi.identify |
---|
Arguments:
{
"type": "object",
"properties": {
"seconds": {
"type": "integer",
"_name_": "seconds",
"title": "seconds",
"_required_": false
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"seconds",
"force"
]
}
|
Turn on IPMI chassis identify light. To turn off specify 0 as |
ipmi.is_loaded |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "ipmi_loaded",
"title": "ipmi_loaded"
}
|
Returns a boolean true value indicating if ipmi device is loaded. |
ipmi.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"ipaddress": {
"_name_": "ipaddress",
"title": "ipaddress",
"_required_": false,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"dhcp": {
"type": "boolean",
"_name_": "dhcp",
"title": "dhcp",
"_required_": false
},
"vlan": {
"type": [
"integer",
"null"
],
"_name_": "vlan",
"title": "vlan",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"channel": {
"type": "integer",
"_name_": "channel",
"title": "channel",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ipmi_entry",
"title": "ipmi_update",
"default": {},
"_required_": false,
"_attrs_order_": [
"ipaddress",
"netmask",
"gateway",
"password",
"dhcp",
"vlan",
"id",
"channel"
]
}
]
},
{
"type": "object",
"properties": {
"ipaddress": {
"_name_": "ipaddress",
"title": "ipaddress",
"_required_": false,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"dhcp": {
"type": "boolean",
"_name_": "dhcp",
"title": "dhcp",
"_required_": false
},
"vlan": {
"type": [
"integer",
"null"
],
"_name_": "vlan",
"title": "vlan",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"channel": {
"type": "integer",
"_name_": "channel",
"title": "channel",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ipmi_entry",
"title": "ipmi_update",
"default": {},
"_required_": false,
"_attrs_order_": [
"ipaddress",
"netmask",
"gateway",
"password",
"dhcp",
"vlan",
"id",
"channel"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"ipaddress": {
"_name_": "ipaddress",
"title": "ipaddress",
"_required_": false,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"dhcp": {
"type": "boolean",
"_name_": "dhcp",
"title": "dhcp",
"_required_": false
},
"vlan": {
"type": [
"integer",
"null"
],
"_name_": "vlan",
"title": "vlan",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"channel": {
"type": "integer",
"_name_": "channel",
"title": "channel",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ipmi_entry",
"title": "ipmi_update",
"default": {},
"_required_": false,
"_attrs_order_": [
"ipaddress",
"netmask",
"gateway",
"password",
"dhcp",
"vlan",
"id",
"channel"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query all IPMI Channels with |
ipmi.query_sel |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Query IPMI System Event Log |
ipmi.update |
---|
Arguments:
{
"type": "integer",
"_name_": "channel",
"title": "channel"
}
{
"type": "object",
"properties": {
"ipaddress": {
"_name_": "ipaddress",
"title": "ipaddress",
"_required_": false,
"type": "string",
"description": "`ipaddress` is a valid ip which will be used to connect to the IPMI interface.\n`netmask` is the subnet mask associated with `ipaddress`."
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string",
"description": "`netmask` is the subnet mask associated with `ipaddress`."
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"dhcp": {
"type": "boolean",
"_name_": "dhcp",
"title": "dhcp",
"_required_": false
},
"vlan": {
"type": [
"integer",
"null"
],
"_name_": "vlan",
"title": "vlan",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ipmi_update",
"title": "ipmi_update",
"default": {},
"_attrs_order_": [
"ipaddress",
"netmask",
"gateway",
"password",
"dhcp",
"vlan"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"ipaddress": {
"_name_": "ipaddress",
"title": "ipaddress",
"_required_": false,
"type": "string",
"description": "`ipaddress` is a valid ip which will be used to connect to the IPMI interface.\n`netmask` is the subnet mask associated with `ipaddress`."
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string",
"description": "`netmask` is the subnet mask associated with `ipaddress`."
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"dhcp": {
"type": "boolean",
"_name_": "dhcp",
"title": "dhcp",
"_required_": false
},
"vlan": {
"type": [
"integer",
"null"
],
"_name_": "vlan",
"title": "vlan",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update `id` IPMI Configuration."
},
"channel": {
"type": "integer",
"_name_": "channel",
"title": "channel",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ipmi_update_returns",
"title": "ipmi_update",
"default": {},
"_attrs_order_": [
"ipaddress",
"netmask",
"gateway",
"password",
"dhcp",
"vlan",
"id",
"channel"
]
}
|
Update
|
iscsi.auth.create |
---|
Arguments:
{
"type": "object",
"properties": {
"tag": {
"type": "integer",
"_name_": "tag",
"title": "tag",
"_required_": true,
"description": "`tag` should be unique among all configured iSCSI Authorized Accesses."
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": true,
"type": "string",
"description": "`secret` and `peersecret` should have length between 12-16 letters inclusive."
},
"peeruser": {
"_name_": "peeruser",
"title": "peeruser",
"default": "",
"_required_": false,
"type": "string"
},
"peersecret": {
"_name_": "peersecret",
"title": "peersecret",
"default": "",
"_required_": false,
"type": "string",
"description": "`secret` and `peersecret` should have length between 12-16 letters inclusive."
}
},
"additionalProperties": false,
"_name_": "iscsi_auth_create",
"title": "iscsi_auth_create",
"default": {},
"_attrs_order_": [
"tag",
"user",
"secret",
"peeruser",
"peersecret"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_auth_create_returns",
"title": "iscsi_auth_entry",
"default": {},
"_attrs_order_": []
}
|
Create an iSCSI Authorized Access.
|
iscsi.auth.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete iSCSI Authorized Access of |
iscsi.auth.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_auth_entry",
"title": "iscsi_auth_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_auth_entry",
"title": "iscsi_auth_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_auth_entry",
"title": "iscsi_auth_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.auth.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update iSCSI Authorized Access of `id`.\nCreate an iSCSI Authorized Access."
}
{
"type": "object",
"properties": {
"tag": {
"type": "integer",
"_name_": "tag",
"title": "tag",
"_required_": true,
"description": "`tag` should be unique among all configured iSCSI Authorized Accesses."
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"secret": {
"_name_": "secret",
"title": "secret",
"_required_": true,
"type": "string",
"description": "`secret` and `peersecret` should have length between 12-16 letters inclusive."
},
"peeruser": {
"_name_": "peeruser",
"title": "peeruser",
"default": "",
"_required_": false,
"type": "string"
},
"peersecret": {
"_name_": "peersecret",
"title": "peersecret",
"default": "",
"_required_": false,
"type": "string",
"description": "`secret` and `peersecret` should have length between 12-16 letters inclusive."
}
},
"additionalProperties": false,
"_name_": "iscsi_auth_update",
"title": "iscsi_auth_create",
"default": {},
"_attrs_order_": [
"tag",
"user",
"secret",
"peeruser",
"peersecret"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_auth_update_returns",
"title": "iscsi_auth_entry",
"default": {},
"_attrs_order_": []
}
|
Update iSCSI Authorized Access of |
iscsi.extent.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"default": "DISK",
"_required_": false,
"type": "string",
"enum": [
"DISK",
"FILE"
],
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE.\nWith `type` being set to DISK, a valid ZVOL is required."
},
"disk": {
"_name_": "disk",
"title": "disk",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"serial": {
"_name_": "serial",
"title": "serial",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"path": {
"_name_": "path",
"title": "path",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE."
},
"filesize": {
"type": "integer",
"_name_": "filesize",
"title": "filesize",
"default": 0,
"_required_": false,
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE."
},
"blocksize": {
"type": "integer",
"_name_": "blocksize",
"title": "blocksize",
"default": 512,
"_required_": false,
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE."
},
"pblocksize": {
"type": "boolean",
"_name_": "pblocksize",
"title": "pblocksize",
"_required_": false
},
"avail_threshold": {
"type": [
"integer",
"null"
],
"_name_": "avail_threshold",
"title": "avail_threshold",
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"insecure_tpc": {
"type": "boolean",
"_name_": "insecure_tpc",
"title": "insecure_tpc",
"default": true,
"_required_": false,
"description": "`insecure_tpc` when enabled allows an initiator to bypass normal access control and access any scannable\ntarget. This allows xcopy operations otherwise blocked by access control."
},
"xen": {
"type": "boolean",
"_name_": "xen",
"title": "xen",
"_required_": false,
"description": "`xen` is a boolean value which is set to true if Xen is being used as the iSCSI initiator."
},
"rpm": {
"_name_": "rpm",
"title": "rpm",
"default": "SSD",
"_required_": false,
"type": "string",
"enum": [
"UNKNOWN",
"SSD",
"5400",
"7200",
"10000",
"15000"
]
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "iscsi_extent_create",
"title": "iscsi_extent_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"disk",
"serial",
"path",
"filesize",
"blocksize",
"pblocksize",
"avail_threshold",
"comment",
"insecure_tpc",
"xen",
"rpm",
"ro",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_extent_create_returns",
"title": "iscsi_extent_entry",
"default": {},
"_attrs_order_": []
}
|
Create an iSCSI Extent. When With
|
iscsi.extent.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete iSCSI Extent of `id`."
}
{
"type": "boolean",
"_name_": "remove",
"title": "remove",
"default": false
}
{
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete iSCSI Extent of If |
iscsi.extent.disk_choices |
---|
Arguments:
{
"_name_": "ignore",
"title": "ignore",
"default": [],
"type": "array",
"items": []
}
|
Return a dict of available zvols that can be used when creating an extent.
|
iscsi.extent.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_extent_entry",
"title": "iscsi_extent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_extent_entry",
"title": "iscsi_extent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_extent_entry",
"title": "iscsi_extent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.extent.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update iSCSI Extent of `id`.\nCreate an iSCSI Extent."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"default": "DISK",
"_required_": false,
"type": "string",
"enum": [
"DISK",
"FILE"
],
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE.\nWith `type` being set to DISK, a valid ZVOL is required."
},
"disk": {
"_name_": "disk",
"title": "disk",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"serial": {
"_name_": "serial",
"title": "serial",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"path": {
"_name_": "path",
"title": "path",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE."
},
"filesize": {
"type": "integer",
"_name_": "filesize",
"title": "filesize",
"default": 0,
"_required_": false,
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE."
},
"blocksize": {
"type": "integer",
"_name_": "blocksize",
"title": "blocksize",
"default": 512,
"_required_": false,
"description": "When `type` is set to FILE, attribute `filesize` is used and it represents number of bytes. `filesize` if\nnot zero should be a multiple of `blocksize`. `path` is a required attribute with `type` set as FILE."
},
"pblocksize": {
"type": "boolean",
"_name_": "pblocksize",
"title": "pblocksize",
"_required_": false
},
"avail_threshold": {
"type": [
"integer",
"null"
],
"_name_": "avail_threshold",
"title": "avail_threshold",
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"insecure_tpc": {
"type": "boolean",
"_name_": "insecure_tpc",
"title": "insecure_tpc",
"default": true,
"_required_": false,
"description": "`insecure_tpc` when enabled allows an initiator to bypass normal access control and access any scannable\ntarget. This allows xcopy operations otherwise blocked by access control."
},
"xen": {
"type": "boolean",
"_name_": "xen",
"title": "xen",
"_required_": false,
"description": "`xen` is a boolean value which is set to true if Xen is being used as the iSCSI initiator."
},
"rpm": {
"_name_": "rpm",
"title": "rpm",
"default": "SSD",
"_required_": false,
"type": "string",
"enum": [
"UNKNOWN",
"SSD",
"5400",
"7200",
"10000",
"15000"
]
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "iscsi_extent_update",
"title": "iscsi_extent_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"disk",
"serial",
"path",
"filesize",
"blocksize",
"pblocksize",
"avail_threshold",
"comment",
"insecure_tpc",
"xen",
"rpm",
"ro",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_extent_update_returns",
"title": "iscsi_extent_entry",
"default": {},
"_attrs_order_": []
}
|
Update iSCSI Extent of |
iscsi.global.alua_enabled |
---|
Returns whether iSCSI ALUA is enabled or not. |
iscsi.global.client_count |
---|
Return currently connected clients count. |
iscsi.global.config |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_global_entry",
"title": "iscsi_global_entry",
"default": {},
"_attrs_order_": []
}
|
- |
iscsi.global.sessions |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"initiator": {
"_name_": "initiator",
"title": "initiator",
"_required_": false,
"type": "string"
},
"initiator_addr": {
"_name_": "initiator_addr",
"title": "initiator_addr",
"_required_": false,
"type": "string"
},
"initiator_alias": {
"_name_": "initiator_alias",
"title": "initiator_alias",
"_required_": false,
"type": [
"string",
"null"
]
},
"target": {
"_name_": "target",
"title": "target",
"_required_": false,
"type": "string"
},
"target_alias": {
"_name_": "target_alias",
"title": "target_alias",
"_required_": false,
"type": "string"
},
"header_digest": {
"_name_": "header_digest",
"title": "header_digest",
"_required_": false,
"type": [
"string",
"null"
]
},
"data_digest": {
"_name_": "data_digest",
"title": "data_digest",
"_required_": false,
"type": [
"string",
"null"
]
},
"max_data_segment_length": {
"type": [
"integer",
"null"
],
"_name_": "max_data_segment_length",
"title": "max_data_segment_length",
"_required_": false
},
"max_receive_data_segment_length": {
"type": [
"integer",
"null"
],
"_name_": "max_receive_data_segment_length",
"title": "max_receive_data_segment_length",
"_required_": false
},
"max_burst_length": {
"type": [
"integer",
"null"
],
"_name_": "max_burst_length",
"title": "max_burst_length",
"_required_": false
},
"first_burst_length": {
"type": [
"integer",
"null"
],
"_name_": "first_burst_length",
"title": "first_burst_length",
"_required_": false
},
"immediate_data": {
"type": "boolean",
"_name_": "immediate_data",
"title": "immediate_data",
"_required_": false
},
"iser": {
"type": "boolean",
"_name_": "iser",
"title": "iser",
"_required_": false
},
"offload": {
"type": "boolean",
"_name_": "offload",
"title": "offload",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "session",
"title": "session",
"default": {},
"_required_": false,
"_attrs_order_": [
"initiator",
"initiator_addr",
"initiator_alias",
"target",
"target_alias",
"header_digest",
"data_digest",
"max_data_segment_length",
"max_receive_data_segment_length",
"max_burst_length",
"first_burst_length",
"immediate_data",
"iser",
"offload"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"initiator": {
"_name_": "initiator",
"title": "initiator",
"_required_": false,
"type": "string"
},
"initiator_addr": {
"_name_": "initiator_addr",
"title": "initiator_addr",
"_required_": false,
"type": "string"
},
"initiator_alias": {
"_name_": "initiator_alias",
"title": "initiator_alias",
"_required_": false,
"type": [
"string",
"null"
]
},
"target": {
"_name_": "target",
"title": "target",
"_required_": false,
"type": "string"
},
"target_alias": {
"_name_": "target_alias",
"title": "target_alias",
"_required_": false,
"type": "string"
},
"header_digest": {
"_name_": "header_digest",
"title": "header_digest",
"_required_": false,
"type": [
"string",
"null"
]
},
"data_digest": {
"_name_": "data_digest",
"title": "data_digest",
"_required_": false,
"type": [
"string",
"null"
]
},
"max_data_segment_length": {
"type": [
"integer",
"null"
],
"_name_": "max_data_segment_length",
"title": "max_data_segment_length",
"_required_": false
},
"max_receive_data_segment_length": {
"type": [
"integer",
"null"
],
"_name_": "max_receive_data_segment_length",
"title": "max_receive_data_segment_length",
"_required_": false
},
"max_burst_length": {
"type": [
"integer",
"null"
],
"_name_": "max_burst_length",
"title": "max_burst_length",
"_required_": false
},
"first_burst_length": {
"type": [
"integer",
"null"
],
"_name_": "first_burst_length",
"title": "first_burst_length",
"_required_": false
},
"immediate_data": {
"type": "boolean",
"_name_": "immediate_data",
"title": "immediate_data",
"_required_": false
},
"iser": {
"type": "boolean",
"_name_": "iser",
"title": "iser",
"_required_": false
},
"offload": {
"type": "boolean",
"_name_": "offload",
"title": "offload",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "session",
"title": "session",
"default": {},
"_required_": false,
"_attrs_order_": [
"initiator",
"initiator_addr",
"initiator_alias",
"target",
"target_alias",
"header_digest",
"data_digest",
"max_data_segment_length",
"max_receive_data_segment_length",
"max_burst_length",
"first_burst_length",
"immediate_data",
"iser",
"offload"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
Get a list of currently running iSCSI sessions. This includes initiator and target names and the unique connection IDs. |
iscsi.global.update |
---|
Arguments:
{
"type": "object",
"properties": {
"basename": {
"_name_": "basename",
"title": "basename",
"_required_": false,
"type": "string"
},
"isns_servers": {
"_name_": "isns_servers",
"title": "isns_servers",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "server",
"title": "server",
"_required_": false,
"type": "string"
}
]
},
"pool_avail_threshold": {
"type": [
"integer",
"null"
],
"_name_": "pool_avail_threshold",
"title": "pool_avail_threshold",
"_required_": false
},
"alua": {
"type": "boolean",
"_name_": "alua",
"title": "alua",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "iscsiglobal_update",
"title": "iscsiglobal_update",
"default": {},
"_attrs_order_": [
"basename",
"isns_servers",
"pool_avail_threshold",
"alua"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_global_update_returns",
"title": "iscsi_global_entry",
"default": {},
"_attrs_order_": []
}
|
|
iscsi.host.create |
---|
Arguments:
{
"type": "object",
"properties": {
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": true,
"type": "string",
"description": "`ip` indicates an IP address of the host."
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": false,
"type": "string",
"description": "`description` is a human-readable name for the host."
},
"iqns": {
"_name_": "iqns",
"title": "iqns",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "iqn",
"title": "iqn",
"_required_": false,
"type": "string"
}
]
},
"added_automatically": {
"type": "boolean",
"_name_": "added_automatically",
"title": "added_automatically",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "iscsi_host_create",
"title": "iscsi_host_create",
"default": {},
"_attrs_order_": [
"ip",
"description",
"iqns",
"added_automatically"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_host_create_returns",
"title": "iscsi_host_entry",
"default": {},
"_attrs_order_": []
}
|
Creates iSCSI host.
|
iscsi.host.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Update iSCSI host |
iscsi.host.get_initiators |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Returns initiator groups associated with host |
iscsi.host.get_targets |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Returns targets associated with host |
iscsi.host.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_host_entry",
"title": "iscsi_host_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_host_entry",
"title": "iscsi_host_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_host_entry",
"title": "iscsi_host_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.host.set_initiators |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Associates initiator groups `ids` with host `id`."
}
{
"_name_": "ids",
"title": "ids",
"default": [],
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
],
"description": "Associates initiator groups `ids` with host `id`."
}
{
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false
}
|
Associates initiator groups |
iscsi.host.set_targets |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"_name_": "ids",
"title": "ids",
"default": [],
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
]
}
|
Associates targets |
iscsi.host.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update iSCSI host `id`.\nCreates iSCSI host."
}
{
"type": "object",
"properties": {
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": true,
"type": "string",
"description": "`ip` indicates an IP address of the host."
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": false,
"type": "string",
"description": "`description` is a human-readable name for the host."
},
"iqns": {
"_name_": "iqns",
"title": "iqns",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "iqn",
"title": "iqn",
"_required_": false,
"type": "string"
}
]
},
"added_automatically": {
"type": "boolean",
"_name_": "added_automatically",
"title": "added_automatically",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "iscsi_host_update",
"title": "iscsi_host_create",
"default": {},
"_attrs_order_": [
"ip",
"description",
"iqns",
"added_automatically"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_host_update_returns",
"title": "iscsi_host_entry",
"default": {},
"_attrs_order_": []
}
|
Update iSCSI host |
iscsi.initiator.create |
---|
Arguments:
{
"type": "object",
"properties": {
"initiators": {
"_name_": "initiators",
"title": "initiators",
"default": [],
"_required_": false,
"type": "array",
"items": [],
"description": "`initiators` is a list of initiator hostnames which are authorized to access an iSCSI Target. To allow all\npossible initiators, `initiators` can be left empty."
},
"auth_network": {
"_name_": "auth_network",
"title": "auth_network",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "iscsi_initiator_create",
"title": "iscsi_initiator_create",
"default": {},
"_attrs_order_": [
"initiators",
"auth_network",
"comment"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_initiator_create_returns",
"title": "iscsi_initiator_entry",
"default": {},
"_attrs_order_": []
}
|
Create an iSCSI Initiator.
|
iscsi.initiator.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete iSCSI initiator of |
iscsi.initiator.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_initiator_entry",
"title": "iscsi_initiator_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_initiator_entry",
"title": "iscsi_initiator_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_initiator_entry",
"title": "iscsi_initiator_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.initiator.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update iSCSI initiator of `id`.\nCreate an iSCSI Initiator."
}
{
"type": "object",
"properties": {
"initiators": {
"_name_": "initiators",
"title": "initiators",
"default": [],
"_required_": false,
"type": "array",
"items": [],
"description": "`initiators` is a list of initiator hostnames which are authorized to access an iSCSI Target. To allow all\npossible initiators, `initiators` can be left empty."
},
"auth_network": {
"_name_": "auth_network",
"title": "auth_network",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "iscsi_initiator_update",
"title": "iscsi_initiator_create",
"default": {},
"_attrs_order_": [
"initiators",
"auth_network",
"comment"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_initiator_update_returns",
"title": "iscsi_initiator_entry",
"default": {},
"_attrs_order_": []
}
|
Update iSCSI initiator of |
iscsi.portal.create |
---|
Arguments:
{
"type": "object",
"properties": {
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"discovery_authmethod": {
"_name_": "discovery_authmethod",
"title": "discovery_authmethod",
"default": "NONE",
"_required_": false,
"type": "string",
"enum": [
"NONE",
"CHAP",
"CHAP_MUTUAL"
]
},
"discovery_authgroup": {
"type": [
"integer",
"null"
],
"_name_": "discovery_authgroup",
"title": "discovery_authgroup",
"default": null,
"_required_": false
},
"listen": {
"_name_": "listen",
"title": "listen",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"default": 3260,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "listen",
"title": "listen",
"default": {},
"_required_": false,
"_attrs_order_": [
"ip",
"port"
]
}
]
}
},
"additionalProperties": false,
"_name_": "iscsiportal_create",
"title": "iscsiportal_create",
"default": {},
"_attrs_order_": [
"comment",
"discovery_authmethod",
"discovery_authgroup",
"listen"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_portal_create_returns",
"title": "iscsi_portal_entry",
"default": {},
"_attrs_order_": []
}
|
Create a new iSCSI Portal.
|
iscsi.portal.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete iSCSI Portal |
iscsi.portal.listen_ip_choices |
---|
Returns possible choices for |
iscsi.portal.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_portal_entry",
"title": "iscsi_portal_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_portal_entry",
"title": "iscsi_portal_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_portal_entry",
"title": "iscsi_portal_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.portal.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update iSCSI Portal `id`.\nCreate a new iSCSI Portal."
}
{
"type": "object",
"properties": {
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"discovery_authmethod": {
"_name_": "discovery_authmethod",
"title": "discovery_authmethod",
"default": "NONE",
"_required_": false,
"type": "string",
"enum": [
"NONE",
"CHAP",
"CHAP_MUTUAL"
]
},
"discovery_authgroup": {
"type": [
"integer",
"null"
],
"_name_": "discovery_authgroup",
"title": "discovery_authgroup",
"default": null,
"_required_": false
},
"listen": {
"_name_": "listen",
"title": "listen",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"ip": {
"_name_": "ip",
"title": "ip",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"default": 3260,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "listen",
"title": "listen",
"default": {},
"_required_": false,
"_attrs_order_": [
"ip",
"port"
]
}
]
}
},
"additionalProperties": false,
"_name_": "iscsiportal_update",
"title": "iscsiportal_create",
"default": {},
"_attrs_order_": [
"comment",
"discovery_authmethod",
"discovery_authgroup",
"listen"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_portal_update_returns",
"title": "iscsi_portal_entry",
"default": {},
"_attrs_order_": []
}
|
Update iSCSI Portal |
iscsi.target.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"alias": {
"_name_": "alias",
"title": "alias",
"_required_": false,
"type": [
"string",
"null"
]
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "ISCSI",
"_required_": false,
"type": "string",
"enum": [
"ISCSI",
"FC",
"BOTH"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"portal": {
"type": "integer",
"_name_": "portal",
"title": "portal",
"_required_": true
},
"initiator": {
"type": [
"integer",
"null"
],
"_name_": "initiator",
"title": "initiator",
"default": null,
"_required_": false
},
"authmethod": {
"_name_": "authmethod",
"title": "authmethod",
"default": "NONE",
"_required_": false,
"type": "string",
"enum": [
"NONE",
"CHAP",
"CHAP_MUTUAL"
]
},
"auth": {
"type": [
"integer",
"null"
],
"_name_": "auth",
"title": "auth",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "group",
"title": "group",
"default": {},
"_required_": false,
"_attrs_order_": [
"portal",
"initiator",
"authmethod",
"auth"
]
}
]
}
},
"additionalProperties": false,
"_name_": "iscsi_target_create",
"title": "iscsi_target_create",
"default": {},
"_attrs_order_": [
"name",
"alias",
"mode",
"groups"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_target_create_returns",
"title": "iscsi_target_entry",
"default": {},
"_attrs_order_": []
}
|
Create an iSCSI Target.
|
iscsi.target.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete iSCSI Target of `id`."
}
{
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete iSCSI Target of Deleting an iSCSI Target makes sure we delete all Associated Targets which use |
iscsi.target.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_target_entry",
"title": "iscsi_target_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_target_entry",
"title": "iscsi_target_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_target_entry",
"title": "iscsi_target_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.target.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update iSCSI Target of `id`.\nCreate an iSCSI Target."
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"alias": {
"_name_": "alias",
"title": "alias",
"_required_": false,
"type": [
"string",
"null"
]
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "ISCSI",
"_required_": false,
"type": "string",
"enum": [
"ISCSI",
"FC",
"BOTH"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"portal": {
"type": "integer",
"_name_": "portal",
"title": "portal",
"_required_": true
},
"initiator": {
"type": [
"integer",
"null"
],
"_name_": "initiator",
"title": "initiator",
"default": null,
"_required_": false
},
"authmethod": {
"_name_": "authmethod",
"title": "authmethod",
"default": "NONE",
"_required_": false,
"type": "string",
"enum": [
"NONE",
"CHAP",
"CHAP_MUTUAL"
]
},
"auth": {
"type": [
"integer",
"null"
],
"_name_": "auth",
"title": "auth",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "group",
"title": "group",
"default": {},
"_required_": false,
"_attrs_order_": [
"portal",
"initiator",
"authmethod",
"auth"
]
}
]
}
},
"additionalProperties": false,
"_name_": "iscsi_target_update",
"title": "iscsi_target_create",
"default": {},
"_attrs_order_": [
"name",
"alias",
"mode",
"groups"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_target_update_returns",
"title": "iscsi_target_entry",
"default": {},
"_attrs_order_": []
}
|
Update iSCSI Target of |
iscsi.targetextent.create |
---|
Arguments:
{
"type": "object",
"properties": {
"target": {
"type": "integer",
"_name_": "target",
"title": "target",
"_required_": true
},
"lunid": {
"type": [
"integer",
"null"
],
"_name_": "lunid",
"title": "lunid",
"_required_": false
},
"extent": {
"type": "integer",
"_name_": "extent",
"title": "extent",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "iscsi_targetextent_create",
"title": "iscsi_targetextent_create",
"default": {},
"_attrs_order_": [
"target",
"lunid",
"extent"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_targetextent_create_returns",
"title": "iscsi_targetextent_entry",
"default": {},
"_attrs_order_": []
}
|
Create an Associated Target.
|
iscsi.targetextent.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Associated Target of |
iscsi.targetextent.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_targetextent_entry",
"title": "iscsi_targetextent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_targetextent_entry",
"title": "iscsi_targetextent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_targetextent_entry",
"title": "iscsi_targetextent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
iscsi.targetextent.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Associated Target of `id`.\nCreate an Associated Target."
}
{
"type": "object",
"properties": {
"target": {
"type": "integer",
"_name_": "target",
"title": "target",
"_required_": true
},
"lunid": {
"type": "integer",
"_name_": "lunid",
"title": "lunid",
"_required_": false
},
"extent": {
"type": "integer",
"_name_": "extent",
"title": "extent",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "iscsi_targetextent_update",
"title": "iscsi_targetextent_create",
"default": {},
"_attrs_order_": [
"target",
"lunid",
"extent"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_targetextent_update_returns",
"title": "iscsi_targetextent_entry",
"default": {},
"_attrs_order_": []
}
|
Update Associated Target of |
kerberos.config |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "kerberos_entry",
"title": "kerberos_entry",
"default": {},
"_attrs_order_": []
}
|
- |
kerberos.update |
---|
Arguments:
{
"type": "object",
"properties": {
"appdefaults_aux": {
"_name_": "appdefaults_aux",
"title": "appdefaults_aux",
"_required_": false,
"type": "string",
"description": "`appdefaults_aux` add parameters to \"appdefaults\" section of the krb5.conf file."
},
"libdefaults_aux": {
"_name_": "libdefaults_aux",
"title": "libdefaults_aux",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "kerberos_settings_update",
"title": "kerberos_settings_update",
"default": {},
"_attrs_order_": [
"appdefaults_aux",
"libdefaults_aux"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "kerberos_update_returns",
"title": "kerberos_entry",
"default": {},
"_attrs_order_": []
}
|
|
kerberos.keytab.create |
---|
Arguments:
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string",
"description": "`file` b64encoded kerberos keytab"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_create",
"title": "kerberos_keytab_create",
"default": {},
"_attrs_order_": [
"file",
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string",
"description": "`file` b64encoded kerberos keytab"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_create_returns",
"title": "kerberos_keytab_create",
"default": {},
"_attrs_order_": [
"file",
"name",
"id"
]
}
|
Create a kerberos keytab. Uploaded keytab files will be merged with the system keytab under /etc/krb5.keytab.
|
kerberos.keytab.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete kerberos keytab by id, and force regeneration of system keytab. |
kerberos.keytab.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_entry",
"title": "kerberos_keytab_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"file",
"name",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_entry",
"title": "kerberos_keytab_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"file",
"name",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_entry",
"title": "kerberos_keytab_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"file",
"name",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
kerberos.keytab.system_keytab_list |
---|
Return Arguments:
{
"_name_": "system-keytab",
"title": "system-keytab",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"slot": {
"type": "integer",
"_name_": "slot",
"title": "slot",
"_required_": false
},
"kvno": {
"type": "integer",
"_name_": "kvno",
"title": "kvno",
"_required_": false
},
"principal": {
"_name_": "principal",
"title": "principal",
"_required_": false,
"type": "string"
},
"etype": {
"_name_": "etype",
"title": "etype",
"_required_": false,
"type": "string"
},
"etype_deprecated": {
"type": "boolean",
"_name_": "etype_deprecated",
"title": "etype_deprecated",
"_required_": false
},
"date": {
"_name_": "date",
"title": "date",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "keytab-entry",
"title": "keytab-entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"slot",
"kvno",
"principal",
"etype",
"etype_deprecated",
"date"
]
}
]
}
|
Returns content of system keytab (/etc/krb5.keytab). |
kerberos.keytab.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string",
"description": "`file` b64encoded kerberos keytab"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_update",
"title": "kerberos_keytab_create",
"default": {},
"_attrs_order_": [
"file",
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string",
"description": "`file` b64encoded kerberos keytab"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_update_returns",
"title": "kerberos_keytab_create",
"default": {},
"_attrs_order_": [
"file",
"name",
"id"
]
}
|
Update kerberos keytab by id. |
kerberos.keytab.upload_keytab |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "keytab_data",
"title": "keytab_data",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_entry",
"title": "kerberos_keytab_create",
"default": {},
"_attrs_order_": [
"file",
"name",
"id"
]
}
|
Upload a keytab file. This method expects the keytab file to be uploaded using the /_upload/ endpoint. |
kerberos.realm.create |
---|
Arguments:
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_create",
"title": "kerberos_realm_create",
"default": {},
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_create_returns",
"title": "kerberos_realm_create",
"default": {},
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server",
"id"
]
}
|
Create a new kerberos realm. This will be automatically populated during the domain join process in an Active Directory environment. Kerberos realm names are case-sensitive, but convention is to only use upper-case. Entries for kdc, admin_server, and kpasswd_server are not required. If they are unpopulated, then kerberos will use DNS srv records to discover the correct servers. The option to hard-code them is provided due to AD site discovery. Kerberos has no concept of Active Directory sites. This means that middleware performs the site discovery and sets the kerberos configuration based on the AD site. |
kerberos.realm.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a kerberos realm by ID. |
kerberos.realm.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_entry",
"title": "kerberos_realm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_entry",
"title": "kerberos_realm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_entry",
"title": "kerberos_realm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
kerberos.realm.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_update",
"title": "kerberos_realm_create",
"default": {},
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_update_returns",
"title": "kerberos_realm_create",
"default": {},
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server",
"id"
]
}
|
Update a kerberos realm by id. This will be automatically populated during the domain join process in an Active Directory environment. Kerberos realm names are case-sensitive, but convention is to only use upper-case. |
keychaincredential.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Every Keychain Credential has a `name` which is used to distinguish it from others."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "The following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": [],
"description": "The following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required.\n * `SSH_CREDENTIALS`\n Which `attributes` are:\n * `host`\n * `port` (default 22)\n * `username` (default root)\n * `private_key` (Keychain Credential ID)\n * `remote_host_key` (you can use `keychaincredential.remote_ssh_host_key_scan` do discover it)\n * `cipher`: one of `STANDARD`, `FAST`, or `DISABLED` (last requires special support from both SSH server and\n client)\n * `connect_timeout` (default 10)"
}
},
"additionalProperties": false,
"_name_": "keychain_credential_create",
"title": "keychain_credential_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Every Keychain Credential has a `name` which is used to distinguish it from others."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "The following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": [],
"description": "The following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required.\n * `SSH_CREDENTIALS`\n Which `attributes` are:\n * `host`\n * `port` (default 22)\n * `username` (default root)\n * `private_key` (Keychain Credential ID)\n * `remote_host_key` (you can use `keychaincredential.remote_ssh_host_key_scan` do discover it)\n * `cipher`: one of `STANDARD`, `FAST`, or `DISABLED` (last requires special support from both SSH server and\n client)\n * `connect_timeout` (default 10)"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychaincredential_create_returns",
"title": "keychain_credential_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
|
Create a Keychain Credential Create a Keychain Credential of any type.
Every Keychain Credential has a
|
|
keychaincredential.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete Keychain Credential with specific `id`"
}
{
"type": "object",
"properties": {
"cascade": {
"type": "boolean",
"_name_": "cascade",
"title": "cascade",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"cascade"
]
}
|
Delete Keychain Credential with specific |
|
keychaincredential.generate_ssh_key_pair |
---|
Return Arguments:
{
"type": "object",
"properties": {
"private_key": {
"_name_": "private_key",
"title": "private_key",
"_required_": true,
"type": "string"
},
"public_key": {
"_name_": "public_key",
"title": "public_key",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ssh_key_pair",
"title": "ssh_key_pair",
"default": {},
"_attrs_order_": [
"private_key",
"public_key"
]
}
|
Generate a public/private key pair Generate a public/private key pair (useful for |
|
keychaincredential.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_credential_entry",
"title": "keychain_credential_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_credential_entry",
"title": "keychain_credential_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_credential_entry",
"title": "keychain_credential_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
keychaincredential.remote_ssh_host_key_scan |
---|
Arguments:
{
"type": "object",
"properties": {
"host": {
"_name_": "host",
"title": "host",
"_required_": true,
"type": "string"
},
"port": {
"_name_": "port",
"title": "port",
"default": 22,
"_required_": false,
"type": "string"
},
"connect_timeout": {
"type": "integer",
"_name_": "connect_timeout",
"title": "connect_timeout",
"default": 10,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_remote_ssh_host_key_scan",
"title": "keychain_remote_ssh_host_key_scan",
"default": {},
"_attrs_order_": [
"host",
"port",
"connect_timeout"
]
}
|
Return Arguments:
{
"_name_": "remove_ssh_host_key",
"title": "remove_ssh_host_key",
"type": "string"
}
|
Discover a remote host key Discover a remote host key (useful for |
|
keychaincredential.remote_ssh_semiautomatic_setup |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a `SSH_CREDENTIALS`\ncredential with specified `name` that can be used to connect to FreeNAS machine with specified `url` and\ntemporary auth `token`. Other FreeNAS machine adds `private_key` to allowed `username`'s private keys. Other"
},
"url": {
"_name_": "url",
"title": "url",
"_required_": true,
"type": "string",
"description": "Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a `SSH_CREDENTIALS`\ncredential with specified `name` that can be used to connect to FreeNAS machine with specified `url` and\ntemporary auth `token`. Other FreeNAS machine adds `private_key` to allowed `username`'s private keys. Other"
},
"token": {
"_name_": "token",
"title": "token",
"_required_": false,
"type": "string",
"description": "Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a `SSH_CREDENTIALS`\ncredential with specified `name` that can be used to connect to FreeNAS machine with specified `url` and\ntemporary auth `token`. Other FreeNAS machine adds `private_key` to allowed `username`'s private keys. Other"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"default": "root",
"_required_": false,
"type": "string",
"description": "Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a `SSH_CREDENTIALS`\ncredential with specified `name` that can be used to connect to FreeNAS machine with specified `url` and\ntemporary auth `token`. Other FreeNAS machine adds `private_key` to allowed `username`'s private keys. Other"
},
"private_key": {
"type": "integer",
"_name_": "private_key",
"title": "private_key",
"_required_": true,
"description": "Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a `SSH_CREDENTIALS`\ncredential with specified `name` that can be used to connect to FreeNAS machine with specified `url` and\ntemporary auth `token`. Other FreeNAS machine adds `private_key` to allowed `username`'s private keys. Other"
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"default": "STANDARD",
"_required_": false,
"type": "string",
"enum": [
"STANDARD",
"FAST",
"DISABLED"
],
"description": "`SSH_CREDENTIALS` attributes such as `cipher` and `connect_timeout` can be specified as well."
},
"connect_timeout": {
"type": "integer",
"_name_": "connect_timeout",
"title": "connect_timeout",
"default": 10,
"_required_": false,
"description": "`SSH_CREDENTIALS` attributes such as `cipher` and `connect_timeout` can be specified as well."
}
},
"additionalProperties": false,
"_name_": "keychain_remote_ssh_semiautomatic_setup",
"title": "keychain_remote_ssh_semiautomatic_setup",
"default": {},
"_attrs_order_": [
"name",
"url",
"token",
"password",
"username",
"private_key",
"cipher",
"connect_timeout"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a `SSH_CREDENTIALS`\ncredential with specified `name` that can be used to connect to FreeNAS machine with specified `url` and\ntemporary auth `token`. Other FreeNAS machine adds `private_key` to allowed `username`'s private keys. Other\n`SSH_CREDENTIALS` attributes such as `cipher` and `connect_timeout` can be specified as well."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_credential_entry",
"title": "keychain_credential_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
|
Perform semi-automatic SSH connection setup with other FreeNAS machine Perform semi-automatic SSH connection setup with other FreeNAS machine. It creates a |
|
keychaincredential.setup_ssh_connection |
---|
Arguments:
{
"type": "object",
"properties": {
"private_key": {
"type": "object",
"properties": {
"generate_key": {
"type": "boolean",
"_name_": "generate_key",
"title": "generate_key",
"default": true,
"_required_": false
},
"existing_key_id": {
"type": "integer",
"_name_": "existing_key_id",
"title": "existing_key_id",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "private_key",
"title": "private_key",
"default": {},
"_required_": false,
"_attrs_order_": [
"generate_key",
"existing_key_id",
"name"
]
},
"connection_name": {
"_name_": "connection_name",
"title": "connection_name",
"_required_": true,
"type": "string"
},
"setup_type": {
"_name_": "setup_type",
"title": "setup_type",
"default": "MANUAL",
"_required_": true,
"type": "string",
"enum": [
"SEMI-AUTOMATIC",
"MANUAL"
],
"description": "1) Generating SSH Key Pair if required\n2) Setting up SSH Credentials based on `setup_type`"
},
"semi_automatic_setup": {
"type": "object",
"properties": {
"url": {
"_name_": "url",
"title": "url",
"_required_": true,
"type": "string"
},
"token": {
"_name_": "token",
"title": "token",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"default": "root",
"_required_": false,
"type": "string"
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"default": "STANDARD",
"_required_": false,
"type": "string",
"enum": [
"STANDARD",
"FAST",
"DISABLED"
]
},
"connect_timeout": {
"type": "integer",
"_name_": "connect_timeout",
"title": "connect_timeout",
"default": 10,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "semi_automatic_setup",
"title": "keychain_remote_ssh_semiautomatic_setup",
"default": null,
"_required_": false,
"_attrs_order_": [
"url",
"token",
"password",
"username",
"cipher",
"connect_timeout"
]
},
"manual_setup": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "manual_setup",
"title": "manual_setup",
"default": null,
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "setup_ssh_connection",
"title": "setup_ssh_connection",
"default": {},
"_attrs_order_": [
"private_key",
"connection_name",
"setup_type",
"semi_automatic_setup",
"manual_setup"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_credential_entry",
"title": "keychain_credential_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
|
Creates a SSH Connection performing the following steps: 1) Generating SSH Key Pair if required
2) Setting up SSH Credentials based on In case (2) fails, it will be ensured that SSH Key Pair generated ( if applicable ) in the process is removed. |
keychaincredential.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update a Keychain Credential with specific `id`"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Every Keychain Credential has a `name` which is used to distinguish it from others.\nThe following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": [],
"description": "Also you must specify full `attributes` value\nEvery Keychain Credential has a `name` which is used to distinguish it from others.\nThe following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required.\n * `SSH_CREDENTIALS`\n Which `attributes` are:\n * `host`\n * `port` (default 22)\n * `username` (default root)\n * `private_key` (Keychain Credential ID)\n * `remote_host_key` (you can use `keychaincredential.remote_ssh_host_key_scan` do discover it)\n * `cipher`: one of `STANDARD`, `FAST`, or `DISABLED` (last requires special support from both SSH server and\n client)\n * `connect_timeout` (default 10)"
}
},
"additionalProperties": false,
"_name_": "keychain_credential_update",
"title": "keychain_credential_create",
"default": {},
"_attrs_order_": [
"name",
"attributes"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "Every Keychain Credential has a `name` which is used to distinguish it from others."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"description": "Please note that you can't change `type`\nThe following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": [],
"description": "Also you must specify full `attributes` value\nThe following `type`s are supported:\n * `SSH_KEY_PAIR`\n Which `attributes` are:\n * `private_key`\n * `public_key` (which can be omitted and thus automatically derived from private key)\n At least one attribute is required.\n * `SSH_CREDENTIALS`\n Which `attributes` are:\n * `host`\n * `port` (default 22)\n * `username` (default root)\n * `private_key` (Keychain Credential ID)\n * `remote_host_key` (you can use `keychaincredential.remote_ssh_host_key_scan` do discover it)\n * `cipher`: one of `STANDARD`, `FAST`, or `DISABLED` (last requires special support from both SSH server and\n client)\n * `connect_timeout` (default 10)"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update a Keychain Credential with specific `id`"
}
},
"additionalProperties": false,
"_name_": "keychaincredential_update_returns",
"title": "keychain_credential_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
|
Update a Keychain Credential with specific Please note that you can't change Also you must specify full See the documentation for |
|
keychaincredential.used_by |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"_name_": "credential_results",
"title": "credential_results",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"unbind_method": {
"_name_": "unbind_method",
"title": "unbind_method",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "credential_result",
"title": "credential_result",
"default": {},
"_required_": false,
"_attrs_order_": [
"title",
"unbind_method"
]
}
]
}
|
Returns list of objects that use this credential. |
kmip.clear_sync_pending_keys |
---|
Clear all keys which are pending to be synced between KMIP server and TN database. For ZFS/SED keys, we remove the UID from local database with which we are able to retrieve ZFS/SED keys. It should be used with caution. |
kmip.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"manage_sed_disks": {
"type": "boolean",
"_name_": "manage_sed_disks",
"title": "manage_sed_disks",
"_required_": true
},
"manage_zfs_keys": {
"type": "boolean",
"_name_": "manage_zfs_keys",
"title": "manage_zfs_keys",
"_required_": true
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": true
},
"certificate_authority": {
"type": [
"integer",
"null"
],
"_name_": "certificate_authority",
"title": "certificate_authority",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "kmip_entry",
"title": "kmip_entry",
"default": {},
"_attrs_order_": [
"id",
"enabled",
"manage_sed_disks",
"manage_zfs_keys",
"certificate",
"certificate_authority",
"port",
"server"
]
}
|
- |
kmip.kmip_sync_pending |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "pending_kmip_sync",
"title": "pending_kmip_sync"
}
|
Returns true or false based on if there are keys which are to be synced from local database to remote KMIP server or vice versa. |
kmip.sync_keys |
---|
Sync ZFS/SED keys between KMIP Server and TN database. |
kmip.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false,
"description": "`enabled` if true, cannot be set to disabled if there are existing keys pending to be synced. However users\ncan still perform this action by enabling `force_clear`."
},
"manage_sed_disks": {
"type": "boolean",
"_name_": "manage_sed_disks",
"title": "manage_sed_disks",
"_required_": true,
"description": "`manage_zfs_keys`/`manage_sed_disks` when enabled will sync keys from local database to remote KMIP server.\nWhen disabled, if there are any keys left to be retrieved from the KMIP server,\nit will sync them back to local database."
},
"manage_zfs_keys": {
"type": "boolean",
"_name_": "manage_zfs_keys",
"title": "manage_zfs_keys",
"_required_": true,
"description": "`manage_zfs_keys`/`manage_sed_disks` when enabled will sync keys from local database to remote KMIP server.\nWhen disabled, if there are any keys left to be retrieved from the KMIP server,\nit will sync them back to local database."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": true,
"description": "System currently authenticates connection with remote KMIP Server with a TLS handshake. `certificate` and"
},
"certificate_authority": {
"type": [
"integer",
"null"
],
"_name_": "certificate_authority",
"title": "certificate_authority",
"_required_": true,
"description": "`certificate_authority` determine the certs which will be used to initiate the TLS handshake with `server`."
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": [
"string",
"null"
],
"description": "`certificate_authority` determine the certs which will be used to initiate the TLS handshake with `server`.\n`validate` is enabled by default. When enabled, system will test connection to `server` making sure\nit's reachable."
},
"force_clear": {
"type": "boolean",
"_name_": "force_clear",
"title": "force_clear",
"_required_": false,
"description": "`enabled` if true, cannot be set to disabled if there are existing keys pending to be synced. However users\ncan still perform this action by enabling `force_clear`.\n`change_server` is a boolean field which allows users to migrate data between two KMIP servers. System\nwill first migrate keys from old KMIP server to local database and then migrate the keys from local database\nto new KMIP server. If it is unable to retrieve all the keys from old server, this will fail. Users can bypass\nthis by enabling `force_clear`."
},
"change_server": {
"type": "boolean",
"_name_": "change_server",
"title": "change_server",
"_required_": false,
"description": "`change_server` is a boolean field which allows users to migrate data between two KMIP servers. System\nwill first migrate keys from old KMIP server to local database and then migrate the keys from local database\nto new KMIP server. If it is unable to retrieve all the keys from old server, this will fail. Users can bypass\nthis by enabling `force_clear`."
},
"validate": {
"type": "boolean",
"_name_": "validate",
"title": "validate",
"_required_": false,
"description": "`validate` is enabled by default. When enabled, system will test connection to `server` making sure\nit's reachable."
}
},
"additionalProperties": false,
"_name_": "kmip_update",
"title": "kmip_entry",
"default": {},
"_attrs_order_": [
"enabled",
"manage_sed_disks",
"manage_zfs_keys",
"certificate",
"certificate_authority",
"port",
"server",
"force_clear",
"change_server",
"validate"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true,
"description": "`enabled` if true, cannot be set to disabled if there are existing keys pending to be synced. However users\ncan still perform this action by enabling `force_clear`."
},
"manage_sed_disks": {
"type": "boolean",
"_name_": "manage_sed_disks",
"title": "manage_sed_disks",
"_required_": true,
"description": "`manage_zfs_keys`/`manage_sed_disks` when enabled will sync keys from local database to remote KMIP server.\nWhen disabled, if there are any keys left to be retrieved from the KMIP server,\nit will sync them back to local database."
},
"manage_zfs_keys": {
"type": "boolean",
"_name_": "manage_zfs_keys",
"title": "manage_zfs_keys",
"_required_": true,
"description": "`manage_zfs_keys`/`manage_sed_disks` when enabled will sync keys from local database to remote KMIP server.\nWhen disabled, if there are any keys left to be retrieved from the KMIP server,\nit will sync them back to local database."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": true,
"description": "System currently authenticates connection with remote KMIP Server with a TLS handshake. `certificate` and"
},
"certificate_authority": {
"type": [
"integer",
"null"
],
"_name_": "certificate_authority",
"title": "certificate_authority",
"_required_": true,
"description": "`certificate_authority` determine the certs which will be used to initiate the TLS handshake with `server`."
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": [
"string",
"null"
],
"description": "`certificate_authority` determine the certs which will be used to initiate the TLS handshake with `server`.\n`validate` is enabled by default. When enabled, system will test connection to `server` making sure\nit's reachable."
}
},
"additionalProperties": false,
"_name_": "kmip_update_returns",
"title": "kmip_entry",
"default": {},
"_attrs_order_": [
"id",
"enabled",
"manage_sed_disks",
"manage_zfs_keys",
"certificate",
"certificate_authority",
"port",
"server"
]
}
|
Update KMIP Server Configuration. System currently authenticates connection with remote KMIP Server with a TLS handshake.
|
kubernetes.backup_chart_releases
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "backup_name",
"title": "backup_name",
"default": null,
"type": [
"string",
"null"
]
}
|
Return Arguments:
{
"_name_": "backup_name",
"title": "backup_name",
"type": "string"
}
|
Create a backup of existing chart releases. The backup will save helm configuration with history for each chart release and then take a
snapshot of |
kubernetes.bindip_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "kubernetes_bind_ip_choices",
"title": "kubernetes_bind_ip_choices",
"default": {},
"_attrs_order_": []
}
|
Returns ip choices for Kubernetes service to use. |
kubernetes.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"servicelb": {
"type": "boolean",
"_name_": "servicelb",
"title": "servicelb",
"_required_": true
},
"configure_gpus": {
"type": "boolean",
"_name_": "configure_gpus",
"title": "configure_gpus",
"_required_": true
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
]
},
"cluster_cidr": {
"_name_": "cluster_cidr",
"title": "cluster_cidr",
"_required_": true,
"type": "string"
},
"service_cidr": {
"_name_": "service_cidr",
"title": "service_cidr",
"_required_": true,
"type": "string"
},
"cluster_dns_ip": {
"_name_": "cluster_dns_ip",
"title": "cluster_dns_ip",
"_required_": true,
"type": "string"
},
"node_ip": {
"_name_": "node_ip",
"title": "node_ip",
"_required_": true,
"type": "string"
},
"route_v4_interface": {
"_name_": "route_v4_interface",
"title": "route_v4_interface",
"_required_": true,
"type": [
"string",
"null"
]
},
"route_v4_gateway": {
"_name_": "route_v4_gateway",
"title": "route_v4_gateway",
"_required_": true,
"type": [
"string",
"null"
]
},
"route_v6_interface": {
"_name_": "route_v6_interface",
"title": "route_v6_interface",
"_required_": true,
"type": [
"string",
"null"
]
},
"route_v6_gateway": {
"_name_": "route_v6_gateway",
"title": "route_v6_gateway",
"_required_": true,
"type": [
"string",
"null"
]
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": [
"string",
"null"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "kubernetes_entry",
"title": "kubernetes_entry",
"default": {},
"_attrs_order_": [
"servicelb",
"configure_gpus",
"pool",
"cluster_cidr",
"service_cidr",
"cluster_dns_ip",
"node_ip",
"route_v4_interface",
"route_v4_gateway",
"route_v6_interface",
"route_v6_gateway",
"dataset",
"id"
]
}
|
- |
kubernetes.delete_backup |
---|
Arguments:
{
"_name_": "backup_name",
"title": "backup_name",
"type": "string"
}
|
Delete |
kubernetes.events |
---|
Return Arguments:
{
"_name_": "kubernetes_node_events",
"title": "kubernetes_node_events",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "metadata",
"title": "metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name"
]
},
"message": {
"_name_": "message",
"title": "message",
"_required_": false,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "event",
"title": "event",
"default": {},
"_required_": false,
"_attrs_order_": [
"metadata",
"message"
]
}
]
}
|
Returns events for kubernetes node. |
kubernetes.list_backups |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "backups",
"title": "backups",
"default": {},
"_attrs_order_": []
}
|
List existing chart releases backups. |
kubernetes.node_ip |
---|
Return Arguments:
{
"_name_": "kubernetes_node_ip",
"title": "kubernetes_node_ip",
"type": [
"string",
"null"
]
}
|
Returns IP used by kubernetes which kubernetes uses to allow incoming connections. |
kubernetes.restore_backup
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "backup_name",
"title": "backup_name",
"type": "string",
"description": "Restore `backup_name` chart releases backup."
}
{
"type": "object",
"properties": {
"wait_for_csi": {
"type": "boolean",
"_name_": "wait_for_csi",
"title": "wait_for_csi",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"wait_for_csi"
]
}
|
Restore It should be noted that a rollback will be initiated which will destroy any newer snapshots/clones
of |
kubernetes.route_interface_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "route_interface_choices",
"title": "route_interface_choices",
"default": {},
"_attrs_order_": []
}
|
Returns Interface choices for Kubernetes service to use for ipv4 connections. |
kubernetes.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"servicelb": {
"type": "boolean",
"_name_": "servicelb",
"title": "servicelb",
"_required_": true,
"description": "`servicelb` is a boolean to enable or disable the integrated k3s Service Loadbalancer called \"Klipper\".\nThis can be set to disabled to enable the user to run another LoadBalancer or no LoadBalancer at all."
},
"configure_gpus": {
"type": "boolean",
"_name_": "configure_gpus",
"title": "configure_gpus",
"_required_": true,
"description": "`configure_gpus` is a boolean to enable or disable to prevent automatically loading any GPU Support\ninto kubernetes. This includes not loading any daemonsets for Intel and NVIDIA support."
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
],
"description": "`pool` must be a valid ZFS pool configured in the system. Kubernetes service will initialise the pool by\ncreating datasets under `pool_name/ix-applications`."
},
"cluster_cidr": {
"_name_": "cluster_cidr",
"title": "cluster_cidr",
"_required_": true,
"type": "string",
"description": "`cluster_cidr` is the CIDR to be used for default NAT network between workloads.\nSpecifying values for `cluster_cidr`, `service_cidr` and `cluster_dns_ip` are permanent and a subsequent change\nrequires re-initialisation of the applications. To clarify, system will destroy old `ix-applications` dataset\nand any data within it when any of the values for the above configuration change."
},
"service_cidr": {
"_name_": "service_cidr",
"title": "service_cidr",
"_required_": true,
"type": "string",
"description": "`service_cidr` is the CIDR to be used for kubernetes services which are an abstraction and refer to a\nlogically set of kubernetes pods.\n`cluster_dns_ip` is the IP of the DNS server running for the kubernetes cluster. It must be in the range\nof `service_cidr`.\nSpecifying values for `cluster_cidr`, `service_cidr` and `cluster_dns_ip` are permanent and a subsequent change\nrequires re-initialisation of the applications. To clarify, system will destroy old `ix-applications` dataset\nand any data within it when any of the values for the above configuration change."
},
"cluster_dns_ip": {
"_name_": "cluster_dns_ip",
"title": "cluster_dns_ip",
"_required_": true,
"type": "string",
"description": "`cluster_dns_ip` is the IP of the DNS server running for the kubernetes cluster. It must be in the range\nof `service_cidr`.\nSpecifying values for `cluster_cidr`, `service_cidr` and `cluster_dns_ip` are permanent and a subsequent change\nrequires re-initialisation of the applications. To clarify, system will destroy old `ix-applications` dataset\nand any data within it when any of the values for the above configuration change."
},
"node_ip": {
"_name_": "node_ip",
"title": "node_ip",
"_required_": true,
"type": "string",
"description": "`node_ip` is the IP address which the kubernetes cluster will assign to the TrueNAS node. It defaults to\n0.0.0.0 and the cluster in this case will automatically manage which IP address to use for managing traffic\nfor default NAT network."
},
"route_v4_interface": {
"_name_": "route_v4_interface",
"title": "route_v4_interface",
"_required_": true,
"type": [
"string",
"null"
],
"description": "If users want to restrict traffic over a certain gateway / interface, they can specify a default route\nfor the NAT traffic. `route_v4_interface` and `route_v4_gateway` will set a default route for the kubernetes\ncluster IPv4 traffic. Similarly `route_v6_interface` and 'route_v6_gateway` can be used to specify default\nroute for IPv6 traffic."
},
"route_v4_gateway": {
"_name_": "route_v4_gateway",
"title": "route_v4_gateway",
"_required_": true,
"type": [
"string",
"null"
],
"description": "If users want to restrict traffic over a certain gateway / interface, they can specify a default route\nfor the NAT traffic. `route_v4_interface` and `route_v4_gateway` will set a default route for the kubernetes\ncluster IPv4 traffic. Similarly `route_v6_interface` and 'route_v6_gateway` can be used to specify default\nroute for IPv6 traffic."
},
"route_v6_interface": {
"_name_": "route_v6_interface",
"title": "route_v6_interface",
"_required_": true,
"type": [
"string",
"null"
],
"description": "If users want to restrict traffic over a certain gateway / interface, they can specify a default route\nfor the NAT traffic. `route_v4_interface` and `route_v4_gateway` will set a default route for the kubernetes\ncluster IPv4 traffic. Similarly `route_v6_interface` and 'route_v6_gateway` can be used to specify default\nroute for IPv6 traffic."
},
"route_v6_gateway": {
"_name_": "route_v6_gateway",
"title": "route_v6_gateway",
"_required_": true,
"type": [
"string",
"null"
]
},
"migrate_applications": {
"type": "boolean",
"_name_": "migrate_applications",
"title": "migrate_applications",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kubernetes_update",
"title": "kubernetes_entry",
"default": {},
"_attrs_order_": [
"servicelb",
"configure_gpus",
"pool",
"cluster_cidr",
"service_cidr",
"cluster_dns_ip",
"node_ip",
"route_v4_interface",
"route_v4_gateway",
"route_v6_interface",
"route_v6_gateway",
"migrate_applications"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"servicelb": {
"type": "boolean",
"_name_": "servicelb",
"title": "servicelb",
"_required_": true,
"description": "`servicelb` is a boolean to enable or disable the integrated k3s Service Loadbalancer called \"Klipper\".\nThis can be set to disabled to enable the user to run another LoadBalancer or no LoadBalancer at all."
},
"configure_gpus": {
"type": "boolean",
"_name_": "configure_gpus",
"title": "configure_gpus",
"_required_": true,
"description": "`configure_gpus` is a boolean to enable or disable to prevent automatically loading any GPU Support\ninto kubernetes. This includes not loading any daemonsets for Intel and NVIDIA support."
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": [
"string",
"null"
],
"description": "`pool` must be a valid ZFS pool configured in the system. Kubernetes service will initialise the pool by\ncreating datasets under `pool_name/ix-applications`."
},
"cluster_cidr": {
"_name_": "cluster_cidr",
"title": "cluster_cidr",
"_required_": true,
"type": "string",
"description": "`cluster_cidr` is the CIDR to be used for default NAT network between workloads.\nSpecifying values for `cluster_cidr`, `service_cidr` and `cluster_dns_ip` are permanent and a subsequent change\nrequires re-initialisation of the applications. To clarify, system will destroy old `ix-applications` dataset\nand any data within it when any of the values for the above configuration change."
},
"service_cidr": {
"_name_": "service_cidr",
"title": "service_cidr",
"_required_": true,
"type": "string",
"description": "`service_cidr` is the CIDR to be used for kubernetes services which are an abstraction and refer to a\nlogically set of kubernetes pods.\n`cluster_dns_ip` is the IP of the DNS server running for the kubernetes cluster. It must be in the range\nof `service_cidr`.\nSpecifying values for `cluster_cidr`, `service_cidr` and `cluster_dns_ip` are permanent and a subsequent change\nrequires re-initialisation of the applications. To clarify, system will destroy old `ix-applications` dataset\nand any data within it when any of the values for the above configuration change."
},
"cluster_dns_ip": {
"_name_": "cluster_dns_ip",
"title": "cluster_dns_ip",
"_required_": true,
"type": "string",
"description": "`cluster_dns_ip` is the IP of the DNS server running for the kubernetes cluster. It must be in the range\nof `service_cidr`.\nSpecifying values for `cluster_cidr`, `service_cidr` and `cluster_dns_ip` are permanent and a subsequent change\nrequires re-initialisation of the applications. To clarify, system will destroy old `ix-applications` dataset\nand any data within it when any of the values for the above configuration change."
},
"node_ip": {
"_name_": "node_ip",
"title": "node_ip",
"_required_": true,
"type": "string",
"description": "`node_ip` is the IP address which the kubernetes cluster will assign to the TrueNAS node. It defaults to\n0.0.0.0 and the cluster in this case will automatically manage which IP address to use for managing traffic\nfor default NAT network."
},
"route_v4_interface": {
"_name_": "route_v4_interface",
"title": "route_v4_interface",
"_required_": true,
"type": [
"string",
"null"
],
"description": "If users want to restrict traffic over a certain gateway / interface, they can specify a default route\nfor the NAT traffic. `route_v4_interface` and `route_v4_gateway` will set a default route for the kubernetes\ncluster IPv4 traffic. Similarly `route_v6_interface` and 'route_v6_gateway` can be used to specify default\nroute for IPv6 traffic."
},
"route_v4_gateway": {
"_name_": "route_v4_gateway",
"title": "route_v4_gateway",
"_required_": true,
"type": [
"string",
"null"
],
"description": "If users want to restrict traffic over a certain gateway / interface, they can specify a default route\nfor the NAT traffic. `route_v4_interface` and `route_v4_gateway` will set a default route for the kubernetes\ncluster IPv4 traffic. Similarly `route_v6_interface` and 'route_v6_gateway` can be used to specify default\nroute for IPv6 traffic."
},
"route_v6_interface": {
"_name_": "route_v6_interface",
"title": "route_v6_interface",
"_required_": true,
"type": [
"string",
"null"
],
"description": "If users want to restrict traffic over a certain gateway / interface, they can specify a default route\nfor the NAT traffic. `route_v4_interface` and `route_v4_gateway` will set a default route for the kubernetes\ncluster IPv4 traffic. Similarly `route_v6_interface` and 'route_v6_gateway` can be used to specify default\nroute for IPv6 traffic."
},
"route_v6_gateway": {
"_name_": "route_v6_gateway",
"title": "route_v6_gateway",
"_required_": true,
"type": [
"string",
"null"
]
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": [
"string",
"null"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "kubernetes_update_returns",
"title": "kubernetes_entry",
"default": {},
"_attrs_order_": [
"servicelb",
"configure_gpus",
"pool",
"cluster_cidr",
"service_cidr",
"cluster_dns_ip",
"node_ip",
"route_v4_interface",
"route_v4_gateway",
"route_v6_interface",
"route_v6_gateway",
"dataset",
"id"
]
}
|
Specifying values for
By default kubernetes pods will be using default gateway of the system for outward traffic. This might not be desirable for certain users who want to separate NAT traffic over a specific interface / route. System will create a L3 network which will be routing the traffic towards default gateway for NAT. If users want to restrict traffic over a certain gateway / interface, they can specify a default route
for the NAT traffic. In case user is switching pools and the new desired pool has not been configured for kubernetes before, it
is possible to replicate data from old pool to new pool with setting |
ldap.config |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ldap_entry",
"title": "ldap_entry",
"default": {},
"_attrs_order_": []
}
|
- |
ldap.get_state |
---|
Wrapper function for 'directoryservices.get_state'. Returns only the state of the LDAP service. |
ldap.schema_choices |
---|
Returns list of available LDAP schema choices. |
ldap.ssl_choices |
---|
Returns list of SSL choices. |
ldap.update |
---|
Arguments:
{
"type": "object",
"properties": {
"hostname": {
"_name_": "hostname",
"title": "hostname",
"default": [],
"_required_": true,
"type": "array",
"items": [],
"description": "`hostname` list of ip addresses or hostnames of LDAP servers with\nwhich to communicate in order of preference. Failover only occurs\nif the current LDAP server is unresponsive."
},
"basedn": {
"_name_": "basedn",
"title": "basedn",
"_required_": true,
"type": "string",
"description": "`basedn` specifies the default base DN to use when performing ldap\noperations. The base must be specified as a Distinguished Name in LDAP\nformat."
},
"binddn": {
"_name_": "binddn",
"title": "binddn",
"_required_": false,
"type": "string",
"description": "`binddn` specifies the default bind DN to use when performing ldap\noperations. The bind DN must be specified as a Distinguished Name in\nLDAP format.\n`kerberos_principal` kerberos principal to use for SASL GSSAPI\nauthentication to the remote server. If `kerberos_realm` is specified\nwithout a keytab, then the `binddn` and `bindpw` are used to\nperform to obtain the ticket necessary for GSSAPI authentication."
},
"bindpw": {
"_name_": "bindpw",
"title": "bindpw",
"_required_": false,
"type": "string",
"description": "`kerberos_principal` kerberos principal to use for SASL GSSAPI\nauthentication to the remote server. If `kerberos_realm` is specified\nwithout a keytab, then the `binddn` and `bindpw` are used to\nperform to obtain the ticket necessary for GSSAPI authentication."
},
"anonbind": {
"type": "boolean",
"_name_": "anonbind",
"title": "anonbind",
"default": false,
"_required_": false,
"description": "`anonbind` use anonymous authentication."
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"default": "OFF",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
],
"description": "`ssl` establish SSL/TLS-protected connections to the LDAP server(s).\nGSSAPI signing is disabled on SSL/TLS-protected connections if\nkerberos authentication is used."
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"description": "`certificate` LDAPs client certificate to be used for certificate-\nbased authentication."
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false,
"description": "`validate_certificates` specifies whether to perform checks on server\ncertificates in a TLS session. If enabled, TLS_REQCERT demand is set.\nThe server certificate is requested. If no certificate is provided or\nif a bad certificate is provided, the session is immediately terminated.\nIf disabled, TLS_REQCERT allow is set. The server certificate is\nrequested, but all errors are ignored."
},
"disable_freenas_cache": {
"type": "boolean",
"_name_": "disable_freenas_cache",
"title": "disable_freenas_cache",
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 30,
"_required_": false,
"description": "`timeout` specifies a timeout (in seconds) after which calls to\nsynchronous LDAP APIs will abort if no response is received."
},
"dns_timeout": {
"type": "integer",
"_name_": "dns_timeout",
"title": "dns_timeout",
"default": 5,
"_required_": false,
"description": "`dns_timeout` specifies the timeout (in seconds) after which the\npoll(2)/select(2) following a connect(2) returns in case of no activity\nfor openldap. For nslcd this specifies the time limit (in seconds) to\nuse when connecting to the directory server. This directly impacts the\nlength of time that the LDAP service tries before failing over to\na secondary LDAP URI."
},
"kerberos_realm": {
"type": [
"integer",
"null"
],
"_name_": "kerberos_realm",
"title": "kerberos_realm",
"_required_": false,
"description": "`kerberos_realm` in which the server is located. This parameter is\nonly required for SASL GSSAPI authentication to the remote LDAP server.\n`kerberos_principal` kerberos principal to use for SASL GSSAPI\nauthentication to the remote server. If `kerberos_realm` is specified\nwithout a keytab, then the `binddn` and `bindpw` are used to\nperform to obtain the ticket necessary for GSSAPI authentication."
},
"kerberos_principal": {
"_name_": "kerberos_principal",
"title": "kerberos_principal",
"_required_": false,
"type": "string",
"description": "`kerberos_principal` kerberos principal to use for SASL GSSAPI\nauthentication to the remote server. If `kerberos_realm` is specified\nwithout a keytab, then the `binddn` and `bindpw` are used to\nperform to obtain the ticket necessary for GSSAPI authentication."
},
"has_samba_schema": {
"type": "boolean",
"_name_": "has_samba_schema",
"title": "has_samba_schema",
"default": false,
"_required_": false
},
"auxiliary_parameters": {
"_name_": "auxiliary_parameters",
"title": "auxiliary_parameters",
"default": false,
"_required_": false,
"type": "string"
},
"schema": {
"_name_": "schema",
"title": "schema",
"default": "RFC2307",
"_required_": false,
"type": "string",
"enum": [
"RFC2307",
"RFC2307BIS"
]
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ldap_update",
"title": "ldap_update",
"default": {},
"_attrs_order_": [
"hostname",
"basedn",
"binddn",
"bindpw",
"anonbind",
"ssl",
"certificate",
"validate_certificates",
"disable_freenas_cache",
"timeout",
"dns_timeout",
"kerberos_realm",
"kerberos_principal",
"has_samba_schema",
"auxiliary_parameters",
"schema",
"enable"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ldap_update_returns",
"title": "ldap_entry",
"default": {},
"_attrs_order_": []
}
|
|
lldp.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"intdesc": {
"type": "boolean",
"_name_": "intdesc",
"title": "intdesc",
"_required_": true
},
"country": {
"_name_": "country",
"title": "country",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "lldp_entry",
"title": "lldp_entry",
"default": {},
"_attrs_order_": [
"intdesc",
"country",
"location",
"id"
]
}
|
- |
lldp.country_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "country_choices",
"title": "country_choices",
"default": {},
"_attrs_order_": []
}
|
Returns country choices for LLDP. |
lldp.update |
---|
Arguments:
{
"type": "object",
"properties": {
"intdesc": {
"type": "boolean",
"_name_": "intdesc",
"title": "intdesc",
"_required_": true
},
"country": {
"_name_": "country",
"title": "country",
"_required_": true,
"type": "string",
"description": "`country` is a two letter ISO 3166 country code required for LLDP location support."
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "lldp_update",
"title": "lldp_entry",
"default": {},
"_attrs_order_": [
"intdesc",
"country",
"location"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"intdesc": {
"type": "boolean",
"_name_": "intdesc",
"title": "intdesc",
"_required_": true
},
"country": {
"_name_": "country",
"title": "country",
"_required_": true,
"type": "string",
"description": "`country` is a two letter ISO 3166 country code required for LLDP location support."
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "lldp_update_returns",
"title": "lldp_entry",
"default": {},
"_attrs_order_": [
"intdesc",
"country",
"location",
"id"
]
}
|
Update LLDP Service Configuration.
|
mail.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"fromemail": {
"_name_": "fromemail",
"title": "fromemail",
"_required_": true,
"type": "string"
},
"fromname": {
"_name_": "fromname",
"title": "fromname",
"_required_": true,
"type": "string"
},
"outgoingserver": {
"_name_": "outgoingserver",
"title": "outgoingserver",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"security": {
"_name_": "security",
"title": "security",
"_required_": true,
"type": "string",
"enum": [
"PLAIN",
"SSL",
"TLS"
]
},
"smtp": {
"type": "boolean",
"_name_": "smtp",
"title": "smtp",
"_required_": true
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": [
"string",
"null"
]
},
"pass": {
"_name_": "pass",
"title": "pass",
"_required_": true,
"type": [
"string",
"null"
]
},
"oauth": {
"type": "object",
"properties": {
"client_id": {
"_name_": "client_id",
"title": "client_id",
"_required_": false,
"type": "string"
},
"client_secret": {
"_name_": "client_secret",
"title": "client_secret",
"_required_": false,
"type": "string"
},
"refresh_token": {
"_name_": "refresh_token",
"title": "refresh_token",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "oauth",
"title": "oauth",
"default": {},
"_required_": true,
"_attrs_order_": [
"client_id",
"client_secret",
"refresh_token"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "mail_entry",
"title": "mail_entry",
"default": {},
"_attrs_order_": [
"fromemail",
"fromname",
"outgoingserver",
"port",
"security",
"smtp",
"user",
"pass",
"oauth",
"id"
]
}
|
- |
mail.send |
---|
Arguments:
{
"type": "object",
"properties": {
"subject": {
"_name_": "subject",
"title": "subject",
"_required_": true,
"type": "string"
},
"text": {
"_name_": "text",
"title": "text",
"_required_": false,
"type": "string",
"description": "`text` will be formatted to HTML using Markdown and rendered using default E-Mail template."
},
"html": {
"_name_": "html",
"title": "html",
"_required_": false,
"type": [
"string",
"null"
],
"description": "You can put your own HTML using `html`. If `html` is null, no HTML MIME part will be added to E-Mail."
},
"to": {
"_name_": "to",
"title": "to",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "email",
"title": "email",
"_required_": false,
"type": "string"
}
]
},
"cc": {
"_name_": "cc",
"title": "cc",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "email",
"title": "email",
"_required_": false,
"type": "string"
}
]
},
"interval": {
"type": [
"integer",
"null"
],
"_name_": "interval",
"title": "interval",
"_required_": false
},
"channel": {
"_name_": "channel",
"title": "channel",
"_required_": false,
"type": [
"string",
"null"
]
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 300,
"_required_": false
},
"attachments": {
"type": "boolean",
"_name_": "attachments",
"title": "attachments",
"default": false,
"_required_": false,
"description": "If `attachments` is true, a list compromised of the following dict is required\nvia HTTP upload:\n - headers(list)\n - name(str)\n - value(str)\n - params(dict)\n - content (str)"
},
"queue": {
"type": "boolean",
"_name_": "queue",
"title": "queue",
"default": true,
"_required_": false
},
"extra_headers": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra_headers",
"title": "extra_headers",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "mail_message",
"title": "mail_message",
"default": {},
"_attrs_order_": [
"subject",
"text",
"html",
"to",
"cc",
"interval",
"channel",
"timeout",
"attachments",
"queue",
"extra_headers"
]
}
{
"type": "object",
"properties": {
"fromemail": {
"_name_": "fromemail",
"title": "fromemail",
"_required_": true,
"type": "string"
},
"fromname": {
"_name_": "fromname",
"title": "fromname",
"_required_": true,
"type": "string"
},
"outgoingserver": {
"_name_": "outgoingserver",
"title": "outgoingserver",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"security": {
"_name_": "security",
"title": "security",
"_required_": true,
"type": "string",
"enum": [
"PLAIN",
"SSL",
"TLS"
]
},
"smtp": {
"type": "boolean",
"_name_": "smtp",
"title": "smtp",
"_required_": true
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": [
"string",
"null"
]
},
"pass": {
"_name_": "pass",
"title": "pass",
"_required_": true,
"type": [
"string",
"null"
]
},
"oauth": {
"type": "object",
"properties": {
"client_id": {
"_name_": "client_id",
"title": "client_id",
"_required_": true,
"type": "string"
},
"client_secret": {
"_name_": "client_secret",
"title": "client_secret",
"_required_": true,
"type": "string"
},
"refresh_token": {
"_name_": "refresh_token",
"title": "refresh_token",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "oauth",
"title": "oauth",
"default": {},
"_required_": false,
"_attrs_order_": [
"client_id",
"client_secret",
"refresh_token"
]
}
},
"additionalProperties": false,
"_name_": "mail_update",
"title": "mail_entry",
"default": {},
"_attrs_order_": [
"fromemail",
"fromname",
"outgoingserver",
"port",
"security",
"smtp",
"user",
"pass",
"oauth"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successfully_sent",
"title": "successfully_sent"
}
|
Sends mail using configured mail settings.
If [ { "headers": [ { "name": "Content-Transfer-Encoding", "value": "base64" }, { "name": "Content-Type", "value": "application/octet-stream", "params": { "name": "test.txt" } } ], "content": "dGVzdAo=" } ] |
mail.update |
---|
Arguments:
{
"type": "object",
"properties": {
"fromemail": {
"_name_": "fromemail",
"title": "fromemail",
"_required_": true,
"type": "string",
"description": "`fromemail` is used as a sending address which the mail server will use for sending emails."
},
"fromname": {
"_name_": "fromname",
"title": "fromname",
"_required_": true,
"type": "string"
},
"outgoingserver": {
"_name_": "outgoingserver",
"title": "outgoingserver",
"_required_": true,
"type": "string",
"description": "`outgoingserver` is the hostname or IP address of SMTP server used for sending an email."
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"security": {
"_name_": "security",
"title": "security",
"_required_": true,
"type": "string",
"enum": [
"PLAIN",
"SSL",
"TLS"
],
"description": "`security` is type of encryption desired."
},
"smtp": {
"type": "boolean",
"_name_": "smtp",
"title": "smtp",
"_required_": true
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": [
"string",
"null"
]
},
"pass": {
"_name_": "pass",
"title": "pass",
"_required_": true,
"type": [
"string",
"null"
]
},
"oauth": {
"type": "object",
"properties": {
"client_id": {
"_name_": "client_id",
"title": "client_id",
"_required_": true,
"type": "string"
},
"client_secret": {
"_name_": "client_secret",
"title": "client_secret",
"_required_": true,
"type": "string"
},
"refresh_token": {
"_name_": "refresh_token",
"title": "refresh_token",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "oauth",
"title": "oauth",
"default": {},
"_required_": false,
"_attrs_order_": [
"client_id",
"client_secret",
"refresh_token"
]
}
},
"additionalProperties": false,
"_name_": "mail_update",
"title": "mail_entry",
"default": {},
"_attrs_order_": [
"fromemail",
"fromname",
"outgoingserver",
"port",
"security",
"smtp",
"user",
"pass",
"oauth"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"fromemail": {
"_name_": "fromemail",
"title": "fromemail",
"_required_": true,
"type": "string",
"description": "`fromemail` is used as a sending address which the mail server will use for sending emails."
},
"fromname": {
"_name_": "fromname",
"title": "fromname",
"_required_": true,
"type": "string"
},
"outgoingserver": {
"_name_": "outgoingserver",
"title": "outgoingserver",
"_required_": true,
"type": "string",
"description": "`outgoingserver` is the hostname or IP address of SMTP server used for sending an email."
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"security": {
"_name_": "security",
"title": "security",
"_required_": true,
"type": "string",
"enum": [
"PLAIN",
"SSL",
"TLS"
],
"description": "`security` is type of encryption desired."
},
"smtp": {
"type": "boolean",
"_name_": "smtp",
"title": "smtp",
"_required_": true
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": [
"string",
"null"
]
},
"pass": {
"_name_": "pass",
"title": "pass",
"_required_": true,
"type": [
"string",
"null"
]
},
"oauth": {
"type": "object",
"properties": {
"client_id": {
"_name_": "client_id",
"title": "client_id",
"_required_": false,
"type": "string"
},
"client_secret": {
"_name_": "client_secret",
"title": "client_secret",
"_required_": false,
"type": "string"
},
"refresh_token": {
"_name_": "refresh_token",
"title": "refresh_token",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "oauth",
"title": "oauth",
"default": {},
"_required_": true,
"_attrs_order_": [
"client_id",
"client_secret",
"refresh_token"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "mail_update_returns",
"title": "mail_entry",
"default": {},
"_attrs_order_": [
"fromemail",
"fromname",
"outgoingserver",
"port",
"security",
"smtp",
"user",
"pass",
"oauth",
"id"
]
}
|
Update Mail Service Configuration.
|
network.configuration.activity_choices |
---|
Return Arguments:
{
"_name_": "activity_choices",
"title": "activity_choices",
"default": [],
"type": "array",
"items": [
{
"_name_": "activity_choice",
"title": "activity_choice",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "activity",
"title": "activity",
"_required_": false,
"type": "string"
}
]
}
]
}
|
Returns allowed/forbidden network activity choices. |
network.configuration.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": "string"
},
"ipv4gateway": {
"_name_": "ipv4gateway",
"title": "ipv4gateway",
"_required_": true,
"type": "string"
},
"ipv6gateway": {
"_name_": "ipv6gateway",
"title": "ipv6gateway",
"_required_": true,
"type": "string"
},
"nameserver1": {
"_name_": "nameserver1",
"title": "nameserver1",
"_required_": true,
"type": "string"
},
"nameserver2": {
"_name_": "nameserver2",
"title": "nameserver2",
"_required_": true,
"type": "string"
},
"nameserver3": {
"_name_": "nameserver3",
"title": "nameserver3",
"_required_": true,
"type": "string"
},
"httpproxy": {
"_name_": "httpproxy",
"title": "httpproxy",
"_required_": true,
"type": "string"
},
"netwait_enabled": {
"type": "boolean",
"_name_": "netwait_enabled",
"title": "netwait_enabled",
"_required_": true
},
"netwait_ip": {
"_name_": "netwait_ip",
"title": "netwait_ip",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "netwait_ip",
"title": "netwait_ip",
"_required_": false,
"type": "string"
}
]
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"_required_": true,
"type": "string"
},
"domains": {
"_name_": "domains",
"title": "domains",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "domain",
"title": "domain",
"_required_": false,
"type": "string"
}
]
},
"service_announcement": {
"type": "object",
"properties": {
"netbios": {
"type": "boolean",
"_name_": "netbios",
"title": "netbios",
"_required_": false
},
"mdns": {
"type": "boolean",
"_name_": "mdns",
"title": "mdns",
"_required_": false
},
"wsd": {
"type": "boolean",
"_name_": "wsd",
"title": "wsd",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service_announcement",
"title": "service_announcement",
"default": {},
"_required_": false,
"_attrs_order_": [
"netbios",
"mdns",
"wsd"
]
},
"activity": {
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"activities": {
"_name_": "activities",
"title": "activities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "activity",
"title": "activity",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "activity",
"title": "activity",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"activities"
]
},
"hostname_local": {
"_name_": "hostname_local",
"title": "hostname_local",
"_required_": true,
"type": "string"
},
"hostname_b": {
"_name_": "hostname_b",
"title": "hostname_b",
"_required_": false,
"type": [
"string",
"null"
]
},
"hostname_virtual": {
"_name_": "hostname_virtual",
"title": "hostname_virtual",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"type": "object",
"properties": {
"ipv4gateway": {
"_name_": "ipv4gateway",
"title": "ipv4gateway",
"_required_": true,
"type": "string"
},
"ipv6gateway": {
"_name_": "ipv6gateway",
"title": "ipv6gateway",
"_required_": true,
"type": "string"
},
"nameserver1": {
"_name_": "nameserver1",
"title": "nameserver1",
"_required_": true,
"type": "string"
},
"nameserver2": {
"_name_": "nameserver2",
"title": "nameserver2",
"_required_": true,
"type": "string"
},
"nameserver3": {
"_name_": "nameserver3",
"title": "nameserver3",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": false,
"_attrs_order_": [
"ipv4gateway",
"ipv6gateway",
"nameserver1",
"nameserver2",
"nameserver3"
]
}
},
"additionalProperties": false,
"_name_": "network_configuration_entry",
"title": "network_configuration_entry",
"default": {},
"_attrs_order_": [
"id",
"hostname",
"domain",
"ipv4gateway",
"ipv6gateway",
"nameserver1",
"nameserver2",
"nameserver3",
"httpproxy",
"netwait_enabled",
"netwait_ip",
"hosts",
"domains",
"service_announcement",
"activity",
"hostname_local",
"hostname_b",
"hostname_virtual",
"state"
]
}
|
- |
network.configuration.update |
---|
Arguments:
{
"type": "object",
"properties": {
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": "string"
},
"ipv4gateway": {
"_name_": "ipv4gateway",
"title": "ipv4gateway",
"_required_": true,
"type": "string",
"description": "`ipv4gateway` if set is used instead of the default gateway provided by DHCP."
},
"ipv6gateway": {
"_name_": "ipv6gateway",
"title": "ipv6gateway",
"_required_": true,
"type": "string"
},
"nameserver1": {
"_name_": "nameserver1",
"title": "nameserver1",
"_required_": true,
"type": "string",
"description": "`nameserver1` is primary DNS server."
},
"nameserver2": {
"_name_": "nameserver2",
"title": "nameserver2",
"_required_": true,
"type": "string",
"description": "`nameserver2` is secondary DNS server."
},
"nameserver3": {
"_name_": "nameserver3",
"title": "nameserver3",
"_required_": true,
"type": "string",
"description": "`nameserver3` is tertiary DNS server."
},
"httpproxy": {
"_name_": "httpproxy",
"title": "httpproxy",
"_required_": true,
"type": "string",
"description": "`httpproxy` attribute must be provided if a proxy is to be used for network operations."
},
"netwait_enabled": {
"type": "boolean",
"_name_": "netwait_enabled",
"title": "netwait_enabled",
"_required_": true,
"description": "`netwait_enabled` is a boolean attribute which when set indicates that network services will not start at\nboot unless they are able to ping the addresses listed in `netwait_ip` list."
},
"netwait_ip": {
"_name_": "netwait_ip",
"title": "netwait_ip",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "netwait_ip",
"title": "netwait_ip",
"_required_": false,
"type": "string"
}
],
"description": "`netwait_enabled` is a boolean attribute which when set indicates that network services will not start at\nboot unless they are able to ping the addresses listed in `netwait_ip` list."
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"_required_": true,
"type": "string"
},
"domains": {
"_name_": "domains",
"title": "domains",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "domain",
"title": "domain",
"_required_": false,
"type": "string"
}
]
},
"service_announcement": {
"type": "object",
"properties": {
"netbios": {
"type": "boolean",
"_name_": "netbios",
"title": "netbios",
"_required_": false
},
"mdns": {
"type": "boolean",
"_name_": "mdns",
"title": "mdns",
"_required_": false
},
"wsd": {
"type": "boolean",
"_name_": "wsd",
"title": "wsd",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service_announcement",
"title": "service_announcement",
"default": {},
"_required_": false,
"_attrs_order_": [
"netbios",
"mdns",
"wsd"
]
},
"activity": {
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"activities": {
"_name_": "activities",
"title": "activities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "activity",
"title": "activity",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "activity",
"title": "activity",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"activities"
]
},
"hostname_b": {
"_name_": "hostname_b",
"title": "hostname_b",
"_required_": false,
"type": [
"string",
"null"
]
},
"hostname_virtual": {
"_name_": "hostname_virtual",
"title": "hostname_virtual",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "global_configuration_update",
"title": "network_configuration_entry",
"default": {},
"_attrs_order_": [
"hostname",
"domain",
"ipv4gateway",
"ipv6gateway",
"nameserver1",
"nameserver2",
"nameserver3",
"httpproxy",
"netwait_enabled",
"netwait_ip",
"hosts",
"domains",
"service_announcement",
"activity",
"hostname_b",
"hostname_virtual"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": "string"
},
"ipv4gateway": {
"_name_": "ipv4gateway",
"title": "ipv4gateway",
"_required_": true,
"type": "string",
"description": "`ipv4gateway` if set is used instead of the default gateway provided by DHCP."
},
"ipv6gateway": {
"_name_": "ipv6gateway",
"title": "ipv6gateway",
"_required_": true,
"type": "string"
},
"nameserver1": {
"_name_": "nameserver1",
"title": "nameserver1",
"_required_": true,
"type": "string",
"description": "`nameserver1` is primary DNS server."
},
"nameserver2": {
"_name_": "nameserver2",
"title": "nameserver2",
"_required_": true,
"type": "string",
"description": "`nameserver2` is secondary DNS server."
},
"nameserver3": {
"_name_": "nameserver3",
"title": "nameserver3",
"_required_": true,
"type": "string",
"description": "`nameserver3` is tertiary DNS server."
},
"httpproxy": {
"_name_": "httpproxy",
"title": "httpproxy",
"_required_": true,
"type": "string",
"description": "`httpproxy` attribute must be provided if a proxy is to be used for network operations."
},
"netwait_enabled": {
"type": "boolean",
"_name_": "netwait_enabled",
"title": "netwait_enabled",
"_required_": true,
"description": "`netwait_enabled` is a boolean attribute which when set indicates that network services will not start at\nboot unless they are able to ping the addresses listed in `netwait_ip` list."
},
"netwait_ip": {
"_name_": "netwait_ip",
"title": "netwait_ip",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "netwait_ip",
"title": "netwait_ip",
"_required_": false,
"type": "string"
}
],
"description": "`netwait_enabled` is a boolean attribute which when set indicates that network services will not start at\nboot unless they are able to ping the addresses listed in `netwait_ip` list."
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"_required_": true,
"type": "string"
},
"domains": {
"_name_": "domains",
"title": "domains",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "domain",
"title": "domain",
"_required_": false,
"type": "string"
}
]
},
"service_announcement": {
"type": "object",
"properties": {
"netbios": {
"type": "boolean",
"_name_": "netbios",
"title": "netbios",
"_required_": false
},
"mdns": {
"type": "boolean",
"_name_": "mdns",
"title": "mdns",
"_required_": false
},
"wsd": {
"type": "boolean",
"_name_": "wsd",
"title": "wsd",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service_announcement",
"title": "service_announcement",
"default": {},
"_required_": false,
"_attrs_order_": [
"netbios",
"mdns",
"wsd"
]
},
"activity": {
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"activities": {
"_name_": "activities",
"title": "activities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "activity",
"title": "activity",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "activity",
"title": "activity",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"activities"
]
},
"hostname_local": {
"_name_": "hostname_local",
"title": "hostname_local",
"_required_": true,
"type": "string"
},
"hostname_b": {
"_name_": "hostname_b",
"title": "hostname_b",
"_required_": false,
"type": [
"string",
"null"
]
},
"hostname_virtual": {
"_name_": "hostname_virtual",
"title": "hostname_virtual",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"type": "object",
"properties": {
"ipv4gateway": {
"_name_": "ipv4gateway",
"title": "ipv4gateway",
"_required_": true,
"type": "string"
},
"ipv6gateway": {
"_name_": "ipv6gateway",
"title": "ipv6gateway",
"_required_": true,
"type": "string"
},
"nameserver1": {
"_name_": "nameserver1",
"title": "nameserver1",
"_required_": true,
"type": "string"
},
"nameserver2": {
"_name_": "nameserver2",
"title": "nameserver2",
"_required_": true,
"type": "string"
},
"nameserver3": {
"_name_": "nameserver3",
"title": "nameserver3",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": false,
"_attrs_order_": [
"ipv4gateway",
"ipv6gateway",
"nameserver1",
"nameserver2",
"nameserver3"
]
}
},
"additionalProperties": false,
"_name_": "network_configuration_update_returns",
"title": "network_configuration_entry",
"default": {},
"_attrs_order_": [
"id",
"hostname",
"domain",
"ipv4gateway",
"ipv6gateway",
"nameserver1",
"nameserver2",
"nameserver3",
"httpproxy",
"netwait_enabled",
"netwait_ip",
"hosts",
"domains",
"service_announcement",
"activity",
"hostname_local",
"hostname_b",
"hostname_virtual",
"state"
]
}
|
Update Network Configuration Service configuration.
|
network.general.summary |
---|
Return Arguments:
{
"type": "object",
"properties": {
"ips": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ips",
"title": "ips",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"default_routes": {
"_name_": "default_routes",
"title": "default_routes",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "default_route",
"title": "default_route",
"_required_": false,
"type": "string"
}
]
},
"nameservers": {
"_name_": "nameservers",
"title": "nameservers",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "nameserver",
"title": "nameserver",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "network_summary",
"title": "network_summary",
"default": {},
"_attrs_order_": [
"ips",
"default_routes",
"nameservers"
]
}
|
Retrieve general information for current Network. Returns a dictionary. For example: |
|
nfs.add_principal |
---|
Arguments:
{
"type": "object",
"properties": {
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "kerberos_username_password",
"title": "kerberos_username_password",
"default": {},
"_attrs_order_": [
"username",
"password"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "principal_add_status",
"title": "principal_add_status"
}
|
Use user-provided admin credentials to kinit, add NFS SPN entries to the remote kerberos server, and then append the new entries to our system keytab. Currently this is only supported in AD environments. |
nfs.bindip_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "bindip_choices",
"title": "bindip_choices",
"default": {},
"_attrs_order_": []
}
|
Returns ip choices for NFS service to use |
nfs.client_count |
---|
Return Arguments:
{
"type": "integer",
"_name_": "number_of_clients",
"title": "number_of_clients"
}
|
Return currently connected clients count. Count may not be accurate if NFSv3 protocol is in use due to potentially stale rmtab entries. |
nfs.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"servers": {
"type": "integer",
"_name_": "servers",
"title": "servers",
"_required_": true
},
"udp": {
"type": "boolean",
"_name_": "udp",
"title": "udp",
"_required_": true
},
"allow_nonroot": {
"type": "boolean",
"_name_": "allow_nonroot",
"title": "allow_nonroot",
"_required_": true
},
"v4": {
"type": "boolean",
"_name_": "v4",
"title": "v4",
"_required_": true
},
"v4_v3owner": {
"type": "boolean",
"_name_": "v4_v3owner",
"title": "v4_v3owner",
"_required_": true
},
"v4_krb": {
"type": "boolean",
"_name_": "v4_krb",
"title": "v4_krb",
"_required_": true
},
"v4_domain": {
"_name_": "v4_domain",
"title": "v4_domain",
"_required_": true,
"type": "string"
},
"bindip": {
"_name_": "bindip",
"title": "bindip",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
]
},
"mountd_port": {
"type": [
"integer",
"null"
],
"_name_": "mountd_port",
"title": "mountd_port",
"_required_": true
},
"rpcstatd_port": {
"type": [
"integer",
"null"
],
"_name_": "rpcstatd_port",
"title": "rpcstatd_port",
"_required_": true
},
"rpclockd_port": {
"type": [
"integer",
"null"
],
"_name_": "rpclockd_port",
"title": "rpclockd_port",
"_required_": true
},
"mountd_log": {
"type": "boolean",
"_name_": "mountd_log",
"title": "mountd_log",
"_required_": true
},
"statd_lockd_log": {
"type": "boolean",
"_name_": "statd_lockd_log",
"title": "statd_lockd_log",
"_required_": true
},
"v4_krb_enabled": {
"type": "boolean",
"_name_": "v4_krb_enabled",
"title": "v4_krb_enabled",
"_required_": true
},
"userd_manage_gids": {
"type": "boolean",
"_name_": "userd_manage_gids",
"title": "userd_manage_gids",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "nfs_entry",
"title": "nfs_entry",
"default": {},
"_attrs_order_": [
"id",
"servers",
"udp",
"allow_nonroot",
"v4",
"v4_v3owner",
"v4_krb",
"v4_domain",
"bindip",
"mountd_port",
"rpcstatd_port",
"rpclockd_port",
"mountd_log",
"statd_lockd_log",
"v4_krb_enabled",
"userd_manage_gids"
]
}
|
- |
nfs.update |
---|
Arguments:
{
"type": "object",
"properties": {
"servers": {
"type": "integer",
"_name_": "servers",
"title": "servers",
"_required_": true,
"description": "`servers` represents number of servers to create."
},
"udp": {
"type": "boolean",
"_name_": "udp",
"title": "udp",
"_required_": true
},
"allow_nonroot": {
"type": "boolean",
"_name_": "allow_nonroot",
"title": "allow_nonroot",
"_required_": true,
"description": "When `allow_nonroot` is set, it allows non-root mount requests to be served."
},
"v4": {
"type": "boolean",
"_name_": "v4",
"title": "v4",
"_required_": true,
"description": "`v4` when set means that we switch from NFSv3 to NFSv4."
},
"v4_v3owner": {
"type": "boolean",
"_name_": "v4_v3owner",
"title": "v4_v3owner",
"_required_": true,
"description": "`v4_v3owner` when set means that system will use NFSv3 ownership model for NFSv4."
},
"v4_krb": {
"type": "boolean",
"_name_": "v4_krb",
"title": "v4_krb",
"_required_": true,
"description": "`v4_krb` will force NFS shares to fail if the Kerberos ticket is unavailable."
},
"v4_domain": {
"_name_": "v4_domain",
"title": "v4_domain",
"_required_": true,
"type": "string",
"description": "`v4_domain` overrides the default DNS domain name for NFSv4."
},
"bindip": {
"_name_": "bindip",
"title": "bindip",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
],
"description": "`bindip` is a list of IP's on which NFS will listen for requests. When it is unset/empty, NFS listens on\nall available addresses."
},
"mountd_port": {
"type": [
"integer",
"null"
],
"_name_": "mountd_port",
"title": "mountd_port",
"_required_": true,
"description": "`mountd_port` specifies the port mountd(8) binds to."
},
"rpcstatd_port": {
"type": [
"integer",
"null"
],
"_name_": "rpcstatd_port",
"title": "rpcstatd_port",
"_required_": true,
"description": "`rpcstatd_port` specifies the port rpc.statd(8) binds to."
},
"rpclockd_port": {
"type": [
"integer",
"null"
],
"_name_": "rpclockd_port",
"title": "rpclockd_port",
"_required_": true,
"description": "`rpclockd_port` specifies the port rpclockd_port(8) binds to."
},
"mountd_log": {
"type": "boolean",
"_name_": "mountd_log",
"title": "mountd_log",
"_required_": true
},
"statd_lockd_log": {
"type": "boolean",
"_name_": "statd_lockd_log",
"title": "statd_lockd_log",
"_required_": true
},
"userd_manage_gids": {
"type": "boolean",
"_name_": "userd_manage_gids",
"title": "userd_manage_gids",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "nfs_update",
"title": "nfs_entry",
"default": {},
"_attrs_order_": [
"servers",
"udp",
"allow_nonroot",
"v4",
"v4_v3owner",
"v4_krb",
"v4_domain",
"bindip",
"mountd_port",
"rpcstatd_port",
"rpclockd_port",
"mountd_log",
"statd_lockd_log",
"userd_manage_gids"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"servers": {
"type": "integer",
"_name_": "servers",
"title": "servers",
"_required_": true,
"description": "`servers` represents number of servers to create."
},
"udp": {
"type": "boolean",
"_name_": "udp",
"title": "udp",
"_required_": true
},
"allow_nonroot": {
"type": "boolean",
"_name_": "allow_nonroot",
"title": "allow_nonroot",
"_required_": true,
"description": "When `allow_nonroot` is set, it allows non-root mount requests to be served."
},
"v4": {
"type": "boolean",
"_name_": "v4",
"title": "v4",
"_required_": true,
"description": "`v4` when set means that we switch from NFSv3 to NFSv4."
},
"v4_v3owner": {
"type": "boolean",
"_name_": "v4_v3owner",
"title": "v4_v3owner",
"_required_": true,
"description": "`v4_v3owner` when set means that system will use NFSv3 ownership model for NFSv4."
},
"v4_krb": {
"type": "boolean",
"_name_": "v4_krb",
"title": "v4_krb",
"_required_": true,
"description": "`v4_krb` will force NFS shares to fail if the Kerberos ticket is unavailable."
},
"v4_domain": {
"_name_": "v4_domain",
"title": "v4_domain",
"_required_": true,
"type": "string",
"description": "`v4_domain` overrides the default DNS domain name for NFSv4."
},
"bindip": {
"_name_": "bindip",
"title": "bindip",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
],
"description": "`bindip` is a list of IP's on which NFS will listen for requests. When it is unset/empty, NFS listens on\nall available addresses."
},
"mountd_port": {
"type": [
"integer",
"null"
],
"_name_": "mountd_port",
"title": "mountd_port",
"_required_": true,
"description": "`mountd_port` specifies the port mountd(8) binds to."
},
"rpcstatd_port": {
"type": [
"integer",
"null"
],
"_name_": "rpcstatd_port",
"title": "rpcstatd_port",
"_required_": true,
"description": "`rpcstatd_port` specifies the port rpc.statd(8) binds to."
},
"rpclockd_port": {
"type": [
"integer",
"null"
],
"_name_": "rpclockd_port",
"title": "rpclockd_port",
"_required_": true,
"description": "`rpclockd_port` specifies the port rpclockd_port(8) binds to."
},
"mountd_log": {
"type": "boolean",
"_name_": "mountd_log",
"title": "mountd_log",
"_required_": true
},
"statd_lockd_log": {
"type": "boolean",
"_name_": "statd_lockd_log",
"title": "statd_lockd_log",
"_required_": true
},
"v4_krb_enabled": {
"type": "boolean",
"_name_": "v4_krb_enabled",
"title": "v4_krb_enabled",
"_required_": true
},
"userd_manage_gids": {
"type": "boolean",
"_name_": "userd_manage_gids",
"title": "userd_manage_gids",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "nfs_update_returns",
"title": "nfs_entry",
"default": {},
"_attrs_order_": [
"id",
"servers",
"udp",
"allow_nonroot",
"v4",
"v4_v3owner",
"v4_krb",
"v4_domain",
"bindip",
"mountd_port",
"rpcstatd_port",
"rpclockd_port",
"mountd_log",
"statd_lockd_log",
"v4_krb_enabled",
"userd_manage_gids"
]
}
|
Update NFS Service Configuration.
When
|
Update NFS Service Configuration to listen on 192.168.0.10 and use NFSv4
|
openvpn.client.authentication_algorithm_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "openvpn_authentication_algorithm_choices",
"title": "openvpn_authentication_algorithm_choices",
"description": "\n\nExample(s):\n```\n{\n \"RSA-SHA512\": \"512 bit digest size\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns a dictionary of valid authentication algorithms which can be used with OpenVPN server. |
openvpn.client.cipher_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "openvpn_cipher_choices",
"title": "openvpn_cipher_choices",
"description": "\n\nExample(s):\n```\n{\n \"RC2-40-CBC\": \"(40 bit key by default, 64 bit block)\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns a dictionary of valid ciphers which can be used with OpenVPN server. |
openvpn.client.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"nobind": {
"type": "boolean",
"_name_": "nobind",
"title": "nobind",
"_required_": true
},
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"client_certificate": {
"type": [
"integer",
"null"
],
"_name_": "client_certificate",
"title": "client_certificate",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"remote": {
"_name_": "remote",
"title": "remote",
"_required_": true,
"type": "string"
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "openvpn_client_entry",
"title": "openvpn_client_entry",
"default": {},
"_attrs_order_": [
"nobind",
"tls_crypt_auth_enabled",
"client_certificate",
"id",
"root_ca",
"port",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"interface",
"protocol",
"remote",
"tls_crypt_auth"
]
}
|
- |
openvpn.client.update |
---|
Arguments:
{
"type": "object",
"properties": {
"nobind": {
"type": "boolean",
"_name_": "nobind",
"title": "nobind",
"_required_": true
},
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"client_certificate": {
"type": [
"integer",
"null"
],
"_name_": "client_certificate",
"title": "client_certificate",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"remote": {
"_name_": "remote",
"title": "remote",
"_required_": true,
"type": "string",
"description": "`remote` can be a valid ip address / domain which openvpn will try to connect to."
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "openvpn_client_update",
"title": "openvpn_client_entry",
"default": {},
"_attrs_order_": [
"nobind",
"tls_crypt_auth_enabled",
"client_certificate",
"root_ca",
"port",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"protocol",
"remote",
"tls_crypt_auth"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"nobind": {
"type": "boolean",
"_name_": "nobind",
"title": "nobind",
"_required_": true
},
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"client_certificate": {
"type": [
"integer",
"null"
],
"_name_": "client_certificate",
"title": "client_certificate",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"remote": {
"_name_": "remote",
"title": "remote",
"_required_": true,
"type": "string",
"description": "`remote` can be a valid ip address / domain which openvpn will try to connect to."
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "openvpn_client_update_returns",
"title": "openvpn_client_entry",
"default": {},
"_attrs_order_": [
"nobind",
"tls_crypt_auth_enabled",
"client_certificate",
"id",
"root_ca",
"port",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"interface",
"protocol",
"remote",
"tls_crypt_auth"
]
}
|
Update OpenVPN Client configuration.
|
openvpn.server.authentication_algorithm_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "openvpn_authentication_algorithm_choices",
"title": "openvpn_authentication_algorithm_choices",
"description": "\n\nExample(s):\n```\n{\n \"RSA-SHA512\": \"512 bit digest size\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns a dictionary of valid authentication algorithms which can be used with OpenVPN server. |
openvpn.server.cipher_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "openvpn_cipher_choices",
"title": "openvpn_cipher_choices",
"description": "\n\nExample(s):\n```\n{\n \"RC2-40-CBC\": \"(40 bit key by default, 64 bit block)\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns a dictionary of valid ciphers which can be used with OpenVPN server. |
openvpn.server.client_configuration_generation |
---|
Arguments:
{
"type": "integer",
"_name_": "client_certificate_id",
"title": "client_certificate_id",
"description": "`client_certificate_id` should be a valid certificate issued for use with OpenVPN client service."
}
{
"_name_": "server_address",
"title": "server_address",
"default": null,
"type": [
"string",
"null"
]
}
|
Return Arguments:
{
"_name_": "openvpn_client_config",
"title": "openvpn_client_config",
"type": "string"
}
|
Returns a configuration for OpenVPN client which can be used with any client to connect to FN/TN OpenVPN server.
|
openvpn.server.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
},
"server_certificate": {
"type": [
"integer",
"null"
],
"_name_": "server_certificate",
"title": "server_certificate",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": "string"
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
},
"topology": {
"_name_": "topology",
"title": "topology",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"NET30",
"P2P",
"SUBNET"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "openvpn_server_entry",
"title": "openvpn_server_entry",
"default": {},
"_attrs_order_": [
"tls_crypt_auth_enabled",
"id",
"netmask",
"server_certificate",
"port",
"root_ca",
"server",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"protocol",
"tls_crypt_auth",
"topology",
"interface"
]
}
|
- |
openvpn.server.renew_static_key |
---|
Return Arguments:
{
"type": "object",
"properties": {
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
},
"server_certificate": {
"type": [
"integer",
"null"
],
"_name_": "server_certificate",
"title": "server_certificate",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": "string"
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
},
"topology": {
"_name_": "topology",
"title": "topology",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"NET30",
"P2P",
"SUBNET"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "openvpn_server_entry",
"title": "openvpn_server_entry",
"default": {},
"_attrs_order_": [
"tls_crypt_auth_enabled",
"id",
"netmask",
"server_certificate",
"port",
"root_ca",
"server",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"protocol",
"tls_crypt_auth",
"topology",
"interface"
]
}
|
Reset OpenVPN server's TLS static key which will be used to encrypt/authenticate control channel packets. |
openvpn.server.update |
---|
Arguments:
{
"type": "object",
"properties": {
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
},
"server_certificate": {
"type": [
"integer",
"null"
],
"_name_": "server_certificate",
"title": "server_certificate",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": "string"
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
},
"topology": {
"_name_": "topology",
"title": "topology",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"NET30",
"P2P",
"SUBNET"
]
}
},
"additionalProperties": false,
"_name_": "openvpn_server_update",
"title": "openvpn_server_entry",
"default": {},
"_attrs_order_": [
"tls_crypt_auth_enabled",
"netmask",
"server_certificate",
"port",
"root_ca",
"server",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"protocol",
"tls_crypt_auth",
"topology"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"tls_crypt_auth_enabled": {
"type": "boolean",
"_name_": "tls_crypt_auth_enabled",
"title": "tls_crypt_auth_enabled",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"netmask": {
"type": "integer",
"_name_": "netmask",
"title": "netmask",
"_required_": true
},
"server_certificate": {
"type": [
"integer",
"null"
],
"_name_": "server_certificate",
"title": "server_certificate",
"_required_": true
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"root_ca": {
"type": [
"integer",
"null"
],
"_name_": "root_ca",
"title": "root_ca",
"_required_": true
},
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": "string"
},
"additional_parameters": {
"_name_": "additional_parameters",
"title": "additional_parameters",
"_required_": true,
"type": "string"
},
"authentication_algorithm": {
"_name_": "authentication_algorithm",
"title": "authentication_algorithm",
"_required_": true,
"type": [
"string",
"null"
]
},
"cipher": {
"_name_": "cipher",
"title": "cipher",
"_required_": true,
"type": [
"string",
"null"
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"LZO",
"LZ4"
]
},
"device_type": {
"_name_": "device_type",
"title": "device_type",
"_required_": true,
"type": "string",
"enum": [
"TUN",
"TAP"
]
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"UDP4",
"UDP6",
"TCP",
"TCP4",
"TCP6"
]
},
"tls_crypt_auth": {
"_name_": "tls_crypt_auth",
"title": "tls_crypt_auth",
"_required_": true,
"type": [
"string",
"null"
]
},
"topology": {
"_name_": "topology",
"title": "topology",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
"NET30",
"P2P",
"SUBNET"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "openvpn_server_update_returns",
"title": "openvpn_server_entry",
"default": {},
"_attrs_order_": [
"tls_crypt_auth_enabled",
"id",
"netmask",
"server_certificate",
"port",
"root_ca",
"server",
"additional_parameters",
"authentication_algorithm",
"cipher",
"compression",
"device_type",
"protocol",
"tls_crypt_auth",
"topology",
"interface"
]
}
|
Update OpenVPN Server configuration. When |
pool.attach
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "oid",
"title": "oid",
"description": "For TrueNAS Core/Enterprise platform, if the `oid` pool is passphrase GELI encrypted, `passphrase`\nmust be specified for this operation to succeed."
}
{
"type": "object",
"properties": {
"target_vdev": {
"_name_": "target_vdev",
"title": "target_vdev",
"_required_": true,
"type": "string"
},
"new_disk": {
"_name_": "new_disk",
"title": "new_disk",
"_required_": true,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string",
"description": "For TrueNAS Core/Enterprise platform, if the `oid` pool is passphrase GELI encrypted, `passphrase`\nmust be specified for this operation to succeed."
},
"allow_duplicate_serials": {
"type": "boolean",
"_name_": "allow_duplicate_serials",
"title": "allow_duplicate_serials",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "pool_attach",
"title": "pool_attach",
"default": {},
"_attrs_order_": [
"target_vdev",
"new_disk",
"passphrase",
"allow_duplicate_serials"
]
}
|
For TrueNAS Core/Enterprise platform, if the
|
pool.attachments |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"_name_": "attachments",
"title": "attachments",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"service": {
"_name_": "service",
"title": "service",
"_required_": true,
"type": [
"string",
"null"
]
},
"attachments": {
"_name_": "attachments",
"title": "attachments",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "attachment_name",
"title": "attachment_name",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "attachment",
"title": "attachment",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"service",
"attachments"
]
}
]
}
|
Return a list of services dependent of this pool. Responsible for telling the user whether there is a related share, asking for confirmation. |
pool.create
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\n`encryption_options` specifies configuration for encryption of root dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for root dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false,
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool."
},
"deduplication": {
"_name_": "deduplication",
"title": "deduplication",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
null,
"ON",
"VERIFY",
"OFF"
],
"description": "`deduplication` when set to ON or VERIFY makes sure that no block of data is duplicated in the pool. When\nVERIFY is specified, if two blocks have similar signatures, byte to byte comparison is performed to ensure that\nthe blocks are identical. This should be used in special circumstances as it carries a significant overhead."
},
"checksum": {
"_name_": "checksum",
"title": "checksum",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
null,
"ON",
"OFF",
"FLETCHER2",
"FLETCHER4",
"SHA256",
"SHA512",
"SKEIN",
"EDONR"
]
},
"encryption_options": {
"type": "object",
"properties": {
"generate_key": {
"type": "boolean",
"_name_": "generate_key",
"title": "generate_key",
"default": false,
"_required_": false
},
"pbkdf2iters": {
"type": "integer",
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": 350000,
"_required_": false
},
"algorithm": {
"_name_": "algorithm",
"title": "algorithm",
"default": "AES-256-GCM",
"_required_": false,
"type": "string",
"enum": [
"AES-128-CCM",
"AES-192-CCM",
"AES-256-CCM",
"AES-128-GCM",
"AES-192-GCM",
"AES-256-GCM"
]
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"key": {
"_name_": "key",
"title": "key",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_options",
"title": "encryption_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"generate_key",
"pbkdf2iters",
"algorithm",
"passphrase",
"key"
],
"description": "`encryption_options` specifies configuration for encryption of root dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for root dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"RAIDZ1",
"RAIDZ2",
"RAIDZ3",
"MIRROR",
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "datavdevs",
"title": "datavdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"MIRROR",
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "specialvdevs",
"title": "specialvdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"MIRROR",
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "dedupvdevs",
"title": "dedupvdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "cachevdevs",
"title": "cachevdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"STRIPE",
"MIRROR"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "logvdevs",
"title": "logvdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"spares": {
"_name_": "spares",
"title": "spares",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"special",
"dedup",
"cache",
"log",
"spares"
],
"description": "`topology` is a object which requires at least one `data` entry.\nAll of `data` entries (vdevs) require to be of the same type.\nExample of `topology`:"
},
"allow_duplicate_serials": {
"type": "boolean",
"_name_": "allow_duplicate_serials",
"title": "allow_duplicate_serials",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "pool_create",
"title": "pool_create",
"default": {},
"_attrs_order_": [
"name",
"encryption",
"deduplication",
"checksum",
"encryption_options",
"topology",
"allow_duplicate_serials"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\n`encryption_options` specifies configuration for encryption of root dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for root dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
],
"description": "`topology` is a object which requires at least one `data` entry.\nAll of `data` entries (vdevs) require to be of the same type.\nExample of `topology`:"
}
},
"additionalProperties": false,
"_name_": "pool_create_returns",
"title": "pool_entry",
"default": {},
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
}
|
Create a new ZFS Pool.
It should be noted that keys are stored by the system for automatic locking/unlocking on import/export of encrypted datasets. If that is not desired, dataset should be created with a passphrase as a key. Example of
|
Create a pool named "tank", raidz1 with 3 disks, 1 cache disk, 1 ZIL/log disk and 1 hot spare disk.
|
pool.detach |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Detach a disk from pool of id `id`."
}
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string",
"description": "`label` is the vdev guid or device name."
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"label"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "detached",
"title": "detached"
}
|
Detach a disk from pool of id
|
Detach ZFS device.
|
pool.expand
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Expand pool to fit all available disk space. |
pool.export
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Export pool of `id`."
}
{
"type": "object",
"properties": {
"cascade": {
"type": "boolean",
"_name_": "cascade",
"title": "cascade",
"default": false,
"_required_": false,
"description": "`cascade` will delete all attachments of the given pool (`pool.attachments`)."
},
"restart_services": {
"type": "boolean",
"_name_": "restart_services",
"title": "restart_services",
"default": false,
"_required_": false,
"description": "`restart_services` will restart services that have open files on given pool."
},
"destroy": {
"type": "boolean",
"_name_": "destroy",
"title": "destroy",
"default": false,
"_required_": false,
"description": "`destroy` will also PERMANENTLY destroy the pool/data."
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"cascade",
"restart_services",
"destroy"
]
}
|
Export pool of
|
Export pool of id 1.
If this is an HA system and failover is enabled and the last zpool is exported/disconnected, then this will raise EOPNOTSUPP. Failover must be disabled before exporting the last zpool on the system. |
pool.filesystem_choices |
---|
Arguments:
{
"_name_": "types",
"title": "types",
"default": [
"FILESYSTEM",
"VOLUME"
],
"type": "array",
"items": [
{
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"FILESYSTEM",
"VOLUME"
]
}
]
}
|
Return Arguments:
{
"_name_": "filesystem_choices",
"title": "filesystem_choices",
"default": [],
"type": "array",
"items": [
{
"_name_": "filesystem_name",
"title": "filesystem_name",
"_required_": false,
"type": "string"
}
]
}
|
Returns all available datasets, except the following: 1. system datasets 2. glusterfs datasets 3. application(s) internal datasets |
Get all datasets.
Get only filesystems (exclude volumes).
|
pool.get_disks |
---|
Arguments:
{
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"default": null
}
|
Return Arguments:
{
"_name_": "pool_disks",
"title": "pool_disks",
"default": [],
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
|
Get all disks in use by pools.
If |
pool.get_instance_by_name |
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
]
}
},
"additionalProperties": false,
"_name_": "pool_entry",
"title": "pool_entry",
"default": {},
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
}
|
Returns pool with name |
pool.import_disk
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "device",
"title": "device",
"type": "string"
}
{
"_name_": "fs_type",
"title": "fs_type",
"type": "string"
}
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "fs_options",
"title": "fs_options",
"default": {},
"_attrs_order_": []
}
{
"_name_": "dst_path",
"title": "dst_path",
"type": "string"
}
|
Import a disk, by copying its content to a pool. |
Import a FAT32 (msdosfs) disk.
|
pool.import_disk_autodetect_fs_type |
---|
Arguments:
{
"_name_": "device",
"title": "device",
"type": "string"
}
|
Return Arguments:
{
"_name_": "filesystem",
"title": "filesystem",
"type": [
"string",
"null"
]
}
|
Autodetect filesystem type for |
|
pool.import_disk_msdosfs_locales |
---|
Return Arguments:
{
"_name_": "locales",
"title": "locales",
"default": [],
"type": "array",
"items": [
{
"_name_": "locale",
"title": "locale",
"_required_": false,
"type": "string"
}
]
}
|
Get a list of locales for msdosfs type to be used in |
pool.import_find
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Return Arguments:
{
"_name_": "pools_available_for_import",
"title": "Pools Available For Import",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_info",
"title": "pool_info",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"guid",
"status",
"hostname"
]
}
]
}
|
Returns a job id which can be used to retrieve a list of pools available for import with the following details as a result of the job: name, guid, status, hostname. |
pool.import_pool
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string",
"description": "If a `name` is specified the pool will be imported using that new name."
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string",
"description": "`passphrase` DEPRECATED. GELI not supported on SCALE."
},
"enable_attachments": {
"type": "boolean",
"_name_": "enable_attachments",
"title": "enable_attachments",
"_required_": false,
"description": "If `enable_attachments` is set to true, attachments that were disabled during pool export will be\nre-enabled."
}
},
"additionalProperties": false,
"_name_": "pool_import",
"title": "pool_import",
"default": {},
"_attrs_order_": [
"guid",
"name",
"passphrase",
"enable_attachments"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "successful_import",
"title": "successful_import"
}
|
Import a pool found with If a
If Errors: ENOENT - Pool not found |
Import pool of guid 5571830764813710860.
|
pool.is_upgraded |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Returns whether or not the pool of `id` is on the latest version and with all feature\nflags enabled."
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "pool_is_upgraded",
"title": "pool_is_upgraded"
}
|
Returns whether or not the pool of |
Check if pool of id 1 is upgraded.
|
pool.offline |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Offline a disk from pool of id `id`."
}
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string",
"description": "`label` is the vdev guid or device name."
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"label"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "offline_successful",
"title": "offline_successful"
}
|
Offline a disk from pool of id
|
Offline ZFS device.
|
pool.online |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Online a disk from pool of id `id`."
}
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string",
"description": "`label` is the vdev guid or device name."
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"label"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "online_successful",
"title": "online_successful"
}
|
Online a disk from pool of id
|
Online ZFS device.
|
pool.processes |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"_name_": "processes",
"title": "processes",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"pid": {
"type": "integer",
"_name_": "pid",
"title": "pid",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"service": {
"_name_": "service",
"title": "service",
"_required_": false,
"type": "string"
},
"cmdline": {
"_name_": "cmdline",
"title": "cmdline",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "process",
"title": "process",
"default": {},
"_required_": false,
"_attrs_order_": [
"pid",
"name",
"service",
"cmdline"
]
}
]
}
|
Returns a list of running processes using this pool. |
pool.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
]
}
},
"additionalProperties": false,
"_name_": "pool_entry",
"title": "pool_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
]
}
},
"additionalProperties": false,
"_name_": "pool_entry",
"title": "pool_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
]
}
},
"additionalProperties": false,
"_name_": "pool_entry",
"title": "pool_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
pool.remove
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Remove a disk from pool of id `id`."
}
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string",
"description": "`label` is the vdev guid or device name."
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"label"
]
}
|
Remove a disk from pool of id
Error codes:
|
Remove ZFS device.
|
pool.replace
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string",
"description": "`label` is the ZFS guid or a device name"
},
"disk": {
"_name_": "disk",
"title": "disk",
"_required_": true,
"type": "string",
"description": "`disk` is the identifier of a disk"
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string",
"description": "`passphrase` is only valid for TrueNAS Core/Enterprise platform where pool is GELI encrypted"
},
"preserve_settings": {
"type": "boolean",
"_name_": "preserve_settings",
"title": "preserve_settings",
"default": true,
"_required_": false,
"description": "If `preserve_settings` is true, then settings (power management, S.M.A.R.T., etc.) of a disk being replaced\nwill be applied to a new disk."
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"label",
"disk",
"force",
"passphrase",
"preserve_settings"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "replaced_successfully",
"title": "replaced_successfully"
}
|
Replace a disk on a pool.
|
Replace missing ZFS device with disk {serial}FOO.
|
pool.scrub
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Performs a scrub action to pool of `id`."
}
{
"_name_": "action",
"title": "action",
"type": "string",
"enum": [
"START",
"STOP",
"PAUSE"
],
"description": "`action` can be either of \"START\", \"STOP\" or \"PAUSE\"."
}
|
Performs a scrub action to pool of
|
Start scrub on pool of id 1.
|
pool.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update pool of `id`, adding the new topology."
}
{
"type": "object",
"properties": {
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"RAIDZ1",
"RAIDZ2",
"RAIDZ3",
"MIRROR",
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "datavdevs",
"title": "datavdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"MIRROR",
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "specialvdevs",
"title": "specialvdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"MIRROR",
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "dedupvdevs",
"title": "dedupvdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"STRIPE"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "cachevdevs",
"title": "cachevdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"STRIPE",
"MIRROR"
]
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "logvdevs",
"title": "logvdevs",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"disks"
]
}
]
},
"spares": {
"_name_": "spares",
"title": "spares",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"special",
"dedup",
"cache",
"log",
"spares"
],
"description": "`topology` is a object which requires at least one `data` entry.\nAll of `data` entries (vdevs) require to be of the same type.\nExample of `topology`:"
},
"allow_duplicate_serials": {
"type": "boolean",
"_name_": "allow_duplicate_serials",
"title": "allow_duplicate_serials",
"default": false,
"_required_": false
},
"autotrim": {
"_name_": "autotrim",
"title": "autotrim",
"_required_": false,
"type": "string",
"enum": [
"ON",
"OFF"
]
}
},
"additionalProperties": false,
"_name_": "pool_update",
"title": "pool_create",
"default": {},
"_attrs_order_": [
"topology",
"allow_duplicate_serials",
"autotrim"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update pool of `id`, adding the new topology."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\n`encryption_options` specifies configuration for encryption of root dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for root dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
],
"description": "`topology` is a object which requires at least one `data` entry.\nAll of `data` entries (vdevs) require to be of the same type.\nExample of `topology`:"
}
},
"additionalProperties": false,
"_name_": "pool_update_returns",
"title": "pool_entry",
"default": {},
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
}
|
Update pool of The |
Add a new set of raidz1 to pool of id 1.
|
pool.upgrade |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Upgrade pool of `id` to latest version with all feature flags."
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "upgraded",
"title": "upgraded"
}
|
Upgrade pool of |
Upgrade pool of id 1.
|
pool.dataset.attachments |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Return Arguments:
{
"_name_": "attachments",
"title": "attachments",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"service": {
"_name_": "service",
"title": "service",
"_required_": true,
"type": [
"string",
"null"
]
},
"attachments": {
"_name_": "attachments",
"title": "attachments",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "attachment_name",
"title": "attachment_name",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "attachment",
"title": "attachment",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"service",
"attachments"
]
}
]
}
|
Return a list of services dependent of this dataset. Responsible for telling the user whether there is a related share, asking for confirmation. Example return value: [ { "type": "NFS Share", "service": "nfs", "attachments": ["/mnt/tank/work"] } ] |
pool.dataset.change_key |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Change encryption properties for `id` encrypted dataset."
}
{
"type": "object",
"properties": {
"generate_key": {
"type": "boolean",
"_name_": "generate_key",
"title": "generate_key",
"default": false,
"_required_": false
},
"key_file": {
"type": "boolean",
"_name_": "key_file",
"title": "key_file",
"default": false,
"_required_": false
},
"pbkdf2iters": {
"type": "integer",
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": 350000,
"_required_": false
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"key": {
"_name_": "key",
"title": "key",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "change_key_options",
"title": "change_key_options",
"default": {},
"_attrs_order_": [
"generate_key",
"key_file",
"pbkdf2iters",
"passphrase",
"key"
]
}
|
Change encryption properties for Changing dataset encryption to use passphrase instead of a key is not allowed if: 1) It has encrypted roots as children which are encrypted with a key 2) If it is a root dataset where the system dataset is located |
pool.dataset.checksum_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"ON": {
"_name_": "ON",
"title": "ON",
"_required_": false,
"type": "string",
"enum": [
"ON"
]
},
"FLETCHER2": {
"_name_": "FLETCHER2",
"title": "FLETCHER2",
"_required_": false,
"type": "string",
"enum": [
"FLETCHER2"
]
},
"FLETCHER4": {
"_name_": "FLETCHER4",
"title": "FLETCHER4",
"_required_": false,
"type": "string",
"enum": [
"FLETCHER4"
]
},
"SHA256": {
"_name_": "SHA256",
"title": "SHA256",
"_required_": false,
"type": "string",
"enum": [
"SHA256"
]
},
"SHA512": {
"_name_": "SHA512",
"title": "SHA512",
"_required_": false,
"type": "string",
"enum": [
"SHA512"
]
},
"SKEIN": {
"_name_": "SKEIN",
"title": "SKEIN",
"_required_": false,
"type": "string",
"enum": [
"SKEIN"
]
},
"EDONR": {
"_name_": "EDONR",
"title": "EDONR",
"_required_": false,
"type": "string",
"enum": [
"EDONR"
]
}
},
"additionalProperties": false,
"_name_": "checksum_choices",
"title": "checksum_choices",
"default": {},
"_attrs_order_": [
"ON",
"FLETCHER2",
"FLETCHER4",
"SHA256",
"SHA512",
"SKEIN",
"EDONR"
]
}
|
Retrieve checksums supported for ZFS dataset. |
pool.dataset.compression_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"OFF": {
"_name_": "OFF",
"title": "OFF",
"_required_": false,
"type": "string",
"enum": [
"OFF"
]
},
"LZ4": {
"_name_": "LZ4",
"title": "LZ4",
"_required_": false,
"type": "string",
"enum": [
"LZ4"
]
},
"GZIP": {
"_name_": "GZIP",
"title": "GZIP",
"_required_": false,
"type": "string",
"enum": [
"GZIP"
]
},
"GZIP-1": {
"_name_": "GZIP-1",
"title": "GZIP-1",
"_required_": false,
"type": "string",
"enum": [
"GZIP-1"
]
},
"GZIP-9": {
"_name_": "GZIP-9",
"title": "GZIP-9",
"_required_": false,
"type": "string",
"enum": [
"GZIP-9"
]
},
"ZSTD": {
"_name_": "ZSTD",
"title": "ZSTD",
"_required_": false,
"type": "string",
"enum": [
"ZSTD"
]
},
"ZSTD-FAST": {
"_name_": "ZSTD-FAST",
"title": "ZSTD-FAST",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST"
]
},
"ZLE": {
"_name_": "ZLE",
"title": "ZLE",
"_required_": false,
"type": "string",
"enum": [
"ZLE"
]
},
"LZJB": {
"_name_": "LZJB",
"title": "LZJB",
"_required_": false,
"type": "string",
"enum": [
"LZJB"
]
},
"ZSTD-1": {
"_name_": "ZSTD-1",
"title": "ZSTD-1",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-1"
]
},
"ZSTD-2": {
"_name_": "ZSTD-2",
"title": "ZSTD-2",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-2"
]
},
"ZSTD-3": {
"_name_": "ZSTD-3",
"title": "ZSTD-3",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-3"
]
},
"ZSTD-4": {
"_name_": "ZSTD-4",
"title": "ZSTD-4",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-4"
]
},
"ZSTD-5": {
"_name_": "ZSTD-5",
"title": "ZSTD-5",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-5"
]
},
"ZSTD-6": {
"_name_": "ZSTD-6",
"title": "ZSTD-6",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-6"
]
},
"ZSTD-7": {
"_name_": "ZSTD-7",
"title": "ZSTD-7",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-7"
]
},
"ZSTD-8": {
"_name_": "ZSTD-8",
"title": "ZSTD-8",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-8"
]
},
"ZSTD-9": {
"_name_": "ZSTD-9",
"title": "ZSTD-9",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-9"
]
},
"ZSTD-10": {
"_name_": "ZSTD-10",
"title": "ZSTD-10",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-10"
]
},
"ZSTD-11": {
"_name_": "ZSTD-11",
"title": "ZSTD-11",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-11"
]
},
"ZSTD-12": {
"_name_": "ZSTD-12",
"title": "ZSTD-12",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-12"
]
},
"ZSTD-13": {
"_name_": "ZSTD-13",
"title": "ZSTD-13",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-13"
]
},
"ZSTD-14": {
"_name_": "ZSTD-14",
"title": "ZSTD-14",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-14"
]
},
"ZSTD-15": {
"_name_": "ZSTD-15",
"title": "ZSTD-15",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-15"
]
},
"ZSTD-16": {
"_name_": "ZSTD-16",
"title": "ZSTD-16",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-16"
]
},
"ZSTD-17": {
"_name_": "ZSTD-17",
"title": "ZSTD-17",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-17"
]
},
"ZSTD-18": {
"_name_": "ZSTD-18",
"title": "ZSTD-18",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-18"
]
},
"ZSTD-19": {
"_name_": "ZSTD-19",
"title": "ZSTD-19",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-19"
]
},
"ZSTD-FAST-1": {
"_name_": "ZSTD-FAST-1",
"title": "ZSTD-FAST-1",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-1"
]
},
"ZSTD-FAST-2": {
"_name_": "ZSTD-FAST-2",
"title": "ZSTD-FAST-2",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-2"
]
},
"ZSTD-FAST-3": {
"_name_": "ZSTD-FAST-3",
"title": "ZSTD-FAST-3",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-3"
]
},
"ZSTD-FAST-4": {
"_name_": "ZSTD-FAST-4",
"title": "ZSTD-FAST-4",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-4"
]
},
"ZSTD-FAST-5": {
"_name_": "ZSTD-FAST-5",
"title": "ZSTD-FAST-5",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-5"
]
},
"ZSTD-FAST-6": {
"_name_": "ZSTD-FAST-6",
"title": "ZSTD-FAST-6",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-6"
]
},
"ZSTD-FAST-7": {
"_name_": "ZSTD-FAST-7",
"title": "ZSTD-FAST-7",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-7"
]
},
"ZSTD-FAST-8": {
"_name_": "ZSTD-FAST-8",
"title": "ZSTD-FAST-8",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-8"
]
},
"ZSTD-FAST-9": {
"_name_": "ZSTD-FAST-9",
"title": "ZSTD-FAST-9",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-9"
]
},
"ZSTD-FAST-10": {
"_name_": "ZSTD-FAST-10",
"title": "ZSTD-FAST-10",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-10"
]
},
"ZSTD-FAST-20": {
"_name_": "ZSTD-FAST-20",
"title": "ZSTD-FAST-20",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-20"
]
},
"ZSTD-FAST-30": {
"_name_": "ZSTD-FAST-30",
"title": "ZSTD-FAST-30",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-30"
]
},
"ZSTD-FAST-40": {
"_name_": "ZSTD-FAST-40",
"title": "ZSTD-FAST-40",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-40"
]
},
"ZSTD-FAST-50": {
"_name_": "ZSTD-FAST-50",
"title": "ZSTD-FAST-50",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-50"
]
},
"ZSTD-FAST-60": {
"_name_": "ZSTD-FAST-60",
"title": "ZSTD-FAST-60",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-60"
]
},
"ZSTD-FAST-70": {
"_name_": "ZSTD-FAST-70",
"title": "ZSTD-FAST-70",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-70"
]
},
"ZSTD-FAST-80": {
"_name_": "ZSTD-FAST-80",
"title": "ZSTD-FAST-80",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-80"
]
},
"ZSTD-FAST-90": {
"_name_": "ZSTD-FAST-90",
"title": "ZSTD-FAST-90",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-90"
]
},
"ZSTD-FAST-100": {
"_name_": "ZSTD-FAST-100",
"title": "ZSTD-FAST-100",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-100"
]
},
"ZSTD-FAST-500": {
"_name_": "ZSTD-FAST-500",
"title": "ZSTD-FAST-500",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-500"
]
},
"ZSTD-FAST-1000": {
"_name_": "ZSTD-FAST-1000",
"title": "ZSTD-FAST-1000",
"_required_": false,
"type": "string",
"enum": [
"ZSTD-FAST-1000"
]
}
},
"additionalProperties": false,
"_name_": "compression_choices",
"title": "compression_choices",
"default": {},
"_attrs_order_": [
"OFF",
"LZ4",
"GZIP",
"GZIP-1",
"GZIP-9",
"ZSTD",
"ZSTD-FAST",
"ZLE",
"LZJB",
"ZSTD-1",
"ZSTD-2",
"ZSTD-3",
"ZSTD-4",
"ZSTD-5",
"ZSTD-6",
"ZSTD-7",
"ZSTD-8",
"ZSTD-9",
"ZSTD-10",
"ZSTD-11",
"ZSTD-12",
"ZSTD-13",
"ZSTD-14",
"ZSTD-15",
"ZSTD-16",
"ZSTD-17",
"ZSTD-18",
"ZSTD-19",
"ZSTD-FAST-1",
"ZSTD-FAST-2",
"ZSTD-FAST-3",
"ZSTD-FAST-4",
"ZSTD-FAST-5",
"ZSTD-FAST-6",
"ZSTD-FAST-7",
"ZSTD-FAST-8",
"ZSTD-FAST-9",
"ZSTD-FAST-10",
"ZSTD-FAST-20",
"ZSTD-FAST-30",
"ZSTD-FAST-40",
"ZSTD-FAST-50",
"ZSTD-FAST-60",
"ZSTD-FAST-70",
"ZSTD-FAST-80",
"ZSTD-FAST-90",
"ZSTD-FAST-100",
"ZSTD-FAST-500",
"ZSTD-FAST-1000"
]
}
|
Retrieve compression algorithm supported by ZFS. |
pool.dataset.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\nThere are 2 cases where ZFS encryption is not allowed for a dataset:\n1) Pool in question is GELI encrypted.\n2) If the parent dataset is encrypted with a passphrase and `name` is being created\n with a key for encrypting the dataset.\n`encryption_options` specifies configuration for encryption of dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"type": {
"_name_": "type",
"title": "type",
"default": "FILESYSTEM",
"_required_": false,
"type": "string",
"enum": [
"FILESYSTEM",
"VOLUME"
]
},
"volsize": {
"type": "integer",
"_name_": "volsize",
"title": "volsize",
"_required_": false,
"description": "`volsize` is required for type=VOLUME and is supposed to be a multiple of the block size."
},
"volblocksize": {
"_name_": "volblocksize",
"title": "volblocksize",
"_required_": false,
"type": "string",
"enum": [
"512",
"1K",
"2K",
"4K",
"8K",
"16K",
"32K",
"64K",
"128K"
],
"description": "`sparse` and `volblocksize` are only used for type=VOLUME."
},
"sparse": {
"type": "boolean",
"_name_": "sparse",
"title": "sparse",
"_required_": false,
"description": "`sparse` and `volblocksize` are only used for type=VOLUME."
},
"force_size": {
"type": "boolean",
"_name_": "force_size",
"title": "force_size",
"_required_": false
},
"comments": {
"_name_": "comments",
"title": "comments",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"sync": {
"_name_": "sync",
"title": "sync",
"_required_": false,
"enum": [
"STANDARD",
"ALWAYS",
"DISABLED"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": false,
"enum": [
"OFF",
"LZ4",
"GZIP",
"GZIP-1",
"GZIP-9",
"ZSTD",
"ZSTD-FAST",
"ZLE",
"LZJB",
"ZSTD-1",
"ZSTD-2",
"ZSTD-3",
"ZSTD-4",
"ZSTD-5",
"ZSTD-6",
"ZSTD-7",
"ZSTD-8",
"ZSTD-9",
"ZSTD-10",
"ZSTD-11",
"ZSTD-12",
"ZSTD-13",
"ZSTD-14",
"ZSTD-15",
"ZSTD-16",
"ZSTD-17",
"ZSTD-18",
"ZSTD-19",
"ZSTD-FAST-1",
"ZSTD-FAST-2",
"ZSTD-FAST-3",
"ZSTD-FAST-4",
"ZSTD-FAST-5",
"ZSTD-FAST-6",
"ZSTD-FAST-7",
"ZSTD-FAST-8",
"ZSTD-FAST-9",
"ZSTD-FAST-10",
"ZSTD-FAST-20",
"ZSTD-FAST-30",
"ZSTD-FAST-40",
"ZSTD-FAST-50",
"ZSTD-FAST-60",
"ZSTD-FAST-70",
"ZSTD-FAST-80",
"ZSTD-FAST-90",
"ZSTD-FAST-100",
"ZSTD-FAST-500",
"ZSTD-FAST-1000"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"atime": {
"_name_": "atime",
"title": "atime",
"_required_": false,
"enum": [
"ON",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"exec": {
"_name_": "exec",
"title": "exec",
"_required_": false,
"enum": [
"ON",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"managedby": {
"_name_": "managedby",
"title": "managedby",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"quota": {
"type": [
"integer",
"null"
],
"_name_": "quota",
"title": "quota",
"_required_": false
},
"quota_warning": {
"_name_": "quota_warning",
"title": "quota_warning",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"quota_critical": {
"_name_": "quota_critical",
"title": "quota_critical",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"refquota": {
"type": [
"integer",
"null"
],
"_name_": "refquota",
"title": "refquota",
"_required_": false
},
"refquota_warning": {
"_name_": "refquota_warning",
"title": "refquota_warning",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"refquota_critical": {
"_name_": "refquota_critical",
"title": "refquota_critical",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"reservation": {
"type": "integer",
"_name_": "reservation",
"title": "reservation",
"_required_": false
},
"refreservation": {
"type": "integer",
"_name_": "refreservation",
"title": "refreservation",
"_required_": false
},
"special_small_block_size": {
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"copies": {
"_name_": "copies",
"title": "copies",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"snapdir": {
"_name_": "snapdir",
"title": "snapdir",
"_required_": false,
"enum": [
"VISIBLE",
"HIDDEN"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"deduplication": {
"_name_": "deduplication",
"title": "deduplication",
"_required_": false,
"enum": [
"ON",
"VERIFY",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"checksum": {
"_name_": "checksum",
"title": "checksum",
"_required_": false,
"enum": [
"ON",
"OFF",
"FLETCHER2",
"FLETCHER4",
"SHA256",
"SHA512",
"SKEIN",
"EDONR"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"readonly": {
"_name_": "readonly",
"title": "readonly",
"_required_": false,
"enum": [
"ON",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"recordsize": {
"_name_": "recordsize",
"title": "recordsize",
"_required_": false,
"enum": [
"512",
"1K",
"2K",
"4K",
"8K",
"16K",
"32K",
"64K",
"128K",
"256K",
"512K",
"1024K"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"casesensitivity": {
"_name_": "casesensitivity",
"title": "casesensitivity",
"_required_": false,
"enum": [
"SENSITIVE",
"INSENSITIVE",
"MIXED"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"aclmode": {
"_name_": "aclmode",
"title": "aclmode",
"_required_": false,
"enum": [
"PASSTHROUGH",
"RESTRICTED",
"DISCARD"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": false,
"enum": [
"OFF",
"NOACL",
"NFSV4",
"NFS4ACL",
"POSIX",
"POSIXACL"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"share_type": {
"_name_": "share_type",
"title": "share_type",
"default": "GENERIC",
"_required_": false,
"type": "string",
"enum": [
"GENERIC",
"SMB"
]
},
"xattr": {
"_name_": "xattr",
"title": "xattr",
"_required_": false,
"enum": [
"ON",
"SA"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"encryption_options": {
"type": "object",
"properties": {
"generate_key": {
"type": "boolean",
"_name_": "generate_key",
"title": "generate_key",
"default": false,
"_required_": false
},
"pbkdf2iters": {
"type": "integer",
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": 350000,
"_required_": false
},
"algorithm": {
"_name_": "algorithm",
"title": "algorithm",
"default": "AES-256-GCM",
"_required_": false,
"type": "string",
"enum": [
"AES-128-CCM",
"AES-192-CCM",
"AES-256-CCM",
"AES-128-GCM",
"AES-192-GCM",
"AES-256-GCM"
]
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"key": {
"_name_": "key",
"title": "key",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_options",
"title": "encryption_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"generate_key",
"pbkdf2iters",
"algorithm",
"passphrase",
"key"
],
"description": "`encryption_options` specifies configuration for encryption of dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false,
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\nThere are 2 cases where ZFS encryption is not allowed for a dataset:\n1) Pool in question is GELI encrypted.\n2) If the parent dataset is encrypted with a passphrase and `name` is being created\n with a key for encrypting the dataset."
},
"inherit_encryption": {
"type": "boolean",
"_name_": "inherit_encryption",
"title": "inherit_encryption",
"default": true,
"_required_": false
},
"user_properties": {
"_name_": "user_properties",
"title": "user_properties",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"key": {
"_name_": "key",
"title": "key",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "user_property",
"title": "user_property",
"default": {},
"_required_": false,
"_attrs_order_": [
"key",
"value"
]
}
]
},
"create_ancestors": {
"type": "boolean",
"_name_": "create_ancestors",
"title": "create_ancestors",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "pool_dataset_create",
"title": "pool_dataset_create",
"default": {},
"_attrs_order_": [
"name",
"type",
"volsize",
"volblocksize",
"sparse",
"force_size",
"comments",
"sync",
"compression",
"atime",
"exec",
"managedby",
"quota",
"quota_warning",
"quota_critical",
"refquota",
"refquota_warning",
"refquota_critical",
"reservation",
"refreservation",
"special_small_block_size",
"copies",
"snapdir",
"deduplication",
"checksum",
"readonly",
"recordsize",
"casesensitivity",
"aclmode",
"acltype",
"share_type",
"xattr",
"encryption_options",
"encryption",
"inherit_encryption",
"user_properties",
"create_ancestors"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\nThere are 2 cases where ZFS encryption is not allowed for a dataset:\n1) Pool in question is GELI encrypted.\n2) If the parent dataset is encrypted with a passphrase and `name` is being created\n with a key for encrypting the dataset.\n`encryption_options` specifies configuration for encryption of dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": [
"boolean",
"null"
],
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
},
"children": {
"_name_": "children",
"title": "children",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"user_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "user_properties",
"title": "user_properties",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"comments": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "comments",
"title": "comments",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_warning",
"title": "quota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_critical",
"title": "quota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_warning",
"title": "refquota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_critical",
"title": "refquota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"managedby": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "managedby",
"title": "managedby",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"deduplication": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "deduplication",
"title": "deduplication",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"aclmode": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "aclmode",
"title": "aclmode",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"acltype": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "acltype",
"title": "acltype",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"xattr": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "xattr",
"title": "xattr",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"atime": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "atime",
"title": "atime",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"casesensitivity": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "casesensitivity",
"title": "casesensitivity",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"checksum": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "checksum",
"title": "checksum",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"exec": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "exec",
"title": "exec",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sync": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sync",
"title": "sync",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compression": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compression",
"title": "compression",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compressratio": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compressratio",
"title": "compressratio",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"origin": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "origin",
"title": "origin",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota",
"title": "quota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota",
"title": "refquota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"reservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "reservation",
"title": "reservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refreservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refreservation",
"title": "refreservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"copies": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "copies",
"title": "copies",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"snapdir": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "snapdir",
"title": "snapdir",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"readonly": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "readonly",
"title": "readonly",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"recordsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "recordsize",
"title": "recordsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sparse": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sparse",
"title": "sparse",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
],
"description": "`sparse` and `volblocksize` are only used for type=VOLUME."
},
"volsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volsize",
"title": "volsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
],
"description": "`volsize` is required for type=VOLUME and is supposed to be a multiple of the block size."
},
"volblocksize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volblocksize",
"title": "volblocksize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
],
"description": "`sparse` and `volblocksize` are only used for type=VOLUME."
},
"key_format": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "key_format",
"title": "key_format",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"encryption_algorithm": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm",
"title": "encryption_algorithm",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"used": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "used",
"title": "used",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"available": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "available",
"title": "available",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"special_small_block_size": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"pbkdf2iters": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"creation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "creation",
"title": "creation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_create_returns",
"title": "pool_dataset_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"pool",
"encrypted",
"encryption_root",
"key_loaded",
"children",
"user_properties",
"locked",
"comments",
"quota_warning",
"quota_critical",
"refquota_warning",
"refquota_critical",
"managedby",
"deduplication",
"aclmode",
"acltype",
"xattr",
"atime",
"casesensitivity",
"checksum",
"exec",
"sync",
"compression",
"compressratio",
"origin",
"quota",
"refquota",
"reservation",
"refreservation",
"copies",
"snapdir",
"readonly",
"recordsize",
"sparse",
"volsize",
"volblocksize",
"key_format",
"encryption_algorithm",
"used",
"available",
"special_small_block_size",
"pbkdf2iters",
"creation",
"mountpoint"
]
}
|
Creates a dataset/zvol.
It should be noted that keys are stored by the system for automatic locking/unlocking on import/export of encrypted datasets. If that is not desired, dataset should be created with a passphrase as a key. |
Create a dataset within tank pool.
|
pool.dataset.delete |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Delete dataset/zvol `id`."
}
{
"type": "object",
"properties": {
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false,
"description": "`recursive` will also delete/destroy all children datasets."
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false,
"description": "`force` will force delete busy datasets."
}
},
"additionalProperties": false,
"_name_": "dataset_delete",
"title": "dataset_delete",
"default": {},
"_attrs_order_": [
"recursive",
"force"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete dataset/zvol
|
Delete "tank/myuser" dataset.
|
pool.dataset.destroy_snapshots
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
{
"type": "object",
"properties": {
"all": {
"type": "boolean",
"_name_": "all",
"title": "all",
"default": true,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"snapshots": {
"_name_": "snapshots",
"title": "snapshots",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"start": {
"_name_": "start",
"title": "start",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "snapshot_spec",
"title": "snapshot_spec",
"default": {},
"_required_": false,
"_attrs_order_": [
"start",
"end"
]
},
{
"_name_": "snapshot_name",
"title": "snapshot_name",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "snapshots",
"title": "snapshots",
"default": {},
"_attrs_order_": [
"all",
"recursive",
"snapshots"
]
}
|
Return Arguments:
{
"_name_": "deleted_snapshots",
"title": "deleted_snapshots",
"default": [],
"type": "array",
"items": [
{
"_name_": "deleted_snapshot",
"title": "deleted_snapshot",
"_required_": false,
"type": "string"
}
]
}
|
Destroy specified snapshots of a given dataset. |
pool.dataset.encryption_algorithm_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"AES-128-CCM": {
"_name_": "AES-128-CCM",
"title": "AES-128-CCM",
"_required_": false,
"type": "string",
"enum": [
"AES-128-CCM"
]
},
"AES-192-CCM": {
"_name_": "AES-192-CCM",
"title": "AES-192-CCM",
"_required_": false,
"type": "string",
"enum": [
"AES-192-CCM"
]
},
"AES-256-CCM": {
"_name_": "AES-256-CCM",
"title": "AES-256-CCM",
"_required_": false,
"type": "string",
"enum": [
"AES-256-CCM"
]
},
"AES-128-GCM": {
"_name_": "AES-128-GCM",
"title": "AES-128-GCM",
"_required_": false,
"type": "string",
"enum": [
"AES-128-GCM"
]
},
"AES-192-GCM": {
"_name_": "AES-192-GCM",
"title": "AES-192-GCM",
"_required_": false,
"type": "string",
"enum": [
"AES-192-GCM"
]
},
"AES-256-GCM": {
"_name_": "AES-256-GCM",
"title": "AES-256-GCM",
"_required_": false,
"type": "string",
"enum": [
"AES-256-GCM"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm_choices",
"title": "encryption_algorithm_choices",
"default": {},
"_attrs_order_": [
"AES-128-CCM",
"AES-192-CCM",
"AES-256-CCM",
"AES-128-GCM",
"AES-192-GCM",
"AES-256-GCM"
]
}
|
Retrieve encryption algorithms supported for ZFS dataset encryption. |
pool.dataset.encryption_summary |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Retrieve summary of all encrypted roots under `id`.\nIt should be noted that there are 2 keys which show if a recursive unlock operation is\ndone for `id`, which dataset will be unlocked and if not why it won't be unlocked. The keys\nnamely are \"unlock_successful\" and \"unlock_error\". The former is a boolean value showing if unlock\nwould succeed/fail. The latter is description why it failed if it failed."
}
{
"type": "object",
"properties": {
"key_file": {
"type": "boolean",
"_name_": "key_file",
"title": "key_file",
"default": false,
"_required_": false
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
},
"datasets": {
"_name_": "datasets",
"title": "datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"key": {
"_name_": "key",
"title": "key",
"_required_": false,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "dataset",
"title": "dataset",
"default": {},
"_required_": false,
"_attrs_order_": [
"force",
"name",
"key",
"passphrase"
]
}
]
}
},
"additionalProperties": false,
"_name_": "encryption_root_summary_options",
"title": "encryption_root_summary_options",
"default": {},
"_attrs_order_": [
"key_file",
"force",
"datasets"
]
}
|
Return Arguments:
{
"_name_": "encryption_summary",
"title": "encryption_summary",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"key_format": {
"_name_": "key_format",
"title": "key_format",
"_required_": true,
"type": "string"
},
"key_present_in_database": {
"type": "boolean",
"_name_": "key_present_in_database",
"title": "key_present_in_database",
"_required_": true
},
"valid_key": {
"type": "boolean",
"_name_": "valid_key",
"title": "valid_key",
"_required_": true
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"unlock_error": {
"_name_": "unlock_error",
"title": "unlock_error",
"_required_": true,
"type": [
"string",
"null"
]
},
"unlock_successful": {
"type": "boolean",
"_name_": "unlock_successful",
"title": "unlock_successful",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "dataset_encryption_summary",
"title": "dataset_encryption_summary",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"key_format",
"key_present_in_database",
"valid_key",
"locked",
"unlock_error",
"unlock_successful"
]
}
]
}
|
Retrieve summary of all encrypted roots under Keys/passphrase can be supplied to check if the keys are valid. It should be noted that there are 2 keys which show if a recursive unlock operation is
done for In some cases it's possible that the provided key/passphrase is valid but the path where the dataset is
supposed to be mounted after being unlocked already exists and is not empty. In this case, unlock operation
would fail and If a dataset is already unlocked, it will show up as true for "unlock_successful" regardless of what key user provided as the unlock keys in the output are to reflect what a real unlock operation would behave. If user is interested in seeing if a provided key is valid or not, then the key to look out for in the output is "valid_key" which based on what system has in database or if a user provided one, validates the key and sets a boolean value for the dataset. Example output: [ { "name": "vol", "key_format": "PASSPHRASE", "key_present_in_database": false, "valid_key": true, "locked": true, "unlock_error": null, "unlock_successful": true }, { "name": "vol/c1/d1", "key_format": "PASSPHRASE", "key_present_in_database": false, "valid_key": false, "locked": true, "unlock_error": "Provided key is invalid", "unlock_successful": false }, { "name": "vol/c", "key_format": "PASSPHRASE", "key_present_in_database": false, "valid_key": false, "locked": true, "unlock_error": "Key not provided", "unlock_successful": false }, { "name": "vol/c/d2", "key_format": "PASSPHRASE", "key_present_in_database": false, "valid_key": false, "locked": true, "unlock_error": "Child cannot be unlocked when parent "vol/c" is locked and provided key is invalid", "unlock_successful": false } ] |
pool.dataset.export_key |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Export own encryption key for dataset `id`. If `download` is `true`, key will be downloaded in a json file\nwhere the same file can be used to unlock the dataset, otherwise it will be returned as string."
}
{
"type": "boolean",
"_name_": "download",
"title": "download",
"default": false,
"description": "Export own encryption key for dataset `id`. If `download` is `true`, key will be downloaded in a json file\nwhere the same file can be used to unlock the dataset, otherwise it will be returned as string."
}
|
Return Arguments:
{
"_name_": "key",
"title": "key",
"type": [
"string",
"null"
]
}
|
Export own encryption key for dataset Please refer to websocket documentation for downloading the file. |
pool.dataset.export_keys |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Export keys for `id` and its children which are stored in the system. The exported file is a JSON file\nwhich has a dictionary containing dataset names as keys and their keys as the value."
}
|
Export keys for Please refer to websocket documentation for downloading the file. |
pool.dataset.get_quota |
---|
Arguments:
{
"_name_": "ds",
"title": "ds",
"type": "string",
"description": "Return a list of the specified `quota_type` of quotas on the ZFS dataset `ds`.\nSupport `query-filters` and `query-options`. used_bytes and used_percentage\nmay not instantly update as space is used."
}
{
"_name_": "quota_type",
"title": "quota_type",
"type": "string",
"enum": [
"USER",
"GROUP",
"DATASET"
],
"description": "Return a list of the specified `quota_type` of quotas on the ZFS dataset `ds`.\nSupport `query-filters` and `query-options`. used_bytes and used_percentage\nmay not instantly update as space is used."
}
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return a list of the specified When quota_type is not DATASET, each quota entry has these fields:
'obj_used
Note: SMB client requests to set a quota granting no space will result in an on-disk quota of 1 KiB. |
pool.dataset.inherit_parent_encryption_properties |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Allows inheriting parent's encryption root discarding its current encryption settings. This
can only be done where |
pool.dataset.lock
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Locks `id` dataset. It will unmount the dataset and its children before locking."
}
{
"type": "object",
"properties": {
"force_umount": {
"type": "boolean",
"_name_": "force_umount",
"title": "force_umount",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "lock_options",
"title": "lock_options",
"default": {},
"_attrs_order_": [
"force_umount"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "locked",
"title": "locked"
}
|
Locks After the dataset has been unmounted, system will set immutable flag on the dataset's mountpoint where the dataset was mounted before it was locked making sure that the path cannot be modified. Once the dataset is unlocked, it will not be affected by this change and consumers can continue consuming it. |
pool.dataset.permission
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Set permissions for a dataset `id`. Permissions may be specified as\neither a posix `mode` or an `acl`. This method is a wrapper around\n`filesystem.setperm`, `filesystem.setacl`, and `filesystem.chown`"
}
{
"type": "object",
"properties": {
"user": {
"_name_": "user",
"title": "user",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"_required_": false,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": false,
"type": [
"string",
"null"
],
"description": "Set permissions for a dataset `id`. Permissions may be specified as\neither a posix `mode` or an `acl`. This method is a wrapper around\n`filesystem.setperm`, `filesystem.setacl`, and `filesystem.chown`\n`filesystem.setperm` is called if `mode` is specified.\n`filesystem.setacl` is called if `acl` is specified or if the\noption `set_default_acl` is selected.\n`filesystem.chown` is called if neither `mode` nor `acl` is\nspecified."
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": "Set permissions for a dataset `id`. Permissions may be specified as\neither a posix `mode` or an `acl`. This method is a wrapper around\n`filesystem.setperm`, `filesystem.setacl`, and `filesystem.chown`\n`filesystem.setacl` is called if `acl` is specified or if the\noption `set_default_acl` is selected.\n`filesystem.chown` is called if neither `mode` nor `acl` is\nspecified.",
"_required_": false
},
"options": {
"type": "object",
"properties": {
"set_default_acl": {
"type": "boolean",
"_name_": "set_default_acl",
"title": "set_default_acl",
"default": false,
"_required_": false
},
"stripacl": {
"type": "boolean",
"_name_": "stripacl",
"title": "stripacl",
"default": false,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"traverse": {
"type": "boolean",
"_name_": "traverse",
"title": "traverse",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_required_": false,
"_attrs_order_": [
"set_default_acl",
"stripacl",
"recursive",
"traverse"
],
"description": "The following `options` are supported:"
}
},
"additionalProperties": false,
"_name_": "pool_dataset_permission",
"title": "pool_dataset_permission",
"default": {},
"_attrs_order_": [
"user",
"group",
"mode",
"acl",
"options"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"user": {
"_name_": "user",
"title": "user",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"_required_": false,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": false,
"type": [
"string",
"null"
],
"description": "Set permissions for a dataset `id`. Permissions may be specified as\neither a posix `mode` or an `acl`. This method is a wrapper around\n`filesystem.setperm`, `filesystem.setacl`, and `filesystem.chown`\n`filesystem.setperm` is called if `mode` is specified.\n`filesystem.setacl` is called if `acl` is specified or if the\noption `set_default_acl` is selected.\n`filesystem.chown` is called if neither `mode` nor `acl` is\nspecified."
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": "Set permissions for a dataset `id`. Permissions may be specified as\neither a posix `mode` or an `acl`. This method is a wrapper around\n`filesystem.setperm`, `filesystem.setacl`, and `filesystem.chown`\n`filesystem.setacl` is called if `acl` is specified or if the\noption `set_default_acl` is selected.\n`filesystem.chown` is called if neither `mode` nor `acl` is\nspecified.",
"_required_": false
},
"options": {
"type": "object",
"properties": {
"set_default_acl": {
"type": "boolean",
"_name_": "set_default_acl",
"title": "set_default_acl",
"default": false,
"_required_": false
},
"stripacl": {
"type": "boolean",
"_name_": "stripacl",
"title": "stripacl",
"default": false,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"traverse": {
"type": "boolean",
"_name_": "traverse",
"title": "traverse",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_required_": false,
"_attrs_order_": [
"set_default_acl",
"stripacl",
"recursive",
"traverse"
],
"description": "The following `options` are supported:"
}
},
"additionalProperties": false,
"_name_": "pool_dataset_permission",
"title": "pool_dataset_permission",
"default": {},
"_attrs_order_": [
"user",
"group",
"mode",
"acl",
"options"
]
}
|
Set permissions for a dataset
The following
|
Change permissions of dataset "tank/myuser" to myuser:wheel and 755.
|
pool.dataset.processes |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Return Arguments:
{
"_name_": "processes",
"title": "processes",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"pid": {
"type": "integer",
"_name_": "pid",
"title": "pid",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"service": {
"_name_": "service",
"title": "service",
"_required_": false,
"type": "string"
},
"cmdline": {
"_name_": "cmdline",
"title": "cmdline",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "process",
"title": "process",
"default": {},
"_required_": false,
"_attrs_order_": [
"pid",
"name",
"service",
"cmdline"
]
}
]
}
|
Return a list of processes using this dataset. Example return value: [ { "pid": 2520, "name": "smbd", "service": "cifs" }, { "pid": 97778, "name": "minio", "cmdline": "/usr/local/bin/minio -C /usr/local/etc/minio server --address=0.0.0.0:9000 --quiet /mnt/tank/wk" } ] |
pool.dataset.promote |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
|
Promote the cloned dataset |
pool.dataset.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": [
"boolean",
"null"
],
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
},
"children": {
"_name_": "children",
"title": "children",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"user_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "user_properties",
"title": "user_properties",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"comments": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "comments",
"title": "comments",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_warning",
"title": "quota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_critical",
"title": "quota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_warning",
"title": "refquota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_critical",
"title": "refquota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"managedby": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "managedby",
"title": "managedby",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"deduplication": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "deduplication",
"title": "deduplication",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"aclmode": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "aclmode",
"title": "aclmode",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"acltype": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "acltype",
"title": "acltype",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"xattr": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "xattr",
"title": "xattr",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"atime": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "atime",
"title": "atime",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"casesensitivity": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "casesensitivity",
"title": "casesensitivity",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"checksum": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "checksum",
"title": "checksum",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"exec": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "exec",
"title": "exec",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sync": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sync",
"title": "sync",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compression": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compression",
"title": "compression",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compressratio": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compressratio",
"title": "compressratio",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"origin": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "origin",
"title": "origin",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota",
"title": "quota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota",
"title": "refquota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"reservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "reservation",
"title": "reservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refreservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refreservation",
"title": "refreservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"copies": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "copies",
"title": "copies",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"snapdir": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "snapdir",
"title": "snapdir",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"readonly": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "readonly",
"title": "readonly",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"recordsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "recordsize",
"title": "recordsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sparse": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sparse",
"title": "sparse",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volsize",
"title": "volsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volblocksize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volblocksize",
"title": "volblocksize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"key_format": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "key_format",
"title": "key_format",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"encryption_algorithm": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm",
"title": "encryption_algorithm",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"used": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "used",
"title": "used",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"available": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "available",
"title": "available",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"special_small_block_size": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"pbkdf2iters": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"creation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "creation",
"title": "creation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_entry",
"title": "pool_dataset_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"pool",
"encrypted",
"encryption_root",
"key_loaded",
"children",
"user_properties",
"locked",
"comments",
"quota_warning",
"quota_critical",
"refquota_warning",
"refquota_critical",
"managedby",
"deduplication",
"aclmode",
"acltype",
"xattr",
"atime",
"casesensitivity",
"checksum",
"exec",
"sync",
"compression",
"compressratio",
"origin",
"quota",
"refquota",
"reservation",
"refreservation",
"copies",
"snapdir",
"readonly",
"recordsize",
"sparse",
"volsize",
"volblocksize",
"key_format",
"encryption_algorithm",
"used",
"available",
"special_small_block_size",
"pbkdf2iters",
"creation",
"mountpoint"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": [
"boolean",
"null"
],
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
},
"children": {
"_name_": "children",
"title": "children",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"user_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "user_properties",
"title": "user_properties",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"comments": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "comments",
"title": "comments",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_warning",
"title": "quota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_critical",
"title": "quota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_warning",
"title": "refquota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_critical",
"title": "refquota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"managedby": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "managedby",
"title": "managedby",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"deduplication": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "deduplication",
"title": "deduplication",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"aclmode": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "aclmode",
"title": "aclmode",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"acltype": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "acltype",
"title": "acltype",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"xattr": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "xattr",
"title": "xattr",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"atime": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "atime",
"title": "atime",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"casesensitivity": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "casesensitivity",
"title": "casesensitivity",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"checksum": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "checksum",
"title": "checksum",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"exec": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "exec",
"title": "exec",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sync": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sync",
"title": "sync",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compression": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compression",
"title": "compression",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compressratio": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compressratio",
"title": "compressratio",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"origin": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "origin",
"title": "origin",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota",
"title": "quota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota",
"title": "refquota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"reservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "reservation",
"title": "reservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refreservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refreservation",
"title": "refreservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"copies": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "copies",
"title": "copies",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"snapdir": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "snapdir",
"title": "snapdir",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"readonly": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "readonly",
"title": "readonly",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"recordsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "recordsize",
"title": "recordsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sparse": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sparse",
"title": "sparse",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volsize",
"title": "volsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volblocksize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volblocksize",
"title": "volblocksize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"key_format": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "key_format",
"title": "key_format",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"encryption_algorithm": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm",
"title": "encryption_algorithm",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"used": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "used",
"title": "used",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"available": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "available",
"title": "available",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"special_small_block_size": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"pbkdf2iters": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"creation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "creation",
"title": "creation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_entry",
"title": "pool_dataset_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"pool",
"encrypted",
"encryption_root",
"key_loaded",
"children",
"user_properties",
"locked",
"comments",
"quota_warning",
"quota_critical",
"refquota_warning",
"refquota_critical",
"managedby",
"deduplication",
"aclmode",
"acltype",
"xattr",
"atime",
"casesensitivity",
"checksum",
"exec",
"sync",
"compression",
"compressratio",
"origin",
"quota",
"refquota",
"reservation",
"refreservation",
"copies",
"snapdir",
"readonly",
"recordsize",
"sparse",
"volsize",
"volblocksize",
"key_format",
"encryption_algorithm",
"used",
"available",
"special_small_block_size",
"pbkdf2iters",
"creation",
"mountpoint"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": [
"boolean",
"null"
],
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
},
"children": {
"_name_": "children",
"title": "children",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"user_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "user_properties",
"title": "user_properties",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"comments": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "comments",
"title": "comments",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_warning",
"title": "quota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_critical",
"title": "quota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_warning",
"title": "refquota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_critical",
"title": "refquota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"managedby": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "managedby",
"title": "managedby",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"deduplication": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "deduplication",
"title": "deduplication",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"aclmode": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "aclmode",
"title": "aclmode",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"acltype": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "acltype",
"title": "acltype",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"xattr": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "xattr",
"title": "xattr",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"atime": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "atime",
"title": "atime",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"casesensitivity": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "casesensitivity",
"title": "casesensitivity",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"checksum": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "checksum",
"title": "checksum",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"exec": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "exec",
"title": "exec",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sync": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sync",
"title": "sync",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compression": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compression",
"title": "compression",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compressratio": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compressratio",
"title": "compressratio",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"origin": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "origin",
"title": "origin",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota",
"title": "quota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota",
"title": "refquota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"reservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "reservation",
"title": "reservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refreservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refreservation",
"title": "refreservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"copies": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "copies",
"title": "copies",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"snapdir": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "snapdir",
"title": "snapdir",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"readonly": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "readonly",
"title": "readonly",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"recordsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "recordsize",
"title": "recordsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sparse": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sparse",
"title": "sparse",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volsize",
"title": "volsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volblocksize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volblocksize",
"title": "volblocksize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"key_format": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "key_format",
"title": "key_format",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"encryption_algorithm": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm",
"title": "encryption_algorithm",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"used": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "used",
"title": "used",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"available": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "available",
"title": "available",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"special_small_block_size": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"pbkdf2iters": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"creation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "creation",
"title": "creation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_entry",
"title": "pool_dataset_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"pool",
"encrypted",
"encryption_root",
"key_loaded",
"children",
"user_properties",
"locked",
"comments",
"quota_warning",
"quota_critical",
"refquota_warning",
"refquota_critical",
"managedby",
"deduplication",
"aclmode",
"acltype",
"xattr",
"atime",
"casesensitivity",
"checksum",
"exec",
"sync",
"compression",
"compressratio",
"origin",
"quota",
"refquota",
"reservation",
"refreservation",
"copies",
"snapdir",
"readonly",
"recordsize",
"sparse",
"volsize",
"volblocksize",
"key_format",
"encryption_algorithm",
"used",
"available",
"special_small_block_size",
"pbkdf2iters",
"creation",
"mountpoint"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query Pool Datasets with We provide two ways to retrieve datasets. The first is a flat structure (default), where
all datasets in the system are returned as separate objects which contain all data
there is for their children. This retrieval type is slightly slower because of duplicates in each object.
The second type is hierarchical, where only top level datasets are returned in the list. They contain all the
children in the In some cases it might be desirable to only retrieve details of a dataset itself and not it's children, in this
case In case only some properties are desired to be retrieved for datasets, consumer should specify
|
pool.dataset.recommended_zvol_blocksize |
---|
Arguments:
{
"_name_": "pool",
"title": "pool",
"type": "string"
}
|
Return Arguments:
{
"_name_": "recommended_zvol_blocksize",
"title": "recommended_zvol_blocksize",
"type": "string"
}
|
Helper method to get recommended size for a new zvol (dataset of type VOLUME). |
Get blocksize for pool "tank".
|
pool.dataset.set_quota |
---|
Arguments:
{
"_name_": "ds",
"title": "ds",
"type": "string",
"description": "`ds` the name of the target ZFS dataset."
}
{
"_name_": "quotas",
"title": "quotas",
"default": [
{
"quota_type": "USER",
"id": "0",
"quota_value": 0
}
],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"quota_type": {
"_name_": "quota_type",
"title": "quota_type",
"_required_": true,
"type": "string",
"enum": [
"DATASET",
"USER",
"USEROBJ",
"GROUP",
"GROUPOBJ"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"quota_value": {
"type": [
"integer",
"null"
],
"_name_": "quota_value",
"title": "quota_value",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "quota_entry",
"title": "quota_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"quota_type",
"id",
"quota_value"
]
}
],
"description": "`quotas` specifies a list of `quota_entry` entries to apply to dataset."
}
|
There are three over-arching types of quotas for ZFS datasets.
1) dataset quotas and refquotas. If a DATASET quota type is specified in
this API call, then the API acts as a wrapper for 2) User and group quotas. These limit the amount of disk space consumed by files that are owned by the specified users or groups. If the respective "object quota" type is specfied, then the quota limits the number of objects that may be owned by the specified user or group. 3) Project quotas. These limit the amount of disk space consumed by files that are owned by the specified project. Project quotas are not yet implemended. This API allows users to set multiple quotas simultaneously by submitting a list of quotas. The list may contain all supported quota types.
|
pool.dataset.unlock |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Unlock `id` dataset.\nIf `id` dataset is not encrypted an exception will be raised. There is one exception:\nwhen `id` is a root dataset and `unlock_options.recursive` is specified, encryption\nvalidation will not be performed for `id`. This allow unlocking encrypted children the `id` pool."
}
{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
},
"key_file": {
"type": "boolean",
"_name_": "key_file",
"title": "key_file",
"default": false,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"toggle_attachments": {
"type": "boolean",
"_name_": "toggle_attachments",
"title": "toggle_attachments",
"default": true,
"_required_": false,
"description": "`toggle_attachments` controls whether attachments should be put in action after unlocking dataset(s).\nToggling attachments can theoretically lead to service interruption when daemons configurations are reloaded\n(this should not happen, and if this happens it should be considered a bug). As TrueNAS does not have a state\nfor resources that should be unlocked but are still locked, disabling this option will put the system into an\ninconsistent state so it should really never be disabled."
},
"datasets": {
"_name_": "datasets",
"title": "datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"key": {
"_name_": "key",
"title": "key",
"_required_": false,
"type": "string"
},
"passphrase": {
"_name_": "passphrase",
"title": "passphrase",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "dataset",
"title": "dataset",
"default": {},
"_required_": false,
"_attrs_order_": [
"force",
"name",
"key",
"passphrase"
]
}
]
}
},
"additionalProperties": false,
"_name_": "unlock_options",
"title": "unlock_options",
"default": {},
"_attrs_order_": [
"force",
"key_file",
"recursive",
"toggle_attachments",
"datasets"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"unlocked": {
"_name_": "unlocked",
"title": "unlocked",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
},
"failed": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "failed",
"title": "failed",
"description": "\n\nExample(s):\n```\n{\n \"vol1/enc\": {\n \"error\": \"Invalid Key\",\n \"skipped\": []\n }\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "unlock",
"title": "unlock",
"default": {},
"_attrs_order_": [
"unlocked",
"failed"
]
}
|
Unlock If For datasets which are encrypted with a passphrase, include the passphrase with
Uploading a json file which contains encrypted dataset keys can be specified with
In some cases it's possible that the provided key/passphrase is valid but the path where the dataset is
supposed to be mounted after being unlocked already exists and is not empty. In this case, unlock operation
would fail. This can be overridden by setting |
pool.dataset.unlock_services_restart_choices |
---|
Arguments:
{
"_name_": "dataset",
"title": "dataset",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "services_to_restart",
"title": "services_to_restart",
"default": {},
"_attrs_order_": []
}
|
Get a mapping of services identifiers and labels that can be restart on dataset unlock. |
pool.dataset.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Updates a dataset/zvol `id`."
}
{
"type": "object",
"properties": {
"volsize": {
"type": "integer",
"_name_": "volsize",
"title": "volsize",
"_required_": false,
"description": "`volsize` is required for type=VOLUME and is supposed to be a multiple of the block size.\n`sparse` and `volblocksize` are only used for type=VOLUME."
},
"force_size": {
"type": "boolean",
"_name_": "force_size",
"title": "force_size",
"_required_": false
},
"comments": {
"_name_": "comments",
"title": "comments",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"sync": {
"_name_": "sync",
"title": "sync",
"_required_": false,
"enum": [
"STANDARD",
"ALWAYS",
"DISABLED"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"_required_": false,
"enum": [
"OFF",
"LZ4",
"GZIP",
"GZIP-1",
"GZIP-9",
"ZSTD",
"ZSTD-FAST",
"ZLE",
"LZJB",
"ZSTD-1",
"ZSTD-2",
"ZSTD-3",
"ZSTD-4",
"ZSTD-5",
"ZSTD-6",
"ZSTD-7",
"ZSTD-8",
"ZSTD-9",
"ZSTD-10",
"ZSTD-11",
"ZSTD-12",
"ZSTD-13",
"ZSTD-14",
"ZSTD-15",
"ZSTD-16",
"ZSTD-17",
"ZSTD-18",
"ZSTD-19",
"ZSTD-FAST-1",
"ZSTD-FAST-2",
"ZSTD-FAST-3",
"ZSTD-FAST-4",
"ZSTD-FAST-5",
"ZSTD-FAST-6",
"ZSTD-FAST-7",
"ZSTD-FAST-8",
"ZSTD-FAST-9",
"ZSTD-FAST-10",
"ZSTD-FAST-20",
"ZSTD-FAST-30",
"ZSTD-FAST-40",
"ZSTD-FAST-50",
"ZSTD-FAST-60",
"ZSTD-FAST-70",
"ZSTD-FAST-80",
"ZSTD-FAST-90",
"ZSTD-FAST-100",
"ZSTD-FAST-500",
"ZSTD-FAST-1000"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"atime": {
"_name_": "atime",
"title": "atime",
"_required_": false,
"enum": [
"ON",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"exec": {
"_name_": "exec",
"title": "exec",
"_required_": false,
"enum": [
"ON",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"managedby": {
"_name_": "managedby",
"title": "managedby",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"quota": {
"type": [
"integer",
"null"
],
"_name_": "quota",
"title": "quota",
"_required_": false
},
"quota_warning": {
"_name_": "quota_warning",
"title": "quota_warning",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"quota_critical": {
"_name_": "quota_critical",
"title": "quota_critical",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"refquota": {
"type": [
"integer",
"null"
],
"_name_": "refquota",
"title": "refquota",
"_required_": false
},
"refquota_warning": {
"_name_": "refquota_warning",
"title": "refquota_warning",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"refquota_critical": {
"_name_": "refquota_critical",
"title": "refquota_critical",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"reservation": {
"type": "integer",
"_name_": "reservation",
"title": "reservation",
"_required_": false
},
"refreservation": {
"type": "integer",
"_name_": "refreservation",
"title": "refreservation",
"_required_": false
},
"special_small_block_size": {
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"copies": {
"_name_": "copies",
"title": "copies",
"_required_": false,
"nullable": false,
"anyOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"snapdir": {
"_name_": "snapdir",
"title": "snapdir",
"_required_": false,
"enum": [
"VISIBLE",
"HIDDEN"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"deduplication": {
"_name_": "deduplication",
"title": "deduplication",
"_required_": false,
"enum": [
"ON",
"VERIFY",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"checksum": {
"_name_": "checksum",
"title": "checksum",
"_required_": false,
"enum": [
"ON",
"OFF",
"FLETCHER2",
"FLETCHER4",
"SHA256",
"SHA512",
"SKEIN",
"EDONR"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"readonly": {
"_name_": "readonly",
"title": "readonly",
"_required_": false,
"enum": [
"ON",
"OFF"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"recordsize": {
"_name_": "recordsize",
"title": "recordsize",
"_required_": false,
"enum": [
"512",
"1K",
"2K",
"4K",
"8K",
"16K",
"32K",
"64K",
"128K",
"256K",
"512K",
"1024K"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"aclmode": {
"_name_": "aclmode",
"title": "aclmode",
"_required_": false,
"enum": [
"PASSTHROUGH",
"RESTRICTED",
"DISCARD"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": false,
"enum": [
"OFF",
"NOACL",
"NFSV4",
"NFS4ACL",
"POSIX",
"POSIXACL"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"xattr": {
"_name_": "xattr",
"title": "xattr",
"_required_": false,
"enum": [
"ON",
"SA"
],
"nullable": false,
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"INHERIT"
]
}
]
},
"user_properties": {
"_name_": "user_properties",
"title": "user_properties",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"key": {
"_name_": "key",
"title": "key",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "user_property",
"title": "user_property",
"default": {},
"_required_": false,
"_attrs_order_": [
"key",
"value"
]
}
]
},
"create_ancestors": {
"type": "boolean",
"_name_": "create_ancestors",
"title": "create_ancestors",
"default": false,
"_required_": false
},
"user_properties_update": {
"_name_": "user_properties_update",
"title": "user_properties_update",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"key": {
"_name_": "key",
"title": "key",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": "string"
},
"remove": {
"type": "boolean",
"_name_": "remove",
"title": "remove",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "user_property",
"title": "user_property",
"default": {},
"_required_": false,
"_attrs_order_": [
"key",
"value",
"remove"
]
}
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_update",
"title": "pool_dataset_create",
"default": {},
"_attrs_order_": [
"volsize",
"force_size",
"comments",
"sync",
"compression",
"atime",
"exec",
"managedby",
"quota",
"quota_warning",
"quota_critical",
"refquota",
"refquota_warning",
"refquota_critical",
"reservation",
"refreservation",
"special_small_block_size",
"copies",
"snapdir",
"deduplication",
"checksum",
"readonly",
"recordsize",
"aclmode",
"acltype",
"xattr",
"user_properties",
"create_ancestors",
"user_properties_update"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string",
"description": "Updates a dataset/zvol `id`."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool.\nThere are 2 cases where ZFS encryption is not allowed for a dataset:\n1) Pool in question is GELI encrypted.\n2) If the parent dataset is encrypted with a passphrase and `name` is being created\n with a key for encrypting the dataset.\n`encryption_options` specifies configuration for encryption of dataset for `name` pool.\n`encryption_options.passphrase` must be specified if encryption for dataset is desired with a passphrase\nas a key.\nOtherwise a hex encoded key can be specified by providing `encryption_options.key`.\n`encryption_options.generate_key` when enabled automatically generates the key to be used\nfor dataset encryption."
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": [
"boolean",
"null"
],
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
},
"children": {
"_name_": "children",
"title": "children",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"user_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "user_properties",
"title": "user_properties",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"comments": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "comments",
"title": "comments",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_warning",
"title": "quota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_critical",
"title": "quota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_warning",
"title": "refquota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_critical",
"title": "refquota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"managedby": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "managedby",
"title": "managedby",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"deduplication": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "deduplication",
"title": "deduplication",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"aclmode": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "aclmode",
"title": "aclmode",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"acltype": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "acltype",
"title": "acltype",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"xattr": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "xattr",
"title": "xattr",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"atime": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "atime",
"title": "atime",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"casesensitivity": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "casesensitivity",
"title": "casesensitivity",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"checksum": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "checksum",
"title": "checksum",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"exec": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "exec",
"title": "exec",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sync": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sync",
"title": "sync",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compression": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compression",
"title": "compression",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compressratio": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compressratio",
"title": "compressratio",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"origin": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "origin",
"title": "origin",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota",
"title": "quota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota",
"title": "refquota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"reservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "reservation",
"title": "reservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refreservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refreservation",
"title": "refreservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"copies": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "copies",
"title": "copies",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"snapdir": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "snapdir",
"title": "snapdir",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"readonly": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "readonly",
"title": "readonly",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"recordsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "recordsize",
"title": "recordsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sparse": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sparse",
"title": "sparse",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
],
"description": "`sparse` and `volblocksize` are only used for type=VOLUME."
},
"volsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volsize",
"title": "volsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
],
"description": "`volsize` is required for type=VOLUME and is supposed to be a multiple of the block size."
},
"volblocksize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volblocksize",
"title": "volblocksize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
],
"description": "`sparse` and `volblocksize` are only used for type=VOLUME."
},
"key_format": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "key_format",
"title": "key_format",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"encryption_algorithm": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm",
"title": "encryption_algorithm",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"used": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "used",
"title": "used",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"available": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "available",
"title": "available",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"special_small_block_size": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"pbkdf2iters": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"creation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "creation",
"title": "creation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_update_returns",
"title": "pool_dataset_entry",
"default": {},
"_attrs_order_": [
"id",
"type",
"name",
"pool",
"encrypted",
"encryption_root",
"key_loaded",
"children",
"user_properties",
"locked",
"comments",
"quota_warning",
"quota_critical",
"refquota_warning",
"refquota_critical",
"managedby",
"deduplication",
"aclmode",
"acltype",
"xattr",
"atime",
"casesensitivity",
"checksum",
"exec",
"sync",
"compression",
"compressratio",
"origin",
"quota",
"refquota",
"reservation",
"refreservation",
"copies",
"snapdir",
"readonly",
"recordsize",
"sparse",
"volsize",
"volblocksize",
"key_format",
"encryption_algorithm",
"used",
"available",
"special_small_block_size",
"pbkdf2iters",
"creation",
"mountpoint"
]
}
|
Updates a dataset/zvol |
Update the
|
pool.dataset.userprop.create |
---|
Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"property": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "property",
"title": "property",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"value"
]
}
},
"additionalProperties": false,
"_name_": "dataset_user_prop_create",
"title": "dataset_user_prop_create",
"default": {},
"_attrs_order_": [
"id",
"property"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "pool_dataset_userprop_create_returns",
"title": "pool_dataset_userprop_entry",
"default": {},
"_attrs_order_": [
"id",
"properties"
]
}
|
Create a user property for a given |
pool.dataset.userprop.delete |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "dataset_user_prop_delete",
"title": "dataset_user_prop_delete",
"default": {},
"_attrs_order_": [
"name"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete user property |
pool.dataset.userprop.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "pool_dataset_userprop_entry",
"title": "pool_dataset_userprop_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"properties"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "pool_dataset_userprop_entry",
"title": "pool_dataset_userprop_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"properties"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "pool_dataset_userprop_entry",
"title": "pool_dataset_userprop_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"properties"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query all user properties for ZFS datasets. |
pool.dataset.userprop.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "dataset_user_prop_update",
"title": "dataset_user_prop_update",
"default": {},
"_attrs_order_": [
"name",
"value"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "pool_dataset_userprop_update_returns",
"title": "pool_dataset_userprop_entry",
"default": {},
"_attrs_order_": [
"id",
"properties"
]
}
|
Update |
pool.resilver.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"begin": {
"_name_": "begin",
"title": "begin",
"_required_": true,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"weekday": {
"_name_": "weekday",
"title": "weekday",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "weekday",
"title": "weekday",
"_required_": false
}
]
}
},
"additionalProperties": false,
"_name_": "pool_resilver_entry",
"title": "pool_resilver_entry",
"default": {},
"_attrs_order_": [
"id",
"begin",
"end",
"enabled",
"weekday"
]
}
|
- |
pool.resilver.update |
---|
Arguments:
{
"type": "object",
"properties": {
"begin": {
"_name_": "begin",
"title": "begin",
"_required_": true,
"type": "string",
"description": "If `begin` time is greater than `end` time it means it will rollover the day, e.g.\nbegin = \"19:00\", end = \"05:00\" will increase pool resilver priority from 19:00 of one day\nuntil 05:00 of the next day."
},
"end": {
"_name_": "end",
"title": "end",
"_required_": true,
"type": "string",
"description": "If `begin` time is greater than `end` time it means it will rollover the day, e.g.\nbegin = \"19:00\", end = \"05:00\" will increase pool resilver priority from 19:00 of one day\nuntil 05:00 of the next day."
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"weekday": {
"_name_": "weekday",
"title": "weekday",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "weekday",
"title": "weekday",
"_required_": false
}
],
"description": "`weekday` follows crontab(5) values 0-7 (0 or 7 is Sun)."
}
},
"additionalProperties": false,
"_name_": "pool_resilver_update",
"title": "pool_resilver_entry",
"default": {},
"_attrs_order_": [
"begin",
"end",
"enabled",
"weekday"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"begin": {
"_name_": "begin",
"title": "begin",
"_required_": true,
"type": "string",
"description": "If `begin` time is greater than `end` time it means it will rollover the day, e.g.\nbegin = \"19:00\", end = \"05:00\" will increase pool resilver priority from 19:00 of one day\nuntil 05:00 of the next day."
},
"end": {
"_name_": "end",
"title": "end",
"_required_": true,
"type": "string",
"description": "If `begin` time is greater than `end` time it means it will rollover the day, e.g.\nbegin = \"19:00\", end = \"05:00\" will increase pool resilver priority from 19:00 of one day\nuntil 05:00 of the next day."
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"weekday": {
"_name_": "weekday",
"title": "weekday",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "weekday",
"title": "weekday",
"_required_": false
}
],
"description": "`weekday` follows crontab(5) values 0-7 (0 or 7 is Sun)."
}
},
"additionalProperties": false,
"_name_": "pool_resilver_update_returns",
"title": "pool_resilver_entry",
"default": {},
"_attrs_order_": [
"id",
"begin",
"end",
"enabled",
"weekday"
]
}
|
Configure Pool Resilver Priority. If
|
Enable pool resilver priority all business days from 7PM to 5AM.
|
pool.scrub.create |
---|
Arguments:
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": false,
"description": "`threshold` refers to the minimum amount of time in days has to be passed before\na scrub can run again."
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pool_scrub_entry",
"title": "pool_scrub_entry",
"default": {},
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true,
"description": "`threshold` refers to the minimum amount of time in days has to be passed before\na scrub can run again."
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_create_returns",
"title": "pool_scrub_entry",
"default": {},
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"id",
"pool_name"
]
}
|
Create a scrub task for a pool.
|
Create a scrub task for pool of id 1, to run every sunday but with a threshold of 35 days. The check will run at 3AM every sunday.
|
pool.scrub.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete scrub task of |
pool.scrub.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_entry",
"title": "pool_scrub_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"id",
"pool_name"
]
}
]
},
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_entry",
"title": "pool_scrub_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"id",
"pool_name"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_entry",
"title": "pool_scrub_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"id",
"pool_name"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
pool.scrub.run |
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
{
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"default": 35
}
|
Initiate a scrub of a pool |
pool.scrub.scrub
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "name",
"title": "name",
"type": "string"
}
{
"_name_": "action",
"title": "action",
"default": "START",
"type": "string",
"enum": [
"START",
"STOP",
"PAUSE"
]
}
|
Start/Stop/Pause a scrub on pool |
pool.scrub.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update scrub task of `id`.\nCreate a scrub task for a pool."
}
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true,
"description": "`threshold` refers to the minimum amount of time in days has to be passed before\na scrub can run again."
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_update",
"title": "pool_scrub_entry",
"default": {},
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"pool_name"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true,
"description": "`threshold` refers to the minimum amount of time in days has to be passed before\na scrub can run again."
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update scrub task of `id`.\nCreate a scrub task for a pool."
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_update_returns",
"title": "pool_scrub_entry",
"default": {},
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"id",
"pool_name"
]
}
|
Update scrub task of |
pool.snapshottask.create |
---|
Arguments:
{
"type": "object",
"properties": {
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string",
"description": "Create a Periodic Snapshot Task that will take snapshots of specified `dataset` at specified `schedule`."
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": true,
"description": "Recursive snapshots can be created if `recursive` flag is enabled. You can `exclude` specific child datasets\nor zvols from the snapshot.\nSnapshots will be automatically destroyed after a certain amount of time, specified by"
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "item",
"title": "item",
"_required_": false,
"type": "string"
}
],
"description": "Recursive snapshots can be created if `recursive` flag is enabled. You can `exclude` specific child datasets\nor zvols from the snapshot.\nSnapshots will be automatically destroyed after a certain amount of time, specified by"
},
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true,
"description": "`lifetime_value` and `lifetime_unit`.\nIf multiple periodic tasks create snapshots at the same time (for example hourly and daily at 00:00) the snapshot\nwill be kept until the last of these tasks reaches its expiry time."
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
],
"description": "`lifetime_value` and `lifetime_unit`.\nIf multiple periodic tasks create snapshots at the same time (for example hourly and daily at 00:00) the snapshot\nwill be kept until the last of these tasks reaches its expiry time."
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": true,
"type": "string",
"description": "Snapshots will be named according to `naming_schema` which is a `strftime`-like template for snapshot name\nand must contain `%Y`, `%m`, `%d`, `%H` and `%M`."
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
],
"description": "Create a Periodic Snapshot Task that will take snapshots of specified `dataset` at specified `schedule`."
},
"allow_empty": {
"type": "boolean",
"_name_": "allow_empty",
"title": "allow_empty",
"default": true,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "periodic_snapshot_create",
"title": "periodic_snapshot_create",
"default": {},
"_attrs_order_": [
"dataset",
"recursive",
"exclude",
"lifetime_value",
"lifetime_unit",
"naming_schema",
"schedule",
"allow_empty",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pool_snapshottask_create_returns",
"title": "pool_snapshottask_entry",
"default": {},
"_attrs_order_": []
}
|
Create a Periodic Snapshot Task Create a Periodic Snapshot Task that will take snapshots of specified |
Create a recursive Periodic Snapshot Task for dataset
|
pool.snapshottask.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete a Periodic Snapshot Task with specific `id`"
}
{
"type": "object",
"properties": {
"fixate_removal_date": {
"type": "boolean",
"_name_": "fixate_removal_date",
"title": "fixate_removal_date",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"fixate_removal_date"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a Periodic Snapshot Task with specific |
|
pool.snapshottask.delete_will_change_retention_for |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "snapshots",
"title": "snapshots",
"default": {},
"_attrs_order_": []
}
|
Returns a list of snapshots which will change the retention if periodic snapshot task |
pool.snapshottask.foreseen_count |
---|
Arguments:
{
"type": "object",
"properties": {
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
]
}
},
"additionalProperties": false,
"_name_": "periodic_snapshot_foreseen_count",
"title": "periodic_snapshot_foreseen_count",
"default": {},
"_attrs_order_": [
"lifetime_value",
"lifetime_unit",
"schedule"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "foreseen_count",
"title": "foreseen_count"
}
|
Returns a number of snapshots (per-dataset) being retained if a periodic snapshot task with specific parameters is created. |
pool.snapshottask.max_count |
---|
Return Arguments:
{
"type": "integer",
"_name_": "max_count",
"title": "max_count"
}
|
Returns a maximum amount of snapshots (per-dataset) the system can sustain. |
pool.snapshottask.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pool_snapshottask_entry",
"title": "pool_snapshottask_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pool_snapshottask_entry",
"title": "pool_snapshottask_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pool_snapshottask_entry",
"title": "pool_snapshottask_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
pool.snapshottask.run |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Execute a Periodic Snapshot Task of |
pool.snapshottask.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update a Periodic Snapshot Task with specific `id`"
}
{
"type": "object",
"properties": {
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string",
"description": "Create a Periodic Snapshot Task that will take snapshots of specified `dataset` at specified `schedule`."
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": true,
"description": "Recursive snapshots can be created if `recursive` flag is enabled. You can `exclude` specific child datasets\nor zvols from the snapshot.\nSnapshots will be automatically destroyed after a certain amount of time, specified by"
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "item",
"title": "item",
"_required_": false,
"type": "string"
}
],
"description": "Recursive snapshots can be created if `recursive` flag is enabled. You can `exclude` specific child datasets\nor zvols from the snapshot.\nSnapshots will be automatically destroyed after a certain amount of time, specified by"
},
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true,
"description": "`lifetime_value` and `lifetime_unit`.\nIf multiple periodic tasks create snapshots at the same time (for example hourly and daily at 00:00) the snapshot\nwill be kept until the last of these tasks reaches its expiry time."
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
],
"description": "`lifetime_value` and `lifetime_unit`.\nIf multiple periodic tasks create snapshots at the same time (for example hourly and daily at 00:00) the snapshot\nwill be kept until the last of these tasks reaches its expiry time."
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": true,
"type": "string",
"description": "Snapshots will be named according to `naming_schema` which is a `strftime`-like template for snapshot name\nand must contain `%Y`, `%m`, `%d`, `%H` and `%M`."
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
],
"description": "Create a Periodic Snapshot Task that will take snapshots of specified `dataset` at specified `schedule`."
},
"allow_empty": {
"type": "boolean",
"_name_": "allow_empty",
"title": "allow_empty",
"default": true,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"fixate_removal_date": {
"type": "boolean",
"_name_": "fixate_removal_date",
"title": "fixate_removal_date",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "periodic_snapshot_update",
"title": "periodic_snapshot_create",
"default": {},
"_attrs_order_": [
"dataset",
"recursive",
"exclude",
"lifetime_value",
"lifetime_unit",
"naming_schema",
"schedule",
"allow_empty",
"enabled",
"fixate_removal_date"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pool_snapshottask_update_returns",
"title": "pool_snapshottask_entry",
"default": {},
"_attrs_order_": []
}
|
Update a Periodic Snapshot Task with specific See the documentation for |
|
pool.snapshottask.update_will_change_retention_for |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": true
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "item",
"title": "item",
"_required_": false,
"type": "string"
}
]
},
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
]
},
"allow_empty": {
"type": "boolean",
"_name_": "allow_empty",
"title": "allow_empty",
"default": true,
"_required_": false
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "periodic_snapshot_update_will_change_retention",
"title": "periodic_snapshot_create",
"default": {},
"_attrs_order_": [
"dataset",
"recursive",
"exclude",
"lifetime_value",
"lifetime_unit",
"naming_schema",
"schedule",
"allow_empty",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "snapshots",
"title": "snapshots",
"default": {},
"_attrs_order_": []
}
|
Returns a list of snapshots which will change the retention if periodic snapshot task |
replication.count_eligible_manual_snapshots |
---|
Arguments:
{
"type": "object",
"properties": {
"datasets": {
"_name_": "datasets",
"title": "datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
],
"description": "Count how many existing snapshots of `dataset` match `naming_schema`."
},
"name_regex": {
"_name_": "name_regex",
"title": "name_regex",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"transport": {
"_name_": "transport",
"title": "transport",
"_required_": true,
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL"
]
},
"ssh_credentials": {
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "count_eligible_manual_snapshots",
"title": "count_eligible_manual_snapshots",
"default": {},
"_attrs_order_": [
"datasets",
"naming_schema",
"name_regex",
"transport",
"ssh_credentials"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"total": {
"type": "integer",
"_name_": "total",
"title": "total",
"_required_": false
},
"eligible": {
"type": "integer",
"_name_": "eligible",
"title": "eligible",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "count_eligible_manual_snapshots",
"title": "count_eligible_manual_snapshots",
"default": {},
"_attrs_order_": [
"total",
"eligible"
]
}
|
Count how many existing snapshots of |
|
replication.create |
---|
Arguments:
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "* `name` specifies a name for replication task"
},
"direction": {
"_name_": "direction",
"title": "direction",
"_required_": true,
"type": "string",
"enum": [
"PUSH",
"PULL"
],
"description": "* `direction` specifies whether task will `PUSH` or `PULL` snapshots"
},
"transport": {
"_name_": "transport",
"title": "transport",
"_required_": true,
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL"
],
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"ssh_credentials": {
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null,
"_required_": false,
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_active_side": {
"_name_": "netcat_active_side",
"title": "netcat_active_side",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LOCAL",
"REMOTE"
],
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_active_side_listen_address": {
"_name_": "netcat_active_side_listen_address",
"title": "netcat_active_side_listen_address",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"netcat_active_side_port_min": {
"type": [
"integer",
"null"
],
"_name_": "netcat_active_side_port_min",
"title": "netcat_active_side_port_min",
"default": null,
"_required_": false,
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_active_side_port_max": {
"type": [
"integer",
"null"
],
"_name_": "netcat_active_side_port_max",
"title": "netcat_active_side_port_max",
"default": null,
"_required_": false,
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_passive_side_connect_address": {
"_name_": "netcat_passive_side_connect_address",
"title": "netcat_passive_side_connect_address",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"source_datasets": {
"_name_": "source_datasets",
"title": "source_datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
],
"description": "* `source_datasets` is a non-empty list of datasets to replicate snapshots from"
},
"target_dataset": {
"_name_": "target_dataset",
"title": "target_dataset",
"_required_": true,
"type": "string",
"description": "* `target_dataset` is a dataset to put snapshots into. It must exist on target side"
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": true,
"description": "* `recursive` and `exclude` have the same meaning as for Periodic Snapshot Task"
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
],
"description": "* `recursive` and `exclude` have the same meaning as for Periodic Snapshot Task"
},
"properties": {
"type": "boolean",
"_name_": "properties",
"title": "properties",
"default": true,
"_required_": false,
"description": "* `properties` control whether we should send dataset properties along with snapshots"
},
"properties_exclude": {
"_name_": "properties_exclude",
"title": "properties_exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "property",
"title": "property",
"_required_": false,
"type": "string"
}
]
},
"properties_override": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties_override",
"title": "properties_override",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"replicate": {
"type": "boolean",
"_name_": "replicate",
"title": "replicate",
"default": false,
"_required_": false
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"encryption_key": {
"_name_": "encryption_key",
"title": "encryption_key",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"encryption_key_format": {
"_name_": "encryption_key_format",
"title": "encryption_key_format",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"HEX",
"PASSPHRASE"
]
},
"encryption_key_location": {
"_name_": "encryption_key_location",
"title": "encryption_key_location",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"periodic_snapshot_tasks": {
"_name_": "periodic_snapshot_tasks",
"title": "periodic_snapshot_tasks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "periodic_snapshot_task",
"title": "periodic_snapshot_task",
"_required_": false
}
],
"description": "* `periodic_snapshot_tasks` is a list of periodic snapshot task IDs that are sources of snapshots for this\n replication task. Only push replication tasks can be bound to periodic snapshot tasks."
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
],
"description": "* `naming_schema` is a list of naming schemas for pull replication"
},
"also_include_naming_schema": {
"_name_": "also_include_naming_schema",
"title": "also_include_naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
],
"description": "* `also_include_naming_schema` is a list of naming schemas for push replication"
},
"name_regex": {
"_name_": "name_regex",
"title": "name_regex",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "* `name_regex` will replicate all snapshots which names match specified regular expression"
},
"auto": {
"type": "boolean",
"_name_": "auto",
"title": "auto",
"_required_": true,
"description": "* `auto` allows replication to run automatically on schedule or after bound periodic snapshot task\n* `schedule` is a schedule to run replication task. Only `auto` replication tasks without bound periodic\n snapshot tasks can have a schedule"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": null,
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
],
"description": "* `auto` allows replication to run automatically on schedule or after bound periodic snapshot task\n* `schedule` is a schedule to run replication task. Only `auto` replication tasks without bound periodic\n snapshot tasks can have a schedule\n* Enabling `only_matching_schedule` will only replicate snapshots that match `schedule` or\n `restrict_schedule`"
},
"restrict_schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "restrict_schedule",
"title": "restrict_schedule",
"default": null,
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
],
"description": "* `restrict_schedule` restricts when replication task with bound periodic snapshot tasks runs. For example,\n you can have periodic snapshot tasks that run every 15 minutes, but only run replication task every hour.\n* Enabling `only_matching_schedule` will only replicate snapshots that match `schedule` or\n `restrict_schedule`"
},
"only_matching_schedule": {
"type": "boolean",
"_name_": "only_matching_schedule",
"title": "only_matching_schedule",
"default": false,
"_required_": false,
"description": "* Enabling `only_matching_schedule` will only replicate snapshots that match `schedule` or\n `restrict_schedule`"
},
"allow_from_scratch": {
"type": "boolean",
"_name_": "allow_from_scratch",
"title": "allow_from_scratch",
"default": false,
"_required_": false,
"description": "* `allow_from_scratch` will destroy all snapshots on target side and replicate everything from scratch if none\n of the snapshots on target side matches source snapshots"
},
"readonly": {
"_name_": "readonly",
"title": "readonly",
"default": "SET",
"_required_": false,
"type": "string",
"enum": [
"SET",
"REQUIRE",
"IGNORE"
],
"description": "* `readonly` controls destination datasets readonly property:\n * `SET` will set all destination datasets to readonly=on after finishing the replication\n * `REQUIRE` will require all existing destination datasets to have readonly=on property\n * `IGNORE` will avoid this kind of behavior"
},
"hold_pending_snapshots": {
"type": "boolean",
"_name_": "hold_pending_snapshots",
"title": "hold_pending_snapshots",
"default": false,
"_required_": false,
"description": "* `hold_pending_snapshots` will prevent source snapshots from being deleted by retention of replication fails\n for some reason"
},
"retention_policy": {
"_name_": "retention_policy",
"title": "retention_policy",
"_required_": true,
"type": "string",
"enum": [
"SOURCE",
"CUSTOM",
"NONE"
],
"description": "* `retention_policy` specifies how to delete old snapshots on target side:\n * `SOURCE` deletes snapshots that are absent on source side\n * `CUSTOM` deletes snapshots that are older than `lifetime_value` and `lifetime_unit`\n * `NONE` does not delete any snapshots"
},
"lifetime_value": {
"type": [
"integer",
"null"
],
"_name_": "lifetime_value",
"title": "lifetime_value",
"default": null,
"_required_": false,
"description": "* `retention_policy` specifies how to delete old snapshots on target side:\n * `SOURCE` deletes snapshots that are absent on source side\n * `CUSTOM` deletes snapshots that are older than `lifetime_value` and `lifetime_unit`\n * `NONE` does not delete any snapshots"
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
],
"description": "* `retention_policy` specifies how to delete old snapshots on target side:\n * `SOURCE` deletes snapshots that are absent on source side\n * `CUSTOM` deletes snapshots that are older than `lifetime_value` and `lifetime_unit`\n * `NONE` does not delete any snapshots"
},
"lifetimes": {
"_name_": "lifetimes",
"title": "lifetimes",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "*",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
}
},
"additionalProperties": false,
"_name_": "lifetime",
"title": "lifetime",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"lifetime_value",
"lifetime_unit"
]
}
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LZ4",
"PIGZ",
"PLZIP"
],
"description": "* `compression` compresses SSH stream. Available only for SSH transport"
},
"speed_limit": {
"type": [
"integer",
"null"
],
"_name_": "speed_limit",
"title": "speed_limit",
"default": null,
"_required_": false,
"description": "* `speed_limit` limits speed of SSH stream. Available only for SSH transport"
},
"large_block": {
"type": "boolean",
"_name_": "large_block",
"title": "large_block",
"default": true,
"_required_": false,
"description": "* `large_block`, `embed` and `compressed` are various ZFS stream flag documented in `man zfs send`"
},
"embed": {
"type": "boolean",
"_name_": "embed",
"title": "embed",
"default": false,
"_required_": false,
"description": "* `large_block`, `embed` and `compressed` are various ZFS stream flag documented in `man zfs send`"
},
"compressed": {
"type": "boolean",
"_name_": "compressed",
"title": "compressed",
"default": true,
"_required_": false,
"description": "* `large_block`, `embed` and `compressed` are various ZFS stream flag documented in `man zfs send`"
},
"retries": {
"type": "integer",
"_name_": "retries",
"title": "retries",
"default": 5,
"_required_": false,
"description": "* `retries` specifies number of retries before considering replication failed"
},
"logging_level": {
"_name_": "logging_level",
"title": "logging_level",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "replication_create",
"title": "replication_create",
"default": {},
"_attrs_order_": [
"name",
"direction",
"transport",
"ssh_credentials",
"netcat_active_side",
"netcat_active_side_listen_address",
"netcat_active_side_port_min",
"netcat_active_side_port_max",
"netcat_passive_side_connect_address",
"source_datasets",
"target_dataset",
"recursive",
"exclude",
"properties",
"properties_exclude",
"properties_override",
"replicate",
"encryption",
"encryption_key",
"encryption_key_format",
"encryption_key_location",
"periodic_snapshot_tasks",
"naming_schema",
"also_include_naming_schema",
"name_regex",
"auto",
"schedule",
"restrict_schedule",
"only_matching_schedule",
"allow_from_scratch",
"readonly",
"hold_pending_snapshots",
"retention_policy",
"lifetime_value",
"lifetime_unit",
"lifetimes",
"compression",
"speed_limit",
"large_block",
"embed",
"compressed",
"retries",
"logging_level",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_create_returns",
"title": "replication_entry",
"default": {},
"_attrs_order_": []
}
|
Create a Replication Task Create a Replication Task that will push or pull ZFS snapshots to or from remote host..
|
|
replication.create_dataset |
---|
Arguments:
{
"_name_": "dataset",
"title": "dataset",
"type": "string",
"description": "Accepts `dataset` name, `transport` and SSH credentials ID (for non-local transport)"
}
{
"_name_": "transport",
"title": "transport",
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL"
],
"description": "Accepts `dataset` name, `transport` and SSH credentials ID (for non-local transport)"
}
{
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null
}
|
Creates dataset on remote side Accepts |
|
replication.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete a Replication Task with specific `id`"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a Replication Task with specific |
|
replication.list_datasets |
---|
Arguments:
{
"_name_": "transport",
"title": "transport",
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL"
],
"description": "Accepts `transport` and SSH credentials ID (for non-local transport)"
}
{
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null
}
|
Return Arguments:
{
"_name_": "datasets",
"title": "datasets",
"default": [],
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
}
|
List datasets on remote side Accepts |
|
replication.list_naming_schemas |
---|
Return Arguments:
{
"_name_": "naming_schemas",
"title": "naming_schemas",
"default": [],
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
]
}
|
List all naming schemas used in periodic snapshot and replication tasks. |
replication.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_entry",
"title": "replication_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_entry",
"title": "replication_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_entry",
"title": "replication_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
replication.restore |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"target_dataset": {
"_name_": "target_dataset",
"title": "target_dataset",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "replication_restore",
"title": "replication_restore",
"default": {},
"_attrs_order_": [
"name",
"target_dataset"
]
}
|
Create the opposite of replication task |
replication.run
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Run Replication Task of |
replication.run_onetime
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"direction": {
"_name_": "direction",
"title": "direction",
"_required_": true,
"type": "string",
"enum": [
"PUSH",
"PULL"
]
},
"transport": {
"_name_": "transport",
"title": "transport",
"_required_": true,
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL"
]
},
"ssh_credentials": {
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null,
"_required_": false
},
"netcat_active_side": {
"_name_": "netcat_active_side",
"title": "netcat_active_side",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LOCAL",
"REMOTE"
]
},
"netcat_active_side_listen_address": {
"_name_": "netcat_active_side_listen_address",
"title": "netcat_active_side_listen_address",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"netcat_active_side_port_min": {
"type": [
"integer",
"null"
],
"_name_": "netcat_active_side_port_min",
"title": "netcat_active_side_port_min",
"default": null,
"_required_": false
},
"netcat_active_side_port_max": {
"type": [
"integer",
"null"
],
"_name_": "netcat_active_side_port_max",
"title": "netcat_active_side_port_max",
"default": null,
"_required_": false
},
"netcat_passive_side_connect_address": {
"_name_": "netcat_passive_side_connect_address",
"title": "netcat_passive_side_connect_address",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"source_datasets": {
"_name_": "source_datasets",
"title": "source_datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
},
"target_dataset": {
"_name_": "target_dataset",
"title": "target_dataset",
"_required_": true,
"type": "string"
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": true
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
},
"properties": {
"type": "boolean",
"_name_": "properties",
"title": "properties",
"default": true,
"_required_": false
},
"properties_exclude": {
"_name_": "properties_exclude",
"title": "properties_exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "property",
"title": "property",
"_required_": false,
"type": "string"
}
]
},
"properties_override": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties_override",
"title": "properties_override",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"replicate": {
"type": "boolean",
"_name_": "replicate",
"title": "replicate",
"default": false,
"_required_": false
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"encryption_key": {
"_name_": "encryption_key",
"title": "encryption_key",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"encryption_key_format": {
"_name_": "encryption_key_format",
"title": "encryption_key_format",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"HEX",
"PASSPHRASE"
]
},
"encryption_key_location": {
"_name_": "encryption_key_location",
"title": "encryption_key_location",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"periodic_snapshot_tasks": {
"_name_": "periodic_snapshot_tasks",
"title": "periodic_snapshot_tasks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "periodic_snapshot_task",
"title": "periodic_snapshot_task",
"_required_": false
}
]
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
]
},
"also_include_naming_schema": {
"_name_": "also_include_naming_schema",
"title": "also_include_naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
]
},
"name_regex": {
"_name_": "name_regex",
"title": "name_regex",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"restrict_schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "restrict_schedule",
"title": "restrict_schedule",
"default": null,
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
]
},
"allow_from_scratch": {
"type": "boolean",
"_name_": "allow_from_scratch",
"title": "allow_from_scratch",
"default": false,
"_required_": false
},
"readonly": {
"_name_": "readonly",
"title": "readonly",
"default": "SET",
"_required_": false,
"type": "string",
"enum": [
"SET",
"REQUIRE",
"IGNORE"
]
},
"hold_pending_snapshots": {
"type": "boolean",
"_name_": "hold_pending_snapshots",
"title": "hold_pending_snapshots",
"default": false,
"_required_": false
},
"retention_policy": {
"_name_": "retention_policy",
"title": "retention_policy",
"_required_": true,
"type": "string",
"enum": [
"SOURCE",
"CUSTOM",
"NONE"
]
},
"lifetime_value": {
"type": [
"integer",
"null"
],
"_name_": "lifetime_value",
"title": "lifetime_value",
"default": null,
"_required_": false
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
},
"lifetimes": {
"_name_": "lifetimes",
"title": "lifetimes",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "*",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
}
},
"additionalProperties": false,
"_name_": "lifetime",
"title": "lifetime",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"lifetime_value",
"lifetime_unit"
]
}
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LZ4",
"PIGZ",
"PLZIP"
]
},
"speed_limit": {
"type": [
"integer",
"null"
],
"_name_": "speed_limit",
"title": "speed_limit",
"default": null,
"_required_": false
},
"large_block": {
"type": "boolean",
"_name_": "large_block",
"title": "large_block",
"default": true,
"_required_": false
},
"embed": {
"type": "boolean",
"_name_": "embed",
"title": "embed",
"default": false,
"_required_": false
},
"compressed": {
"type": "boolean",
"_name_": "compressed",
"title": "compressed",
"default": true,
"_required_": false
},
"retries": {
"type": "integer",
"_name_": "retries",
"title": "retries",
"default": 5,
"_required_": false
},
"logging_level": {
"_name_": "logging_level",
"title": "logging_level",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR"
]
},
"exclude_mountpoint_property": {
"type": "boolean",
"_name_": "exclude_mountpoint_property",
"title": "exclude_mountpoint_property",
"default": true,
"_required_": false
},
"only_from_scratch": {
"type": "boolean",
"_name_": "only_from_scratch",
"title": "only_from_scratch",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "replication_run_onetime",
"title": "replication_create",
"default": {},
"_attrs_order_": [
"direction",
"transport",
"ssh_credentials",
"netcat_active_side",
"netcat_active_side_listen_address",
"netcat_active_side_port_min",
"netcat_active_side_port_max",
"netcat_passive_side_connect_address",
"source_datasets",
"target_dataset",
"recursive",
"exclude",
"properties",
"properties_exclude",
"properties_override",
"replicate",
"encryption",
"encryption_key",
"encryption_key_format",
"encryption_key_location",
"periodic_snapshot_tasks",
"naming_schema",
"also_include_naming_schema",
"name_regex",
"restrict_schedule",
"allow_from_scratch",
"readonly",
"hold_pending_snapshots",
"retention_policy",
"lifetime_value",
"lifetime_unit",
"lifetimes",
"compression",
"speed_limit",
"large_block",
"embed",
"compressed",
"retries",
"logging_level",
"exclude_mountpoint_property",
"only_from_scratch"
]
}
|
Run replication task without creating it. If |
replication.target_unmatched_snapshots |
---|
Arguments:
{
"_name_": "direction",
"title": "direction",
"type": "string",
"enum": [
"PUSH",
"PULL"
]
}
{
"_name_": "source_datasets",
"title": "source_datasets",
"default": [],
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
}
{
"_name_": "target_dataset",
"title": "target_dataset",
"type": "string"
}
{
"_name_": "transport",
"title": "transport",
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL",
"LEGACY"
]
}
{
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "target_unmatched_snapshots",
"title": "target_unmatched_snapshots",
"description": "\n\nExample(s):\n```\n{\n \"backup/work\": [\n \"auto-2019-10-15_13-00\",\n \"auto-2019-10-15_09-00\"\n ],\n \"backup/games\": [\n \"auto-2019-10-15_13-00\"\n ]\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Check if target has any snapshots that do not exist on source. Returns these snapshots grouped by dataset. |
|
replication.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update a Replication Task with specific `id`"
}
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string",
"description": "* `name` specifies a name for replication task"
},
"direction": {
"_name_": "direction",
"title": "direction",
"_required_": true,
"type": "string",
"enum": [
"PUSH",
"PULL"
],
"description": "* `direction` specifies whether task will `PUSH` or `PULL` snapshots"
},
"transport": {
"_name_": "transport",
"title": "transport",
"_required_": true,
"type": "string",
"enum": [
"SSH",
"SSH+NETCAT",
"LOCAL"
],
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"ssh_credentials": {
"type": [
"integer",
"null"
],
"_name_": "ssh_credentials",
"title": "ssh_credentials",
"default": null,
"_required_": false,
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_active_side": {
"_name_": "netcat_active_side",
"title": "netcat_active_side",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LOCAL",
"REMOTE"
],
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_active_side_listen_address": {
"_name_": "netcat_active_side_listen_address",
"title": "netcat_active_side_listen_address",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"netcat_active_side_port_min": {
"type": [
"integer",
"null"
],
"_name_": "netcat_active_side_port_min",
"title": "netcat_active_side_port_min",
"default": null,
"_required_": false,
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_active_side_port_max": {
"type": [
"integer",
"null"
],
"_name_": "netcat_active_side_port_max",
"title": "netcat_active_side_port_max",
"default": null,
"_required_": false,
"description": "* `transport` is a method of snapshots transfer:\n * `SSH` transfers snapshots via SSH connection. This method is supported everywhere but does not achieve\n great performance\n `ssh_credentials` is a required field for this transport (Keychain Credential ID of type `SSH_CREDENTIALS`)\n * `SSH+NETCAT` uses unencrypted connection for data transfer. This can only be used in trusted networks\n and requires a port (specified by range from `netcat_active_side_port_min` to `netcat_active_side_port_max`)\n to be open on `netcat_active_side`\n `ssh_credentials` is also required for control connection\n * `LOCAL` replicates to or from localhost"
},
"netcat_passive_side_connect_address": {
"_name_": "netcat_passive_side_connect_address",
"title": "netcat_passive_side_connect_address",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"source_datasets": {
"_name_": "source_datasets",
"title": "source_datasets",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
],
"description": "* `source_datasets` is a non-empty list of datasets to replicate snapshots from"
},
"target_dataset": {
"_name_": "target_dataset",
"title": "target_dataset",
"_required_": true,
"type": "string",
"description": "* `target_dataset` is a dataset to put snapshots into. It must exist on target side"
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": true,
"description": "* `recursive` and `exclude` have the same meaning as for Periodic Snapshot Task"
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
],
"description": "* `recursive` and `exclude` have the same meaning as for Periodic Snapshot Task"
},
"properties": {
"type": "boolean",
"_name_": "properties",
"title": "properties",
"default": true,
"_required_": false,
"description": "* `properties` control whether we should send dataset properties along with snapshots"
},
"properties_exclude": {
"_name_": "properties_exclude",
"title": "properties_exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "property",
"title": "property",
"_required_": false,
"type": "string"
}
]
},
"properties_override": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties_override",
"title": "properties_override",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"replicate": {
"type": "boolean",
"_name_": "replicate",
"title": "replicate",
"default": false,
"_required_": false
},
"encryption": {
"type": "boolean",
"_name_": "encryption",
"title": "encryption",
"default": false,
"_required_": false
},
"encryption_key": {
"_name_": "encryption_key",
"title": "encryption_key",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"encryption_key_format": {
"_name_": "encryption_key_format",
"title": "encryption_key_format",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"HEX",
"PASSPHRASE"
]
},
"encryption_key_location": {
"_name_": "encryption_key_location",
"title": "encryption_key_location",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"periodic_snapshot_tasks": {
"_name_": "periodic_snapshot_tasks",
"title": "periodic_snapshot_tasks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "periodic_snapshot_task",
"title": "periodic_snapshot_task",
"_required_": false
}
],
"description": "* `periodic_snapshot_tasks` is a list of periodic snapshot task IDs that are sources of snapshots for this\n replication task. Only push replication tasks can be bound to periodic snapshot tasks."
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
],
"description": "* `naming_schema` is a list of naming schemas for pull replication"
},
"also_include_naming_schema": {
"_name_": "also_include_naming_schema",
"title": "also_include_naming_schema",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
}
],
"description": "* `also_include_naming_schema` is a list of naming schemas for push replication"
},
"name_regex": {
"_name_": "name_regex",
"title": "name_regex",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "* `name_regex` will replicate all snapshots which names match specified regular expression"
},
"auto": {
"type": "boolean",
"_name_": "auto",
"title": "auto",
"_required_": true,
"description": "* `auto` allows replication to run automatically on schedule or after bound periodic snapshot task\n* `schedule` is a schedule to run replication task. Only `auto` replication tasks without bound periodic\n snapshot tasks can have a schedule"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": null,
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
],
"description": "* `auto` allows replication to run automatically on schedule or after bound periodic snapshot task\n* `schedule` is a schedule to run replication task. Only `auto` replication tasks without bound periodic\n snapshot tasks can have a schedule\n* Enabling `only_matching_schedule` will only replicate snapshots that match `schedule` or\n `restrict_schedule`"
},
"restrict_schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
},
"begin": {
"_name_": "begin",
"title": "begin",
"default": "00:00",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "23:59",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "restrict_schedule",
"title": "restrict_schedule",
"default": null,
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow",
"begin",
"end"
],
"description": "* `restrict_schedule` restricts when replication task with bound periodic snapshot tasks runs. For example,\n you can have periodic snapshot tasks that run every 15 minutes, but only run replication task every hour.\n* Enabling `only_matching_schedule` will only replicate snapshots that match `schedule` or\n `restrict_schedule`"
},
"only_matching_schedule": {
"type": "boolean",
"_name_": "only_matching_schedule",
"title": "only_matching_schedule",
"default": false,
"_required_": false,
"description": "* Enabling `only_matching_schedule` will only replicate snapshots that match `schedule` or\n `restrict_schedule`"
},
"allow_from_scratch": {
"type": "boolean",
"_name_": "allow_from_scratch",
"title": "allow_from_scratch",
"default": false,
"_required_": false,
"description": "* `allow_from_scratch` will destroy all snapshots on target side and replicate everything from scratch if none\n of the snapshots on target side matches source snapshots"
},
"readonly": {
"_name_": "readonly",
"title": "readonly",
"default": "SET",
"_required_": false,
"type": "string",
"enum": [
"SET",
"REQUIRE",
"IGNORE"
],
"description": "* `readonly` controls destination datasets readonly property:\n * `SET` will set all destination datasets to readonly=on after finishing the replication\n * `REQUIRE` will require all existing destination datasets to have readonly=on property\n * `IGNORE` will avoid this kind of behavior"
},
"hold_pending_snapshots": {
"type": "boolean",
"_name_": "hold_pending_snapshots",
"title": "hold_pending_snapshots",
"default": false,
"_required_": false,
"description": "* `hold_pending_snapshots` will prevent source snapshots from being deleted by retention of replication fails\n for some reason"
},
"retention_policy": {
"_name_": "retention_policy",
"title": "retention_policy",
"_required_": true,
"type": "string",
"enum": [
"SOURCE",
"CUSTOM",
"NONE"
],
"description": "* `retention_policy` specifies how to delete old snapshots on target side:\n * `SOURCE` deletes snapshots that are absent on source side\n * `CUSTOM` deletes snapshots that are older than `lifetime_value` and `lifetime_unit`\n * `NONE` does not delete any snapshots"
},
"lifetime_value": {
"type": [
"integer",
"null"
],
"_name_": "lifetime_value",
"title": "lifetime_value",
"default": null,
"_required_": false,
"description": "* `retention_policy` specifies how to delete old snapshots on target side:\n * `SOURCE` deletes snapshots that are absent on source side\n * `CUSTOM` deletes snapshots that are older than `lifetime_value` and `lifetime_unit`\n * `NONE` does not delete any snapshots"
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
],
"description": "* `retention_policy` specifies how to delete old snapshots on target side:\n * `SOURCE` deletes snapshots that are absent on source side\n * `CUSTOM` deletes snapshots that are older than `lifetime_value` and `lifetime_unit`\n * `NONE` does not delete any snapshots"
},
"lifetimes": {
"_name_": "lifetimes",
"title": "lifetimes",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "*",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"lifetime_value": {
"type": "integer",
"_name_": "lifetime_value",
"title": "lifetime_value",
"_required_": true
},
"lifetime_unit": {
"_name_": "lifetime_unit",
"title": "lifetime_unit",
"_required_": true,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
}
},
"additionalProperties": false,
"_name_": "lifetime",
"title": "lifetime",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"lifetime_value",
"lifetime_unit"
]
}
]
},
"compression": {
"_name_": "compression",
"title": "compression",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"LZ4",
"PIGZ",
"PLZIP"
],
"description": "* `compression` compresses SSH stream. Available only for SSH transport"
},
"speed_limit": {
"type": [
"integer",
"null"
],
"_name_": "speed_limit",
"title": "speed_limit",
"default": null,
"_required_": false,
"description": "* `speed_limit` limits speed of SSH stream. Available only for SSH transport"
},
"large_block": {
"type": "boolean",
"_name_": "large_block",
"title": "large_block",
"default": true,
"_required_": false,
"description": "* `large_block`, `embed` and `compressed` are various ZFS stream flag documented in `man zfs send`"
},
"embed": {
"type": "boolean",
"_name_": "embed",
"title": "embed",
"default": false,
"_required_": false,
"description": "* `large_block`, `embed` and `compressed` are various ZFS stream flag documented in `man zfs send`"
},
"compressed": {
"type": "boolean",
"_name_": "compressed",
"title": "compressed",
"default": true,
"_required_": false,
"description": "* `large_block`, `embed` and `compressed` are various ZFS stream flag documented in `man zfs send`"
},
"retries": {
"type": "integer",
"_name_": "retries",
"title": "retries",
"default": 5,
"_required_": false,
"description": "* `retries` specifies number of retries before considering replication failed"
},
"logging_level": {
"_name_": "logging_level",
"title": "logging_level",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "replication_update",
"title": "replication_create",
"default": {},
"_attrs_order_": [
"name",
"direction",
"transport",
"ssh_credentials",
"netcat_active_side",
"netcat_active_side_listen_address",
"netcat_active_side_port_min",
"netcat_active_side_port_max",
"netcat_passive_side_connect_address",
"source_datasets",
"target_dataset",
"recursive",
"exclude",
"properties",
"properties_exclude",
"properties_override",
"replicate",
"encryption",
"encryption_key",
"encryption_key_format",
"encryption_key_location",
"periodic_snapshot_tasks",
"naming_schema",
"also_include_naming_schema",
"name_regex",
"auto",
"schedule",
"restrict_schedule",
"only_matching_schedule",
"allow_from_scratch",
"readonly",
"hold_pending_snapshots",
"retention_policy",
"lifetime_value",
"lifetime_unit",
"lifetimes",
"compression",
"speed_limit",
"large_block",
"embed",
"compressed",
"retries",
"logging_level",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_update_returns",
"title": "replication_entry",
"default": {},
"_attrs_order_": []
}
|
Update a Replication Task with specific See the documentation for |
|
replication.config.config |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_config_entry",
"title": "replication_config_entry",
"default": {},
"_attrs_order_": []
}
|
- |
replication.config.update |
---|
Arguments:
{
"type": "object",
"properties": {
"max_parallel_replication_tasks": {
"type": [
"integer",
"null"
],
"_name_": "max_parallel_replication_tasks",
"title": "max_parallel_replication_tasks",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "replication_config_update",
"title": "replication_config_update",
"default": {},
"_attrs_order_": [
"max_parallel_replication_tasks"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_config_update_returns",
"title": "replication_config_entry",
"default": {},
"_attrs_order_": []
}
|
|
reporting.clear |
---|
Clear reporting database. |
reporting.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"cpu_in_percentage": {
"type": "boolean",
"_name_": "cpu_in_percentage",
"title": "cpu_in_percentage",
"_required_": true
},
"graphite": {
"_name_": "graphite",
"title": "graphite",
"_required_": true,
"type": "string"
},
"graphite_separateinstances": {
"type": "boolean",
"_name_": "graphite_separateinstances",
"title": "graphite_separateinstances",
"_required_": true
},
"graph_age": {
"type": "integer",
"_name_": "graph_age",
"title": "graph_age",
"_required_": true
},
"graph_points": {
"type": "integer",
"_name_": "graph_points",
"title": "graph_points",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "reporting_entry",
"title": "reporting_entry",
"default": {},
"_attrs_order_": [
"cpu_in_percentage",
"graphite",
"graphite_separateinstances",
"graph_age",
"graph_points",
"id"
]
}
|
- |
reporting.get_data |
---|
Arguments:
{
"_name_": "graphs",
"title": "graphs",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"identifier": {
"_name_": "identifier",
"title": "identifier",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "graph",
"title": "graph",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"identifier"
]
}
]
}
{
"type": "object",
"properties": {
"unit": {
"_name_": "unit",
"title": "unit",
"_required_": false,
"type": "string",
"enum": [
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
],
"description": "For the time period of the graph either `unit` and `page` OR `start` and `end` should be\nused, not both."
},
"page": {
"type": "integer",
"_name_": "page",
"title": "page",
"default": 0,
"_required_": false,
"description": "For the time period of the graph either `unit` and `page` OR `start` and `end` should be\nused, not both."
},
"start": {
"_name_": "start",
"title": "start",
"_required_": false,
"type": "string",
"description": "For the time period of the graph either `unit` and `page` OR `start` and `end` should be\nused, not both."
},
"end": {
"_name_": "end",
"title": "end",
"_required_": false,
"type": "string",
"description": "For the time period of the graph either `unit` and `page` OR `start` and `end` should be\nused, not both."
},
"aggregate": {
"type": "boolean",
"_name_": "aggregate",
"title": "aggregate",
"default": true,
"_required_": false,
"description": "`aggregate` will return aggregate available data for each graph (e.g. min, max, mean)."
}
},
"additionalProperties": false,
"_name_": "reporting_query",
"title": "reporting_query",
"default": {},
"_attrs_order_": [
"unit",
"page",
"start",
"end",
"aggregate"
]
}
|
Return Arguments:
{
"_name_": "reporting_data",
"title": "reporting_data",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": [
"string",
"null"
]
},
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"aggregations": {
"type": "object",
"properties": {
"min": {
"_name_": "min",
"title": "min",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"max": {
"_name_": "max",
"title": "max",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"mean": {
"_name_": "mean",
"title": "mean",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "aggregations",
"title": "aggregations",
"default": {},
"_required_": false,
"_attrs_order_": [
"min",
"max",
"mean"
]
}
},
"additionalProperties": true,
"_name_": "graph_reporting_data",
"title": "graph_reporting_data",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"identifier",
"data",
"aggregations"
]
}
]
}
|
Get reporting data for given graphs. List of possible graphs can be retrieved using For the time period of the graph either
|
Get graph data of "nfsstat" from the last hour.
|
reporting.graphs |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"vertical_label": {
"_name_": "vertical_label",
"title": "vertical_label",
"_required_": false,
"type": "string"
},
"identifiers": {
"_name_": "identifiers",
"title": "identifiers",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "identifier",
"title": "identifier",
"_required_": false,
"type": "string"
}
]
},
"stacked": {
"type": "boolean",
"_name_": "stacked",
"title": "stacked",
"_required_": false
},
"stacked_show_total": {
"type": "boolean",
"_name_": "stacked_show_total",
"title": "stacked_show_total",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "graph",
"title": "graph",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"title",
"vertical_label",
"identifiers",
"stacked",
"stacked_show_total"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"vertical_label": {
"_name_": "vertical_label",
"title": "vertical_label",
"_required_": false,
"type": "string"
},
"identifiers": {
"_name_": "identifiers",
"title": "identifiers",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "identifier",
"title": "identifier",
"_required_": false,
"type": "string"
}
]
},
"stacked": {
"type": "boolean",
"_name_": "stacked",
"title": "stacked",
"_required_": false
},
"stacked_show_total": {
"type": "boolean",
"_name_": "stacked_show_total",
"title": "stacked_show_total",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "graph",
"title": "graph",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"title",
"vertical_label",
"identifiers",
"stacked",
"stacked_show_total"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
- |
reporting.update |
---|
Arguments:
{
"type": "object",
"properties": {
"cpu_in_percentage": {
"type": "boolean",
"_name_": "cpu_in_percentage",
"title": "cpu_in_percentage",
"_required_": true,
"description": "If `cpu_in_percentage` is `true`, collectd reports CPU usage in percentage instead of \"jiffies\"."
},
"graphite": {
"_name_": "graphite",
"title": "graphite",
"_required_": true,
"type": "string",
"description": "`graphite` specifies a destination hostname or IP for collectd data sent by the Graphite plugin.."
},
"graphite_separateinstances": {
"type": "boolean",
"_name_": "graphite_separateinstances",
"title": "graphite_separateinstances",
"_required_": true,
"description": "`graphite_separateinstances` corresponds to collectd SeparateInstances option."
},
"graph_age": {
"type": "integer",
"_name_": "graph_age",
"title": "graph_age",
"_required_": true,
"description": "`graph_age` specifies the maximum age of stored graphs in months. `graph_points` is the number of points for\neach hourly, daily, weekly, etc. graph. Changing these requires destroying the current reporting database,\nso when these fields are changed, an additional `confirm_rrd_destroy: true` flag must be present."
},
"graph_points": {
"type": "integer",
"_name_": "graph_points",
"title": "graph_points",
"_required_": true,
"description": "`graph_age` specifies the maximum age of stored graphs in months. `graph_points` is the number of points for\neach hourly, daily, weekly, etc. graph. Changing these requires destroying the current reporting database,\nso when these fields are changed, an additional `confirm_rrd_destroy: true` flag must be present."
},
"confirm_rrd_destroy": {
"type": "boolean",
"_name_": "confirm_rrd_destroy",
"title": "confirm_rrd_destroy",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "reporting_update",
"title": "reporting_entry",
"default": {},
"_attrs_order_": [
"cpu_in_percentage",
"graphite",
"graphite_separateinstances",
"graph_age",
"graph_points",
"confirm_rrd_destroy"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"cpu_in_percentage": {
"type": "boolean",
"_name_": "cpu_in_percentage",
"title": "cpu_in_percentage",
"_required_": true,
"description": "If `cpu_in_percentage` is `true`, collectd reports CPU usage in percentage instead of \"jiffies\"."
},
"graphite": {
"_name_": "graphite",
"title": "graphite",
"_required_": true,
"type": "string",
"description": "`graphite` specifies a destination hostname or IP for collectd data sent by the Graphite plugin.."
},
"graphite_separateinstances": {
"type": "boolean",
"_name_": "graphite_separateinstances",
"title": "graphite_separateinstances",
"_required_": true,
"description": "`graphite_separateinstances` corresponds to collectd SeparateInstances option."
},
"graph_age": {
"type": "integer",
"_name_": "graph_age",
"title": "graph_age",
"_required_": true,
"description": "`graph_age` specifies the maximum age of stored graphs in months. `graph_points` is the number of points for\neach hourly, daily, weekly, etc. graph. Changing these requires destroying the current reporting database,\nso when these fields are changed, an additional `confirm_rrd_destroy: true` flag must be present."
},
"graph_points": {
"type": "integer",
"_name_": "graph_points",
"title": "graph_points",
"_required_": true,
"description": "`graph_age` specifies the maximum age of stored graphs in months. `graph_points` is the number of points for\neach hourly, daily, weekly, etc. graph. Changing these requires destroying the current reporting database,\nso when these fields are changed, an additional `confirm_rrd_destroy: true` flag must be present."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "reporting_update_returns",
"title": "reporting_entry",
"default": {},
"_attrs_order_": [
"cpu_in_percentage",
"graphite",
"graphite_separateinstances",
"graph_age",
"graph_points",
"id"
]
}
|
Configure Reporting Database settings. If
|
Update reporting settings
Recreate reporting database with new settings
|
route.ipv4gw_reachable |
---|
Arguments:
{
"_name_": "ipv4_gateway",
"title": "ipv4_gateway",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "ipv4gw_reachable",
"title": "ipv4gw_reachable"
}
|
Get the IPv4 gateway and verify if it is reachable by any interface. Returns: bool: True if the gateway is reachable or otherwise False. |
route.system_routes |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"network": {
"_name_": "network",
"title": "network",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": [
"string",
"null"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"table_id": {
"type": "integer",
"_name_": "table_id",
"title": "table_id",
"_required_": true
},
"scope": {
"type": "integer",
"_name_": "scope",
"title": "scope",
"_required_": true
},
"preferred_source": {
"_name_": "preferred_source",
"title": "preferred_source",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "system_route",
"title": "system_route",
"default": {},
"_required_": false,
"_attrs_order_": [
"network",
"netmask",
"gateway",
"interface",
"flags",
"table_id",
"scope",
"preferred_source"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"network": {
"_name_": "network",
"title": "network",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": [
"string",
"null"
]
},
"interface": {
"_name_": "interface",
"title": "interface",
"_required_": true,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"table_id": {
"type": "integer",
"_name_": "table_id",
"title": "table_id",
"_required_": true
},
"scope": {
"type": "integer",
"_name_": "scope",
"title": "scope",
"_required_": true
},
"preferred_source": {
"_name_": "preferred_source",
"title": "preferred_source",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "system_route",
"title": "system_route",
"default": {},
"_required_": false,
"_attrs_order_": [
"network",
"netmask",
"gateway",
"interface",
"flags",
"table_id",
"scope",
"preferred_source"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
Get current/applied network routes. |
rsyncd.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rsyncd_entry",
"title": "rsyncd_entry",
"default": {},
"_attrs_order_": [
"port",
"id",
"auxiliary"
]
}
|
- |
rsyncd.update |
---|
Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rsyncd_update",
"title": "rsyncd_entry",
"default": {},
"_attrs_order_": [
"port",
"auxiliary"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rsyncd_update_returns",
"title": "rsyncd_entry",
"default": {},
"_attrs_order_": [
"port",
"id",
"auxiliary"
]
}
|
Update Rsyncd Service Configuration.
|
rsyncmod.create |
---|
Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` represents the path to a dataset. Path length is limited to 1023 characters maximum as per the limit\nenforced by FreeBSD. It is possible that we reach this max length recursively while transferring data. In that\ncase, the user must ensure the maximum path will not be too long or modify the recursed path to shorter\nthan the limit."
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false,
"description": "`maxconn` is an integer value representing the maximum number of simultaneous connections. Zero represents\nunlimited."
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
],
"description": "`hostsallow` is a list of patterns to match hostname/ip address of a connecting client. If list is empty,\nall hosts are allowed."
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
],
"description": "`hostsdeny` is a list of patterns to match hostname/ip address of a connecting client. If the pattern is\nmatched, access is denied to the client. If no client should be denied, this should be left empty."
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rsyncmod_create",
"title": "rsyncmod_create",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` represents the path to a dataset. Path length is limited to 1023 characters maximum as per the limit\nenforced by FreeBSD. It is possible that we reach this max length recursively while transferring data. In that\ncase, the user must ensure the maximum path will not be too long or modify the recursed path to shorter\nthan the limit."
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false,
"description": "`maxconn` is an integer value representing the maximum number of simultaneous connections. Zero represents\nunlimited."
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
],
"description": "`hostsallow` is a list of patterns to match hostname/ip address of a connecting client. If list is empty,\nall hosts are allowed."
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
],
"description": "`hostsdeny` is a list of patterns to match hostname/ip address of a connecting client. If the pattern is\nmatched, access is denied to the client. If no client should be denied, this should be left empty."
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsyncmod_create_returns",
"title": "rsyncmod_create",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary",
"locked",
"id"
]
}
|
Create a Rsyncmod module.
|
rsyncmod.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Rsyncmod module of |
rsyncmod.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
]
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
]
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsyncmod_entry",
"title": "rsyncmod_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary",
"locked",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
]
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
]
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsyncmod_entry",
"title": "rsyncmod_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary",
"locked",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
]
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
]
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsyncmod_entry",
"title": "rsyncmod_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary",
"locked",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
rsyncmod.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Rsyncmod module of `id`.\nCreate a Rsyncmod module."
}
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` represents the path to a dataset. Path length is limited to 1023 characters maximum as per the limit\nenforced by FreeBSD. It is possible that we reach this max length recursively while transferring data. In that\ncase, the user must ensure the maximum path will not be too long or modify the recursed path to shorter\nthan the limit."
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false,
"description": "`maxconn` is an integer value representing the maximum number of simultaneous connections. Zero represents\nunlimited."
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
],
"description": "`hostsallow` is a list of patterns to match hostname/ip address of a connecting client. If list is empty,\nall hosts are allowed."
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
],
"description": "`hostsdeny` is a list of patterns to match hostname/ip address of a connecting client. If the pattern is\nmatched, access is denied to the client. If no client should be denied, this should be left empty."
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "rsyncmod_update",
"title": "rsyncmod_create",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` represents the path to a dataset. Path length is limited to 1023 characters maximum as per the limit\nenforced by FreeBSD. It is possible that we reach this max length recursively while transferring data. In that\ncase, the user must ensure the maximum path will not be too long or modify the recursed path to shorter\nthan the limit."
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false,
"description": "`maxconn` is an integer value representing the maximum number of simultaneous connections. Zero represents\nunlimited."
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
],
"description": "`hostsallow` is a list of patterns to match hostname/ip address of a connecting client. If list is empty,\nall hosts are allowed."
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
],
"description": "`hostsdeny` is a list of patterns to match hostname/ip address of a connecting client. If the pattern is\nmatched, access is denied to the client. If no client should be denied, this should be left empty."
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update Rsyncmod module of `id`.\nCreate a Rsyncmod module."
}
},
"additionalProperties": false,
"_name_": "rsyncmod_update_returns",
"title": "rsyncmod_create",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary",
"locked",
"id"
]
}
|
Update Rsyncmod module of |
rsynctask.create |
---|
Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "See the comment in Rsyncmod about `path` length limits."
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string",
"description": "`remotehost` is ip address or hostname of the remote system. If username differs on the remote host,\n\"username@remote_host\" format should be used."
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
],
"description": "`mode` represents different operating mechanisms for Rsync i.e Rsync Module mode / Rsync SSH mode.\n`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string",
"description": "`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string",
"description": "`remotepath` specifies the path on the remote system."
},
"validate_rpath": {
"type": "boolean",
"_name_": "validate_rpath",
"title": "validate_rpath",
"default": true,
"_required_": false,
"description": "`validate_rpath` is a boolean which when sets validates the existence of the remote path."
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
],
"description": "`direction` specifies if data should be PULLED or PUSHED from the remote system."
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false,
"description": "`compress` when set reduces the size of the data which is to be transmitted."
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false,
"description": "`archive` when set makes rsync run recursively, preserving symlinks, permissions, modification times, group,\nand special files."
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false,
"description": "`delete` when set deletes files in the destination directory which do not exist in the source directory."
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false,
"description": "`preserveperm` when set preserves original file permissions."
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsync_task_create",
"title": "rsync_task_create",
"default": {},
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"validate_rpath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "See the comment in Rsyncmod about `path` length limits."
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string",
"description": "`remotehost` is ip address or hostname of the remote system. If username differs on the remote host,\n\"username@remote_host\" format should be used."
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
],
"description": "`mode` represents different operating mechanisms for Rsync i.e Rsync Module mode / Rsync SSH mode.\n`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string",
"description": "`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string",
"description": "`remotepath` specifies the path on the remote system."
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
],
"description": "`direction` specifies if data should be PULLED or PUSHED from the remote system."
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false,
"description": "`compress` when set reduces the size of the data which is to be transmitted."
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false,
"description": "`archive` when set makes rsync run recursively, preserving symlinks, permissions, modification times, group,\nand special files."
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false,
"description": "`delete` when set deletes files in the destination directory which do not exist in the source directory."
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false,
"description": "`preserveperm` when set preserves original file permissions."
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "job",
"title": "job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "rsynctask_create_returns",
"title": "rsync_task_create",
"default": {},
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled",
"id",
"locked",
"job"
]
}
|
Create a Rsync Task. See the comment in Rsyncmod about
|
Create a Rsync Task which pulls data from a remote system every 5 minutes.
|
rsynctask.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Rsync Task of |
rsynctask.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string"
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
]
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string"
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "job",
"title": "job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "rsync_task_entry",
"title": "rsync_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled",
"id",
"locked",
"job"
]
}
]
},
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string"
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
]
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string"
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "job",
"title": "job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "rsync_task_entry",
"title": "rsync_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled",
"id",
"locked",
"job"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string"
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
]
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string"
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "job",
"title": "job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "rsync_task_entry",
"title": "rsync_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled",
"id",
"locked",
"job"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
rsynctask.run
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Job to run rsync task of `id`."
}
|
Job to run rsync task of Output is saved to job log excerpt (not syslog). |
rsynctask.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Rsync Task of `id`.\nCreate a Rsync Task."
}
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "See the comment in Rsyncmod about `path` length limits."
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string",
"description": "`remotehost` is ip address or hostname of the remote system. If username differs on the remote host,\n\"username@remote_host\" format should be used."
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
],
"description": "`mode` represents different operating mechanisms for Rsync i.e Rsync Module mode / Rsync SSH mode.\n`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string",
"description": "`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string",
"description": "`remotepath` specifies the path on the remote system."
},
"validate_rpath": {
"type": "boolean",
"_name_": "validate_rpath",
"title": "validate_rpath",
"default": true,
"_required_": false,
"description": "`validate_rpath` is a boolean which when sets validates the existence of the remote path."
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
],
"description": "`direction` specifies if data should be PULLED or PUSHED from the remote system."
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false,
"description": "`compress` when set reduces the size of the data which is to be transmitted."
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false,
"description": "`archive` when set makes rsync run recursively, preserving symlinks, permissions, modification times, group,\nand special files."
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false,
"description": "`delete` when set deletes files in the destination directory which do not exist in the source directory."
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false,
"description": "`preserveperm` when set preserves original file permissions."
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsync_task_update",
"title": "rsync_task_create",
"default": {},
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"validate_rpath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "See the comment in Rsyncmod about `path` length limits."
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string",
"description": "`remotehost` is ip address or hostname of the remote system. If username differs on the remote host,\n\"username@remote_host\" format should be used."
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
],
"description": "`mode` represents different operating mechanisms for Rsync i.e Rsync Module mode / Rsync SSH mode.\n`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string",
"description": "`remotemodule` is the name of remote module, this attribute should be specified when `mode` is set to MODULE."
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string",
"description": "`remotepath` specifies the path on the remote system."
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
],
"description": "`direction` specifies if data should be PULLED or PUSHED from the remote system."
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false,
"description": "`compress` when set reduces the size of the data which is to be transmitted."
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false,
"description": "`archive` when set makes rsync run recursively, preserving symlinks, permissions, modification times, group,\nand special files."
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false,
"description": "`delete` when set deletes files in the destination directory which do not exist in the source directory."
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false,
"description": "`preserveperm` when set preserves original file permissions."
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update Rsync Task of `id`.\nCreate a Rsync Task."
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "job",
"title": "job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "rsynctask_update_returns",
"title": "rsync_task_create",
"default": {},
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled",
"id",
"locked",
"job"
]
}
|
Update Rsync Task of |
s3.bindip_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "s3_bindip_choices",
"title": "s3_bindip_choices",
"default": {},
"_attrs_order_": []
}
|
Return ip choices for S3 service to use. |
s3.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"bindip": {
"_name_": "bindip",
"title": "bindip",
"_required_": true,
"type": "string"
},
"bindport": {
"type": "integer",
"_name_": "bindport",
"title": "bindport",
"_required_": true
},
"console_bindport": {
"type": "integer",
"_name_": "console_bindport",
"title": "console_bindport",
"_required_": true
},
"access_key": {
"_name_": "access_key",
"title": "access_key",
"_required_": true,
"type": "string"
},
"secret_key": {
"_name_": "secret_key",
"title": "secret_key",
"_required_": true,
"type": "string"
},
"browser": {
"type": "boolean",
"_name_": "browser",
"title": "browser",
"_required_": true
},
"tls_server_uri": {
"_name_": "tls_server_uri",
"title": "tls_server_uri",
"_required_": true,
"type": [
"string",
"null"
]
},
"storage_path": {
"_name_": "storage_path",
"title": "storage_path",
"_required_": true,
"type": "string"
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "s3_entry",
"title": "s3_entry",
"default": {},
"_attrs_order_": [
"bindip",
"bindport",
"console_bindport",
"access_key",
"secret_key",
"browser",
"tls_server_uri",
"storage_path",
"certificate",
"id"
]
}
|
- |
s3.update |
---|
Arguments:
{
"type": "object",
"properties": {
"bindip": {
"_name_": "bindip",
"title": "bindip",
"_required_": true,
"type": "string"
},
"bindport": {
"type": "integer",
"_name_": "bindport",
"title": "bindport",
"_required_": true
},
"console_bindport": {
"type": "integer",
"_name_": "console_bindport",
"title": "console_bindport",
"_required_": true
},
"access_key": {
"_name_": "access_key",
"title": "access_key",
"_required_": true,
"type": "string",
"description": "`access_key` must only contain alphanumeric characters and should be between 5 and 20 characters."
},
"secret_key": {
"_name_": "secret_key",
"title": "secret_key",
"_required_": true,
"type": "string",
"description": "`secret_key` must only contain alphanumeric characters and should be between 8 and 40 characters."
},
"browser": {
"type": "boolean",
"_name_": "browser",
"title": "browser",
"_required_": true,
"description": "`browser` when set, enables the web user interface for the S3 Service."
},
"tls_server_uri": {
"_name_": "tls_server_uri",
"title": "tls_server_uri",
"_required_": true,
"type": [
"string",
"null"
]
},
"storage_path": {
"_name_": "storage_path",
"title": "storage_path",
"_required_": true,
"type": "string"
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "s3_update",
"title": "s3_entry",
"default": {},
"_attrs_order_": [
"bindip",
"bindport",
"console_bindport",
"access_key",
"secret_key",
"browser",
"tls_server_uri",
"storage_path",
"certificate"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"bindip": {
"_name_": "bindip",
"title": "bindip",
"_required_": true,
"type": "string"
},
"bindport": {
"type": "integer",
"_name_": "bindport",
"title": "bindport",
"_required_": true
},
"console_bindport": {
"type": "integer",
"_name_": "console_bindport",
"title": "console_bindport",
"_required_": true
},
"access_key": {
"_name_": "access_key",
"title": "access_key",
"_required_": true,
"type": "string",
"description": "`access_key` must only contain alphanumeric characters and should be between 5 and 20 characters."
},
"secret_key": {
"_name_": "secret_key",
"title": "secret_key",
"_required_": true,
"type": "string",
"description": "`secret_key` must only contain alphanumeric characters and should be between 8 and 40 characters."
},
"browser": {
"type": "boolean",
"_name_": "browser",
"title": "browser",
"_required_": true,
"description": "`browser` when set, enables the web user interface for the S3 Service."
},
"tls_server_uri": {
"_name_": "tls_server_uri",
"title": "tls_server_uri",
"_required_": true,
"type": [
"string",
"null"
]
},
"storage_path": {
"_name_": "storage_path",
"title": "storage_path",
"_required_": true,
"type": "string"
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "s3_update_returns",
"title": "s3_entry",
"default": {},
"_attrs_order_": [
"bindip",
"bindport",
"console_bindport",
"access_key",
"secret_key",
"browser",
"tls_server_uri",
"storage_path",
"certificate",
"id"
]
}
|
Update S3 Service Configuration.
|
sensor.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
- |
service.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"service": {
"_name_": "service",
"title": "service",
"_required_": false,
"type": "string"
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": false
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"pids": {
"_name_": "pids",
"title": "pids",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "pid",
"title": "pid",
"_required_": false
}
]
}
},
"additionalProperties": false,
"_name_": "service_entry",
"title": "service_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"service",
"enable",
"state",
"pids"
]
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"service": {
"_name_": "service",
"title": "service",
"_required_": false,
"type": "string"
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": false
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"pids": {
"_name_": "pids",
"title": "pids",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "pid",
"title": "pid",
"_required_": false
}
]
}
},
"additionalProperties": false,
"_name_": "service_entry",
"title": "service_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"service",
"enable",
"state",
"pids"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"service": {
"_name_": "service",
"title": "service",
"_required_": false,
"type": "string"
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": false
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"pids": {
"_name_": "pids",
"title": "pids",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "pid",
"title": "pid",
"_required_": false
}
]
}
},
"additionalProperties": false,
"_name_": "service_entry",
"title": "service_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"service",
"enable",
"state",
"pids"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query all system services with |
service.reload |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"type": "string"
}
{
"type": "object",
"properties": {
"ha_propagate": {
"type": "boolean",
"_name_": "ha_propagate",
"title": "ha_propagate",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service-control",
"title": "service-control",
"default": {},
"_attrs_order_": [
"ha_propagate"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "service_reloaded",
"title": "service_reloaded"
}
|
Reload the service specified by |
service.restart |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"type": "string"
}
{
"type": "object",
"properties": {
"ha_propagate": {
"type": "boolean",
"_name_": "ha_propagate",
"title": "ha_propagate",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service-control",
"title": "service-control",
"default": {},
"_attrs_order_": [
"ha_propagate"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "service_restarted",
"title": "service_restarted"
}
|
Restart the service specified by |
service.start |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"type": "string"
}
{
"type": "object",
"properties": {
"ha_propagate": {
"type": "boolean",
"_name_": "ha_propagate",
"title": "ha_propagate",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service-control",
"title": "service-control",
"default": {},
"_attrs_order_": [
"ha_propagate"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "started_service",
"title": "started_service"
}
|
Start the service specified by |
service.started |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "service_started",
"title": "service_started",
"description": "Will return `true` if service is running"
}
|
Test if service specified by |
service.started_or_enabled |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "service_started_or_enabled",
"title": "service_started_or_enabled",
"description": "Will return `true` if service is started or enabled to start automatically."
}
|
Test if service specified by |
service.stop |
---|
Arguments:
{
"_name_": "service",
"title": "service",
"type": "string"
}
{
"type": "object",
"properties": {
"ha_propagate": {
"type": "boolean",
"_name_": "ha_propagate",
"title": "ha_propagate",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service-control",
"title": "service-control",
"default": {},
"_attrs_order_": [
"ha_propagate"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "service_stopped",
"title": "service_stopped",
"description": "Will return `true` if service successfully stopped"
}
|
Stop the service specified by |
service.terminate_process |
---|
Arguments:
{
"type": "integer",
"_name_": "pid",
"title": "pid",
"description": "Terminate process by `pid`."
}
{
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "process_terminated_nicely",
"title": "process_terminated_nicely",
"description": "`true` is process has been successfully terminated with `TERM` and `false` if we had to use `KILL`"
}
|
Terminate process by First send |
service.update |
---|
Arguments:
{
"_name_": "id_or_name",
"title": "id_or_name",
"type": "string",
"description": "Update service entry of `id_or_name`."
}
{
"type": "object",
"properties": {
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "service-update",
"title": "service-update",
"default": {},
"_attrs_order_": [
"enable"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "service_primary_key",
"title": "service_primary_key"
}
|
Update service entry of Currently it only accepts |
sharing.nfs.create |
---|
Arguments:
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`paths` is a list of valid paths which are configured to be shared on this share."
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`aliases` IGNORED, for now."
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
],
"description": "`networks` is a list of authorized networks that are allowed to access the share having format\n\"network/mask\" CIDR notation. If empty, all networks are allowed."
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
],
"description": "`hosts` is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are\nallowed."
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharingnfs_create",
"title": "sharingnfs_create",
"default": {},
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`paths` is a list of valid paths which are configured to be shared on this share."
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`aliases` IGNORED, for now."
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
],
"description": "`networks` is a list of authorized networks that are allowed to access the share having format\n\"network/mask\" CIDR notation. If empty, all networks are allowed."
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
],
"description": "`hosts` is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are\nallowed."
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharing_nfs_create_returns",
"title": "sharingnfs_create",
"default": {},
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled",
"id",
"locked"
]
}
|
Create a NFS Share.
|
sharing.nfs.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Delete NFS Share of |
sharing.nfs.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
]
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
]
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharing_nfs_entry",
"title": "sharingnfs_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled",
"id",
"locked"
]
}
]
},
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
]
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
]
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharing_nfs_entry",
"title": "sharingnfs_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled",
"id",
"locked"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
]
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
]
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharing_nfs_entry",
"title": "sharingnfs_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled",
"id",
"locked"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
sharing.nfs.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update NFS Share of `id`.\nCreate a NFS Share."
}
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`paths` is a list of valid paths which are configured to be shared on this share."
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`aliases` IGNORED, for now."
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
],
"description": "`networks` is a list of authorized networks that are allowed to access the share having format\n\"network/mask\" CIDR notation. If empty, all networks are allowed."
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
],
"description": "`hosts` is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are\nallowed."
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharingnfs_update",
"title": "sharingnfs_create",
"default": {},
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`paths` is a list of valid paths which are configured to be shared on this share."
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
],
"description": "`aliases` IGNORED, for now."
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
],
"description": "`networks` is a list of authorized networks that are allowed to access the share having format\n\"network/mask\" CIDR notation. If empty, all networks are allowed."
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
],
"description": "`hosts` is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are\nallowed."
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update NFS Share of `id`.\nCreate a NFS Share."
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharing_nfs_update_returns",
"title": "sharingnfs_create",
"default": {},
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled",
"id",
"locked"
]
}
|
Update NFS Share of |
sharing.smb.create |
---|
Arguments:
{
"type": "object",
"properties": {
"purpose": {
"_name_": "purpose",
"title": "purpose",
"default": "DEFAULT_SHARE",
"_required_": false,
"type": "string",
"enum": [
"NO_PRESET",
"DEFAULT_SHARE",
"ENHANCED_TIMEMACHINE",
"MULTI_PROTOCOL_NFS",
"PRIVATE_DATASETS",
"WORM_DROPBOX"
],
"description": "`purpose` applies common configuration presets depending on intended purpose."
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` path to export over the SMB protocol. If server is clustered, then this path will be\nrelative to the `cluster_volname`."
},
"path_suffix": {
"_name_": "path_suffix",
"title": "path_suffix",
"default": "",
"_required_": false,
"type": "string"
},
"home": {
"type": "boolean",
"_name_": "home",
"title": "home",
"default": false,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false,
"description": "`ro` when enabled, prohibits write access to the share."
},
"browsable": {
"type": "boolean",
"_name_": "browsable",
"title": "browsable",
"default": true,
"_required_": false
},
"timemachine": {
"type": "boolean",
"_name_": "timemachine",
"title": "timemachine",
"default": false,
"_required_": false,
"description": "`timemachine` when set, enables Time Machine backups for this share."
},
"timemachine_quota": {
"type": "integer",
"_name_": "timemachine_quota",
"title": "timemachine_quota",
"default": 0,
"_required_": false
},
"recyclebin": {
"type": "boolean",
"_name_": "recyclebin",
"title": "recyclebin",
"default": false,
"_required_": false
},
"guestok": {
"type": "boolean",
"_name_": "guestok",
"title": "guestok",
"default": false,
"_required_": false,
"description": "`guestok` when enabled, allows access to this share without a password."
},
"abe": {
"type": "boolean",
"_name_": "abe",
"title": "abe",
"default": false,
"_required_": false
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [],
"description": "`hostsallow` is a list of hostnames / IP addresses which have access to this share.\n`hostsdeny` is a list of hostnames / IP addresses which are not allowed access to this share. If a handful\nof hostnames are to be only allowed access, `hostsdeny` can be passed \"ALL\" which means that it will deny\naccess to ALL hostnames except for the ones which have been listed in `hostsallow`."
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [],
"description": "`hostsdeny` is a list of hostnames / IP addresses which are not allowed access to this share. If a handful\nof hostnames are to be only allowed access, `hostsdeny` can be passed \"ALL\" which means that it will deny\naccess to ALL hostnames except for the ones which have been listed in `hostsallow`."
},
"aapl_name_mangling": {
"type": "boolean",
"_name_": "aapl_name_mangling",
"title": "aapl_name_mangling",
"default": false,
"_required_": false
},
"acl": {
"type": "boolean",
"_name_": "acl",
"title": "acl",
"default": true,
"_required_": false,
"description": "`acl` enables support for storing the SMB Security Descriptor as a Filesystem ACL."
},
"durablehandle": {
"type": "boolean",
"_name_": "durablehandle",
"title": "durablehandle",
"default": true,
"_required_": false
},
"shadowcopy": {
"type": "boolean",
"_name_": "shadowcopy",
"title": "shadowcopy",
"default": true,
"_required_": false,
"description": "`shadowcopy` enables support for the volume shadow copy service."
},
"streams": {
"type": "boolean",
"_name_": "streams",
"title": "streams",
"default": true,
"_required_": false,
"description": "`streams` enables support for storing alternate datastreams as filesystem extended attributes."
},
"fsrvp": {
"type": "boolean",
"_name_": "fsrvp",
"title": "fsrvp",
"default": false,
"_required_": false,
"description": "`fsrvp` enables support for the filesystem remote VSS protocol. This allows clients to create\nZFS snapshots through RPC."
},
"auxsmbconf": {
"_name_": "auxsmbconf",
"title": "auxsmbconf",
"default": "",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"cluster_volname": {
"_name_": "cluster_volname",
"title": "cluster_volname",
"default": "",
"_required_": false,
"type": "string",
"description": "`path` path to export over the SMB protocol. If server is clustered, then this path will be\nrelative to the `cluster_volname`."
},
"afp": {
"type": "boolean",
"_name_": "afp",
"title": "afp",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharingsmb_create",
"title": "sharingsmb_create",
"default": {},
"_attrs_order_": [
"purpose",
"path",
"path_suffix",
"home",
"name",
"comment",
"ro",
"browsable",
"timemachine",
"timemachine_quota",
"recyclebin",
"guestok",
"abe",
"hostsallow",
"hostsdeny",
"aapl_name_mangling",
"acl",
"durablehandle",
"shadowcopy",
"streams",
"fsrvp",
"auxsmbconf",
"enabled",
"cluster_volname",
"afp"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "sharing_smb_create_returns",
"title": "sharing_smb_entry",
"default": {},
"_attrs_order_": []
}
|
Create a SMB Share.
|
sharing.smb.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete SMB Share of |
sharing.smb.presets |
---|
Retrieve pre-defined configuration sets for specific use-cases. These parameter combinations are often non-obvious, but beneficial in these scenarios. |
sharing.smb.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "sharing_smb_entry",
"title": "sharing_smb_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "sharing_smb_entry",
"title": "sharing_smb_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "sharing_smb_entry",
"title": "sharing_smb_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query shares with filters. In clustered environments, local datastore query is bypassed in favor of clustered registry. |
sharing.smb.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update SMB Share of `id`.\nCreate a SMB Share."
}
{
"type": "object",
"properties": {
"purpose": {
"_name_": "purpose",
"title": "purpose",
"default": "DEFAULT_SHARE",
"_required_": false,
"type": "string",
"enum": [
"NO_PRESET",
"DEFAULT_SHARE",
"ENHANCED_TIMEMACHINE",
"MULTI_PROTOCOL_NFS",
"PRIVATE_DATASETS",
"WORM_DROPBOX"
],
"description": "`purpose` applies common configuration presets depending on intended purpose."
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string",
"description": "`path` path to export over the SMB protocol. If server is clustered, then this path will be\nrelative to the `cluster_volname`."
},
"path_suffix": {
"_name_": "path_suffix",
"title": "path_suffix",
"default": "",
"_required_": false,
"type": "string"
},
"home": {
"type": "boolean",
"_name_": "home",
"title": "home",
"default": false,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false,
"description": "`ro` when enabled, prohibits write access to the share."
},
"browsable": {
"type": "boolean",
"_name_": "browsable",
"title": "browsable",
"default": true,
"_required_": false
},
"timemachine": {
"type": "boolean",
"_name_": "timemachine",
"title": "timemachine",
"default": false,
"_required_": false,
"description": "`timemachine` when set, enables Time Machine backups for this share."
},
"timemachine_quota": {
"type": "integer",
"_name_": "timemachine_quota",
"title": "timemachine_quota",
"default": 0,
"_required_": false
},
"recyclebin": {
"type": "boolean",
"_name_": "recyclebin",
"title": "recyclebin",
"default": false,
"_required_": false
},
"guestok": {
"type": "boolean",
"_name_": "guestok",
"title": "guestok",
"default": false,
"_required_": false,
"description": "`guestok` when enabled, allows access to this share without a password."
},
"abe": {
"type": "boolean",
"_name_": "abe",
"title": "abe",
"default": false,
"_required_": false
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [],
"description": "`hostsallow` is a list of hostnames / IP addresses which have access to this share.\n`hostsdeny` is a list of hostnames / IP addresses which are not allowed access to this share. If a handful\nof hostnames are to be only allowed access, `hostsdeny` can be passed \"ALL\" which means that it will deny\naccess to ALL hostnames except for the ones which have been listed in `hostsallow`."
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [],
"description": "`hostsdeny` is a list of hostnames / IP addresses which are not allowed access to this share. If a handful\nof hostnames are to be only allowed access, `hostsdeny` can be passed \"ALL\" which means that it will deny\naccess to ALL hostnames except for the ones which have been listed in `hostsallow`."
},
"aapl_name_mangling": {
"type": "boolean",
"_name_": "aapl_name_mangling",
"title": "aapl_name_mangling",
"default": false,
"_required_": false
},
"acl": {
"type": "boolean",
"_name_": "acl",
"title": "acl",
"default": true,
"_required_": false,
"description": "`acl` enables support for storing the SMB Security Descriptor as a Filesystem ACL."
},
"durablehandle": {
"type": "boolean",
"_name_": "durablehandle",
"title": "durablehandle",
"default": true,
"_required_": false
},
"shadowcopy": {
"type": "boolean",
"_name_": "shadowcopy",
"title": "shadowcopy",
"default": true,
"_required_": false,
"description": "`shadowcopy` enables support for the volume shadow copy service."
},
"streams": {
"type": "boolean",
"_name_": "streams",
"title": "streams",
"default": true,
"_required_": false,
"description": "`streams` enables support for storing alternate datastreams as filesystem extended attributes."
},
"fsrvp": {
"type": "boolean",
"_name_": "fsrvp",
"title": "fsrvp",
"default": false,
"_required_": false,
"description": "`fsrvp` enables support for the filesystem remote VSS protocol. This allows clients to create\nZFS snapshots through RPC."
},
"auxsmbconf": {
"_name_": "auxsmbconf",
"title": "auxsmbconf",
"default": "",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"cluster_volname": {
"_name_": "cluster_volname",
"title": "cluster_volname",
"default": "",
"_required_": false,
"type": "string",
"description": "`path` path to export over the SMB protocol. If server is clustered, then this path will be\nrelative to the `cluster_volname`."
},
"afp": {
"type": "boolean",
"_name_": "afp",
"title": "afp",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharingsmb_update",
"title": "sharingsmb_create",
"default": {},
"_attrs_order_": [
"purpose",
"path",
"path_suffix",
"home",
"name",
"comment",
"ro",
"browsable",
"timemachine",
"timemachine_quota",
"recyclebin",
"guestok",
"abe",
"hostsallow",
"hostsdeny",
"aapl_name_mangling",
"acl",
"durablehandle",
"shadowcopy",
"streams",
"fsrvp",
"auxsmbconf",
"enabled",
"cluster_volname",
"afp"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "sharing_smb_update_returns",
"title": "sharing_smb_entry",
"default": {},
"_attrs_order_": []
}
|
Update SMB Share of |
sharing.webdav.create |
---|
Arguments:
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false,
"description": "`ro` when enabled prohibits users from writing to this share."
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "webdav_share_create",
"title": "webdav_share_create",
"default": {},
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": true
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": true,
"description": "`ro` when enabled prohibits users from writing to this share."
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "sharing_webdav_create_returns",
"title": "webdav_share_create",
"default": {},
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled",
"locked",
"id"
]
}
|
Create a Webdav Share.
|
sharing.webdav.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Update Webdav Share of |
sharing.webdav.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": true
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": true
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "webdav_share_entry",
"title": "webdav_share_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled",
"locked",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": true
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": true
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "webdav_share_entry",
"title": "webdav_share_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled",
"locked",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": true
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": true
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "webdav_share_entry",
"title": "webdav_share_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled",
"locked",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
sharing.webdav.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Webdav Share of `id`.\nCreate a Webdav Share."
}
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false,
"description": "`ro` when enabled prohibits users from writing to this share."
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "webdav_share_update",
"title": "webdav_share_create",
"default": {},
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": true
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": true,
"description": "`ro` when enabled prohibits users from writing to this share."
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update Webdav Share of `id`.\nCreate a Webdav Share."
}
},
"additionalProperties": false,
"_name_": "sharing_webdav_update_returns",
"title": "webdav_share_create",
"default": {},
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled",
"locked",
"id"
]
}
|
Update Webdav Share of |
smart.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"interval": {
"type": "integer",
"_name_": "interval",
"title": "interval",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"powermode": {
"_name_": "powermode",
"title": "powermode",
"_required_": true,
"type": "string",
"enum": [
"NEVER",
"SLEEP",
"STANDBY",
"IDLE"
]
},
"difference": {
"type": "integer",
"_name_": "difference",
"title": "difference",
"_required_": true
},
"informational": {
"type": "integer",
"_name_": "informational",
"title": "informational",
"_required_": true
},
"critical": {
"type": "integer",
"_name_": "critical",
"title": "critical",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "smart_entry",
"title": "smart_entry",
"default": {},
"_attrs_order_": [
"interval",
"id",
"powermode",
"difference",
"informational",
"critical"
]
}
|
- |
smart.update |
---|
Arguments:
{
"type": "object",
"properties": {
"interval": {
"type": "integer",
"_name_": "interval",
"title": "interval",
"_required_": true,
"description": "`interval` is an integer value in minutes which defines how often smartd activates to check if any tests\nare configured to run."
},
"powermode": {
"_name_": "powermode",
"title": "powermode",
"_required_": true,
"type": "string",
"enum": [
"NEVER",
"SLEEP",
"STANDBY",
"IDLE"
]
},
"difference": {
"type": "integer",
"_name_": "difference",
"title": "difference",
"_required_": true
},
"informational": {
"type": "integer",
"_name_": "informational",
"title": "informational",
"_required_": true
},
"critical": {
"type": "integer",
"_name_": "critical",
"title": "critical",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "smart_update",
"title": "smart_entry",
"default": {},
"_attrs_order_": [
"interval",
"powermode",
"difference",
"informational",
"critical"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"interval": {
"type": "integer",
"_name_": "interval",
"title": "interval",
"_required_": true,
"description": "`interval` is an integer value in minutes which defines how often smartd activates to check if any tests\nare configured to run."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"powermode": {
"_name_": "powermode",
"title": "powermode",
"_required_": true,
"type": "string",
"enum": [
"NEVER",
"SLEEP",
"STANDBY",
"IDLE"
]
},
"difference": {
"type": "integer",
"_name_": "difference",
"title": "difference",
"_required_": true
},
"informational": {
"type": "integer",
"_name_": "informational",
"title": "informational",
"_required_": true
},
"critical": {
"type": "integer",
"_name_": "critical",
"title": "critical",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "smart_update_returns",
"title": "smart_entry",
"default": {},
"_attrs_order_": [
"interval",
"id",
"powermode",
"difference",
"informational",
"critical"
]
}
|
Update SMART Service Configuration.
|
smart.test.create |
---|
Arguments:
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false,
"description": "`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
],
"description": "`disks` is a list of valid disks which should be monitored in this task.\n`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
],
"description": "`type` is specified to represent the type of SMART test to be executed."
}
},
"additionalProperties": false,
"_name_": "smart_task_create",
"title": "smart_task_create",
"default": {},
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false,
"description": "`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
],
"description": "`disks` is a list of valid disks which should be monitored in this task.\n`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
],
"description": "`type` is specified to represent the type of SMART test to be executed."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "smart_test_create_returns",
"title": "smart_task_create",
"default": {},
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type",
"id"
]
}
|
Create a SMART Test Task.
|
Create a SMART Test Task which executes after every 30 minutes.
|
smart.test.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete SMART Test Task of |
smart.test.disk_choices |
---|
Arguments:
{
"type": "boolean",
"_name_": "full_disk",
"title": "full_disk",
"default": false
}
|
Returns disk choices for S.M.A.R.T. test.
|
smart.test.manual_test |
---|
Arguments:
{
"_name_": "disks",
"title": "disks",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "BACKGROUND",
"_required_": false,
"type": "string",
"enum": [
"FOREGROUND",
"BACKGROUND"
]
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
]
}
},
"additionalProperties": false,
"_name_": "disk_run",
"title": "disk_run",
"default": {},
"_required_": false,
"_attrs_order_": [
"identifier",
"mode",
"type"
]
}
],
"description": "Run manual SMART tests for `disks`."
}
|
Return Arguments:
{
"_name_": "smart_manual_test",
"title": "smart_manual_test",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"disk": {
"_name_": "disk",
"title": "disk",
"_required_": true,
"type": "string"
},
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"error": {
"_name_": "error",
"title": "error",
"_required_": true,
"type": [
"string",
"null"
]
},
"expected_result_time": {
"_name_": "expected_result_time",
"title": "expected_result_time",
"_required_": false,
"type": "string"
},
"job": {
"type": "integer",
"_name_": "job",
"title": "job",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "smart_manual_test_disk_response",
"title": "smart_manual_test_disk_response",
"default": {},
"_required_": false,
"_attrs_order_": [
"disk",
"identifier",
"error",
"expected_result_time",
"job"
]
}
]
}
|
Run manual SMART tests for
|
smart.test.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "smart_task_entry",
"title": "smart_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "smart_task_entry",
"title": "smart_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "smart_task_entry",
"title": "smart_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
smart.test.results |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"disk": {
"_name_": "disk",
"title": "disk",
"_required_": true,
"type": "string"
},
"tests": {
"_name_": "tests",
"title": "tests",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"num": {
"type": "integer",
"_name_": "num",
"title": "num",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"status_verbose": {
"_name_": "status_verbose",
"title": "status_verbose",
"_required_": true,
"type": "string"
},
"remaining": {
"type": "float",
"_name_": "remaining",
"title": "remaining",
"_required_": true
},
"lifetime": {
"type": "integer",
"_name_": "lifetime",
"title": "lifetime",
"_required_": true
},
"lba_of_first_error": {
"_name_": "lba_of_first_error",
"title": "lba_of_first_error",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "test_result",
"title": "test_result",
"default": {},
"_required_": false,
"_attrs_order_": [
"num",
"description",
"status",
"status_verbose",
"remaining",
"lifetime",
"lba_of_first_error"
]
}
]
}
},
"additionalProperties": false,
"_name_": "disk_smart_test_result",
"title": "disk_smart_test_result",
"default": {},
"_required_": false,
"_attrs_order_": [
"disk",
"tests"
]
},
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"disk": {
"_name_": "disk",
"title": "disk",
"_required_": true,
"type": "string"
},
"tests": {
"_name_": "tests",
"title": "tests",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"num": {
"type": "integer",
"_name_": "num",
"title": "num",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"status_verbose": {
"_name_": "status_verbose",
"title": "status_verbose",
"_required_": true,
"type": "string"
},
"remaining": {
"type": "float",
"_name_": "remaining",
"title": "remaining",
"_required_": true
},
"lifetime": {
"type": "integer",
"_name_": "lifetime",
"title": "lifetime",
"_required_": true
},
"lba_of_first_error": {
"_name_": "lba_of_first_error",
"title": "lba_of_first_error",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "test_result",
"title": "test_result",
"default": {},
"_required_": false,
"_attrs_order_": [
"num",
"description",
"status",
"status_verbose",
"remaining",
"lifetime",
"lba_of_first_error"
]
}
]
}
},
"additionalProperties": false,
"_name_": "disk_smart_test_result",
"title": "disk_smart_test_result",
"default": {},
"_required_": false,
"_attrs_order_": [
"disk",
"tests"
]
}
]
}
],
"nullable": false,
"_name_": "filterable_result",
"description": null
}
|
Get disk(s) S.M.A.R.T. test(s) results. |
Get all disks tests results
Get specific disk test results
|
smart.test.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update SMART Test Task of `id`.\nCreate a SMART Test Task."
}
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false,
"description": "`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
],
"description": "`disks` is a list of valid disks which should be monitored in this task.\n`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
],
"description": "`type` is specified to represent the type of SMART test to be executed."
}
},
"additionalProperties": false,
"_name_": "smart_test_update",
"title": "smart_task_create",
"default": {},
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false,
"description": "`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
],
"description": "`disks` is a list of valid disks which should be monitored in this task.\n`all_disks` when enabled sets the task to cover all disks in which case `disks` is not required."
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
],
"description": "`type` is specified to represent the type of SMART test to be executed."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update SMART Test Task of `id`.\nCreate a SMART Test Task."
}
},
"additionalProperties": false,
"_name_": "smart_test_update_returns",
"title": "smart_task_create",
"default": {},
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type",
"id"
]
}
|
Update SMART Test Task of |
smb.bindip_choices |
---|
List of valid choices for IP addresses to which to bind the SMB service. Addresses assigned by DHCP are excluded from the results. |
smb.client_count |
---|
Return currently connected clients count. |
smb.config |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_entry",
"title": "smb_entry",
"default": {},
"_attrs_order_": []
}
|
- |
smb.domain_choices |
---|
List of domains visible to winbindd. Returns empty list if winbindd is stopped. |
smb.get_remote_acl |
---|
Arguments:
{
"type": "object",
"properties": {
"server": {
"_name_": "server",
"title": "server",
"_required_": true,
"type": "string",
"description": "`server` IP Address or hostname of the remote server"
},
"share": {
"_name_": "share",
"title": "share",
"_required_": true,
"type": "string",
"description": "`share` Share name"
},
"path": {
"_name_": "path",
"title": "path",
"default": "\\",
"_required_": false,
"type": "string",
"description": "`path` path on the remote SMB server. Use \"\" to separate path components"
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string",
"description": "`username` username to use for authentication"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string",
"description": "`password` password to use for authentication"
},
"options": {
"type": "object",
"properties": {
"use_kerberos": {
"type": "boolean",
"_name_": "use_kerberos",
"title": "use_kerberos",
"default": false,
"_required_": false
},
"output_format": {
"_name_": "output_format",
"title": "output_format",
"default": "SMB",
"_required_": false,
"type": "string",
"enum": [
"SMB",
"LOCAL"
]
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_required_": false,
"_attrs_order_": [
"use_kerberos",
"output_format"
]
}
},
"additionalProperties": false,
"_name_": "get_remote_acl",
"title": "get_remote_acl",
"default": {},
"_attrs_order_": [
"server",
"share",
"path",
"username",
"password",
"options"
]
}
|
Retrieves an ACL from a remote SMB server.
|
smb.status |
---|
Arguments:
{
"_name_": "info_level",
"title": "info_level",
"default": "ALL",
"type": "string",
"enum": [
"AUTH_LOG",
"ALL",
"SESSIONS",
"SHARES",
"LOCKS",
"BYTERANGE",
"NOTIFICATIONS"
],
"description": "`info_level` type of information requests. Defaults to ALL."
}
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
{
"type": "object",
"properties": {
"verbose": {
"type": "boolean",
"_name_": "verbose",
"title": "verbose",
"default": true,
"_required_": false,
"description": "`status_options` additional options to filter query results. Supported\nvalues are as follows: `verbose` gives more verbose status output"
},
"fast": {
"type": "boolean",
"_name_": "fast",
"title": "fast",
"default": false,
"_required_": false
},
"restrict_user": {
"_name_": "restrict_user",
"title": "restrict_user",
"default": "",
"_required_": false,
"type": "string"
},
"restrict_session": {
"_name_": "restrict_session",
"title": "restrict_session",
"default": "",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status_options",
"title": "status_options",
"default": {},
"_attrs_order_": [
"verbose",
"fast",
"restrict_user",
"restrict_session"
],
"description": "`status_options` additional options to filter query results. Supported\nvalues are as follows: `verbose` gives more verbose status output"
}
|
Returns SMB server status (sessions, open files, locks, notifications).
|
smb.unixcharset_choices |
---|
- |
smb.update |
---|
Arguments:
{
"type": "object",
"properties": {
"netbiosname": {
"_name_": "netbiosname",
"title": "netbiosname",
"_required_": false,
"type": "string",
"description": "`netbiosname` defaults to the original hostname of the system.\n`workgroup` specifies the NetBIOS workgroup to which the TrueNAS server belongs. This will be automatically\nset to the correct value during the process of joining an AD domain. `workgroup` and `netbiosname` should have different values."
},
"netbiosname_b": {
"_name_": "netbiosname_b",
"title": "netbiosname_b",
"_required_": false,
"type": "string"
},
"netbiosalias": {
"_name_": "netbiosalias",
"title": "netbiosalias",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "netbios_alias",
"title": "netbios_alias",
"_required_": false,
"type": "string"
}
],
"description": "`netbiosalias` a list of netbios aliases. If Server is joined to an AD domain, additional Kerberos\nService Principal Names will be generated for these aliases."
},
"workgroup": {
"_name_": "workgroup",
"title": "workgroup",
"_required_": false,
"type": "string",
"description": "`workgroup` specifies the NetBIOS workgroup to which the TrueNAS server belongs. This will be automatically\nset to the correct value during the process of joining an AD domain. `workgroup` and `netbiosname` should have different values."
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"enable_smb1": {
"type": "boolean",
"_name_": "enable_smb1",
"title": "enable_smb1",
"_required_": false,
"description": "`enable_smb1` allows legacy SMB clients to connect to the server when enabled."
},
"unixcharset": {
"_name_": "unixcharset",
"title": "unixcharset",
"_required_": false,
"type": "string"
},
"loglevel": {
"_name_": "loglevel",
"title": "loglevel",
"_required_": false,
"type": "string",
"enum": [
"NONE",
"MINIMUM",
"NORMAL",
"FULL",
"DEBUG"
]
},
"syslog": {
"type": "boolean",
"_name_": "syslog",
"title": "syslog",
"_required_": false
},
"aapl_extensions": {
"type": "boolean",
"_name_": "aapl_extensions",
"title": "aapl_extensions",
"_required_": false,
"description": "`aapl_extensions` enables support for SMB2 protocol extensions for MacOS clients. This is not a requirement for MacOS support,\nbut is currently a requirement for time machine support."
},
"localmaster": {
"type": "boolean",
"_name_": "localmaster",
"title": "localmaster",
"_required_": false,
"description": "`localmaster` when set, determines if the system participates in a browser election."
},
"guest": {
"_name_": "guest",
"title": "guest",
"_required_": false,
"type": "string",
"description": "`guest` attribute is specified to select the account to be used for guest access. It defaults to \"nobody\"."
},
"admin_group": {
"_name_": "admin_group",
"title": "admin_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "The group specified as the SMB `admin_group` will be automatically added as a foreign group member of S-1-5-32-544 (builtin\u0007dmins).\nThis will afford the group all privileges granted to a local admin. Any SMB group may be selected (including AD groups)."
},
"filemask": {
"_name_": "filemask",
"title": "filemask",
"_required_": false,
"type": "string"
},
"dirmask": {
"_name_": "dirmask",
"title": "dirmask",
"_required_": false,
"type": "string"
},
"ntlmv1_auth": {
"type": "boolean",
"_name_": "ntlmv1_auth",
"title": "ntlmv1_auth",
"_required_": false,
"description": "`ntlmv1_auth` enables a legacy and insecure authentication method, which may be required for legacy or poorly-implemented\nSMB clients."
},
"multichannel": {
"type": "boolean",
"_name_": "multichannel",
"title": "multichannel",
"default": false,
"_required_": false
},
"bindip": {
"_name_": "bindip",
"title": "bindip",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "ip",
"title": "ip",
"_required_": false,
"type": "string"
}
]
},
"smb_options": {
"_name_": "smb_options",
"title": "smb_options",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "smb_update",
"title": "smb_update",
"default": {},
"_attrs_order_": [
"netbiosname",
"netbiosname_b",
"netbiosalias",
"workgroup",
"description",
"enable_smb1",
"unixcharset",
"loglevel",
"syslog",
"aapl_extensions",
"localmaster",
"guest",
"admin_group",
"filemask",
"dirmask",
"ntlmv1_auth",
"multichannel",
"bindip",
"smb_options"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_update_returns",
"title": "smb_entry",
"default": {},
"_attrs_order_": []
}
|
Update SMB Service Configuration.
The group specified as the SMB
|
smb.sharesec.create |
---|
Arguments:
{
"type": "object",
"properties": {
"share_name": {
"_name_": "share_name",
"title": "share_name",
"_required_": true,
"type": "string",
"description": "`share_name` - name of SMB share."
},
"share_acl": {
"_name_": "share_acl",
"title": "share_acl",
"default": [
{
"ae_who_sid": "S-1-1-0",
"ae_perm": "FULL",
"ae_type": "ALLOWED"
}
],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"ae_who_sid": {
"_name_": "ae_who_sid",
"title": "ae_who_sid",
"default": null,
"_required_": false,
"type": "string"
},
"ae_who_name": {
"type": "object",
"properties": {
"domain": {
"_name_": "domain",
"title": "domain",
"default": "",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"default": "",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ae_who_name",
"title": "ae_who_name",
"default": null,
"_required_": false,
"_attrs_order_": [
"domain",
"name"
]
},
"ae_perm": {
"_name_": "ae_perm",
"title": "ae_perm",
"_required_": false,
"type": "string",
"enum": [
"FULL",
"CHANGE",
"READ"
]
},
"ae_type": {
"_name_": "ae_type",
"title": "ae_type",
"_required_": false,
"type": "string",
"enum": [
"ALLOWED",
"DENIED"
]
}
},
"additionalProperties": false,
"_name_": "aclentry",
"title": "aclentry",
"default": {},
"_required_": false,
"_attrs_order_": [
"ae_who_sid",
"ae_who_name",
"ae_perm",
"ae_type"
]
}
],
"description": "`share_acl` a list of ACL entries (dictionaries) with the following keys:"
}
},
"additionalProperties": false,
"_name_": "smbsharesec_create",
"title": "smbsharesec_create",
"default": {},
"_attrs_order_": [
"share_name",
"share_acl"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_sharesec_create_returns",
"title": "smb_sharesec_entry",
"default": {},
"_attrs_order_": []
}
|
Update the ACL on a given SMB share. Will write changes to both
/var/db/system/samba4/share_info.tdb and the configuration file.
Since an SMB share will always have an ACL present, there is little
distinction between the
|
smb.sharesec.delete |
---|
Arguments:
{
"_name_": "id_or_name",
"title": "id_or_name",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Replace share ACL for the specified SMB share with the samba default ACL of S-1-1-0/FULL (Everyone - Full Control). In this case, access will be fully determined by the underlying filesystem ACLs and smb4.conf parameters governing access control and permissions. Share can be deleted by name or numerical by numerical index. |
smb.sharesec.getacl |
---|
Arguments:
{
"_name_": "share_name",
"title": "share_name",
"type": "string",
"description": "View the ACL information for `share_name`. The share ACL is distinct from filesystem\nACLs which can be viewed by calling `filesystem.getacl`. `ae_who_name` will appear\nas `None` if the SMB service is stopped or if winbind is unable to resolve the SID\nto a name."
}
{
"type": "object",
"properties": {
"resolve_sids": {
"type": "boolean",
"_name_": "resolve_sids",
"title": "resolve_sids",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"resolve_sids"
]
}
|
View the ACL information for If the |
smb.sharesec.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_sharesec_entry",
"title": "smb_sharesec_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_sharesec_entry",
"title": "smb_sharesec_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_sharesec_entry",
"title": "smb_sharesec_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Use query-filters to search the SMB share ACLs present on server. |
smb.sharesec.synchronize_acls |
---|
Synchronize the share ACL stored in the config database with Samba's running configuration as reflected in the share_info.tdb file. The only situation in which the configuration stored in the database will overwrite samba's running configuration is if share_info.tdb is empty. Samba fakes a single S-1-1-0:ALLOW/0x0/FULL entry in the absence of an entry for a share in share_info.tdb. |
smb.sharesec.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update the ACL on the share specified by the numerical index `id`. Will write changes\nto both /var/db/system/samba4/share_info.tdb and the configuration file.\nUpdate the ACL on a given SMB share. Will write changes to both\n/var/db/system/samba4/share_info.tdb and the configuration file.\nSince an SMB share will _always_ have an ACL present, there is little\ndistinction between the `create` and `update` methods apart from arguments."
}
{
"type": "object",
"properties": {
"share_acl": {
"_name_": "share_acl",
"title": "share_acl",
"default": [
{
"ae_who_sid": "S-1-1-0",
"ae_perm": "FULL",
"ae_type": "ALLOWED"
}
],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"ae_who_sid": {
"_name_": "ae_who_sid",
"title": "ae_who_sid",
"default": null,
"_required_": false,
"type": "string"
},
"ae_who_name": {
"type": "object",
"properties": {
"domain": {
"_name_": "domain",
"title": "domain",
"default": "",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"default": "",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ae_who_name",
"title": "ae_who_name",
"default": null,
"_required_": false,
"_attrs_order_": [
"domain",
"name"
]
},
"ae_perm": {
"_name_": "ae_perm",
"title": "ae_perm",
"_required_": false,
"type": "string",
"enum": [
"FULL",
"CHANGE",
"READ"
]
},
"ae_type": {
"_name_": "ae_type",
"title": "ae_type",
"_required_": false,
"type": "string",
"enum": [
"ALLOWED",
"DENIED"
]
}
},
"additionalProperties": false,
"_name_": "aclentry",
"title": "aclentry",
"default": {},
"_required_": false,
"_attrs_order_": [
"ae_who_sid",
"ae_who_name",
"ae_perm",
"ae_type"
]
}
],
"description": "`share_acl` a list of ACL entries (dictionaries) with the following keys:"
}
},
"additionalProperties": false,
"_name_": "smbsharesec_update",
"title": "smbsharesec_update",
"default": {},
"_attrs_order_": [
"share_acl"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_sharesec_update_returns",
"title": "smb_sharesec_entry",
"default": {},
"_attrs_order_": []
}
|
Update the ACL on the share specified by the numerical index |
snmp.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"contact": {
"_name_": "contact",
"title": "contact",
"_required_": true,
"type": "string"
},
"traps": {
"type": "boolean",
"_name_": "traps",
"title": "traps",
"_required_": true
},
"v3": {
"type": "boolean",
"_name_": "v3",
"title": "v3",
"_required_": true
},
"community": {
"_name_": "community",
"title": "community",
"default": "public",
"_required_": true,
"type": "string"
},
"v3_username": {
"_name_": "v3_username",
"title": "v3_username",
"_required_": true,
"type": "string"
},
"v3_authtype": {
"_name_": "v3_authtype",
"title": "v3_authtype",
"_required_": true,
"type": "string",
"enum": [
"",
"MD5",
"SHA"
]
},
"v3_password": {
"_name_": "v3_password",
"title": "v3_password",
"_required_": true,
"type": "string"
},
"v3_privproto": {
"_name_": "v3_privproto",
"title": "v3_privproto",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
null,
"AES",
"DES"
]
},
"v3_privpassphrase": {
"_name_": "v3_privpassphrase",
"title": "v3_privpassphrase",
"_required_": true,
"type": [
"string",
"null"
]
},
"loglevel": {
"type": "integer",
"_name_": "loglevel",
"title": "loglevel",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"zilstat": {
"type": "boolean",
"_name_": "zilstat",
"title": "zilstat",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "snmp_entry",
"title": "snmp_entry",
"default": {},
"_attrs_order_": [
"location",
"contact",
"traps",
"v3",
"community",
"v3_username",
"v3_authtype",
"v3_password",
"v3_privproto",
"v3_privpassphrase",
"loglevel",
"options",
"zilstat",
"id"
]
}
|
- |
snmp.update |
---|
Arguments:
{
"type": "object",
"properties": {
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"contact": {
"_name_": "contact",
"title": "contact",
"_required_": true,
"type": "string"
},
"traps": {
"type": "boolean",
"_name_": "traps",
"title": "traps",
"_required_": true
},
"v3": {
"type": "boolean",
"_name_": "v3",
"title": "v3",
"_required_": true,
"description": "`v3` when set enables SNMP version 3."
},
"community": {
"_name_": "community",
"title": "community",
"default": "public",
"_required_": true,
"type": "string"
},
"v3_username": {
"_name_": "v3_username",
"title": "v3_username",
"_required_": true,
"type": "string"
},
"v3_authtype": {
"_name_": "v3_authtype",
"title": "v3_authtype",
"_required_": true,
"type": "string",
"enum": [
"",
"MD5",
"SHA"
]
},
"v3_password": {
"_name_": "v3_password",
"title": "v3_password",
"_required_": true,
"type": "string"
},
"v3_privproto": {
"_name_": "v3_privproto",
"title": "v3_privproto",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
null,
"AES",
"DES"
]
},
"v3_privpassphrase": {
"_name_": "v3_privpassphrase",
"title": "v3_privpassphrase",
"_required_": true,
"type": [
"string",
"null"
]
},
"loglevel": {
"type": "integer",
"_name_": "loglevel",
"title": "loglevel",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"zilstat": {
"type": "boolean",
"_name_": "zilstat",
"title": "zilstat",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "snmp_update",
"title": "snmp_entry",
"default": {},
"_attrs_order_": [
"location",
"contact",
"traps",
"v3",
"community",
"v3_username",
"v3_authtype",
"v3_password",
"v3_privproto",
"v3_privpassphrase",
"loglevel",
"options",
"zilstat"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"contact": {
"_name_": "contact",
"title": "contact",
"_required_": true,
"type": "string"
},
"traps": {
"type": "boolean",
"_name_": "traps",
"title": "traps",
"_required_": true
},
"v3": {
"type": "boolean",
"_name_": "v3",
"title": "v3",
"_required_": true,
"description": "`v3` when set enables SNMP version 3."
},
"community": {
"_name_": "community",
"title": "community",
"default": "public",
"_required_": true,
"type": "string"
},
"v3_username": {
"_name_": "v3_username",
"title": "v3_username",
"_required_": true,
"type": "string"
},
"v3_authtype": {
"_name_": "v3_authtype",
"title": "v3_authtype",
"_required_": true,
"type": "string",
"enum": [
"",
"MD5",
"SHA"
]
},
"v3_password": {
"_name_": "v3_password",
"title": "v3_password",
"_required_": true,
"type": "string"
},
"v3_privproto": {
"_name_": "v3_privproto",
"title": "v3_privproto",
"_required_": true,
"type": [
"string",
"null"
],
"enum": [
null,
"AES",
"DES"
]
},
"v3_privpassphrase": {
"_name_": "v3_privpassphrase",
"title": "v3_privpassphrase",
"_required_": true,
"type": [
"string",
"null"
]
},
"loglevel": {
"type": "integer",
"_name_": "loglevel",
"title": "loglevel",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"zilstat": {
"type": "boolean",
"_name_": "zilstat",
"title": "zilstat",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "snmp_update_returns",
"title": "snmp_entry",
"default": {},
"_attrs_order_": [
"location",
"contact",
"traps",
"v3",
"community",
"v3_username",
"v3_authtype",
"v3_password",
"v3_privproto",
"v3_privpassphrase",
"loglevel",
"options",
"zilstat",
"id"
]
}
|
Update SNMP Service Configuration.
|
ssh.bindiface_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ssh_bind_interfaces_choices",
"title": "ssh_bind_interfaces_choices",
"default": {},
"_attrs_order_": []
}
|
Available choices for the bindiface attribute of SSH service. |
ssh.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"bindiface": {
"_name_": "bindiface",
"title": "bindiface",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "iface",
"title": "iface",
"_required_": false,
"type": "string"
}
]
},
"tcpport": {
"type": "integer",
"_name_": "tcpport",
"title": "tcpport",
"_required_": true
},
"rootlogin": {
"type": "boolean",
"_name_": "rootlogin",
"title": "rootlogin",
"_required_": true
},
"passwordauth": {
"type": "boolean",
"_name_": "passwordauth",
"title": "passwordauth",
"_required_": true
},
"kerberosauth": {
"type": "boolean",
"_name_": "kerberosauth",
"title": "kerberosauth",
"_required_": true
},
"tcpfwd": {
"type": "boolean",
"_name_": "tcpfwd",
"title": "tcpfwd",
"_required_": true
},
"compression": {
"type": "boolean",
"_name_": "compression",
"title": "compression",
"_required_": true
},
"sftp_log_level": {
"_name_": "sftp_log_level",
"title": "sftp_log_level",
"_required_": true,
"type": "string",
"enum": [
"",
"QUIET",
"FATAL",
"ERROR",
"INFO",
"VERBOSE",
"DEBUG",
"DEBUG2",
"DEBUG3"
]
},
"sftp_log_facility": {
"_name_": "sftp_log_facility",
"title": "sftp_log_facility",
"_required_": true,
"type": "string",
"enum": [
"",
"DAEMON",
"USER",
"AUTH",
"LOCAL0",
"LOCAL1",
"LOCAL2",
"LOCAL3",
"LOCAL4",
"LOCAL5",
"LOCAL6",
"LOCAL7"
]
},
"weak_ciphers": {
"_name_": "weak_ciphers",
"title": "weak_ciphers",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "cipher",
"title": "cipher",
"_required_": false,
"type": "string",
"enum": [
"AES128-CBC",
"NONE"
]
}
]
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": true,
"type": "string"
},
"host_dsa_key": {
"_name_": "host_dsa_key",
"title": "host_dsa_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_dsa_key_pub": {
"_name_": "host_dsa_key_pub",
"title": "host_dsa_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_dsa_key_cert_pub": {
"_name_": "host_dsa_key_cert_pub",
"title": "host_dsa_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ecdsa_key": {
"_name_": "host_ecdsa_key",
"title": "host_ecdsa_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ecdsa_key_pub": {
"_name_": "host_ecdsa_key_pub",
"title": "host_ecdsa_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ecdsa_key_cert_pub": {
"_name_": "host_ecdsa_key_cert_pub",
"title": "host_ecdsa_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ed25519_key": {
"_name_": "host_ed25519_key",
"title": "host_ed25519_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ed25519_key_pub": {
"_name_": "host_ed25519_key_pub",
"title": "host_ed25519_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ed25519_key_cert_pub": {
"_name_": "host_ed25519_key_cert_pub",
"title": "host_ed25519_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_key": {
"_name_": "host_key",
"title": "host_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_key_pub": {
"_name_": "host_key_pub",
"title": "host_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_rsa_key": {
"_name_": "host_rsa_key",
"title": "host_rsa_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_rsa_key_pub": {
"_name_": "host_rsa_key_pub",
"title": "host_rsa_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_rsa_key_cert_pub": {
"_name_": "host_rsa_key_cert_pub",
"title": "host_rsa_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ssh_entry",
"title": "ssh_entry",
"default": {},
"_attrs_order_": [
"bindiface",
"tcpport",
"rootlogin",
"passwordauth",
"kerberosauth",
"tcpfwd",
"compression",
"sftp_log_level",
"sftp_log_facility",
"weak_ciphers",
"options",
"privatekey",
"host_dsa_key",
"host_dsa_key_pub",
"host_dsa_key_cert_pub",
"host_ecdsa_key",
"host_ecdsa_key_pub",
"host_ecdsa_key_cert_pub",
"host_ed25519_key",
"host_ed25519_key_pub",
"host_ed25519_key_cert_pub",
"host_key",
"host_key_pub",
"host_rsa_key",
"host_rsa_key_pub",
"host_rsa_key_cert_pub",
"id"
]
}
|
- |
ssh.update |
---|
Arguments:
{
"type": "object",
"properties": {
"bindiface": {
"_name_": "bindiface",
"title": "bindiface",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "iface",
"title": "iface",
"_required_": false,
"type": "string"
}
],
"description": "If `bindiface` is empty it will listen for all available addresses."
},
"tcpport": {
"type": "integer",
"_name_": "tcpport",
"title": "tcpport",
"_required_": true
},
"rootlogin": {
"type": "boolean",
"_name_": "rootlogin",
"title": "rootlogin",
"_required_": true
},
"passwordauth": {
"type": "boolean",
"_name_": "passwordauth",
"title": "passwordauth",
"_required_": true
},
"kerberosauth": {
"type": "boolean",
"_name_": "kerberosauth",
"title": "kerberosauth",
"_required_": true
},
"tcpfwd": {
"type": "boolean",
"_name_": "tcpfwd",
"title": "tcpfwd",
"_required_": true
},
"compression": {
"type": "boolean",
"_name_": "compression",
"title": "compression",
"_required_": true
},
"sftp_log_level": {
"_name_": "sftp_log_level",
"title": "sftp_log_level",
"_required_": true,
"type": "string",
"enum": [
"",
"QUIET",
"FATAL",
"ERROR",
"INFO",
"VERBOSE",
"DEBUG",
"DEBUG2",
"DEBUG3"
]
},
"sftp_log_facility": {
"_name_": "sftp_log_facility",
"title": "sftp_log_facility",
"_required_": true,
"type": "string",
"enum": [
"",
"DAEMON",
"USER",
"AUTH",
"LOCAL0",
"LOCAL1",
"LOCAL2",
"LOCAL3",
"LOCAL4",
"LOCAL5",
"LOCAL6",
"LOCAL7"
]
},
"weak_ciphers": {
"_name_": "weak_ciphers",
"title": "weak_ciphers",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "cipher",
"title": "cipher",
"_required_": false,
"type": "string",
"enum": [
"AES128-CBC",
"NONE"
]
}
]
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ssh_update",
"title": "ssh_entry",
"default": {},
"_attrs_order_": [
"bindiface",
"tcpport",
"rootlogin",
"passwordauth",
"kerberosauth",
"tcpfwd",
"compression",
"sftp_log_level",
"sftp_log_facility",
"weak_ciphers",
"options"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"bindiface": {
"_name_": "bindiface",
"title": "bindiface",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "iface",
"title": "iface",
"_required_": false,
"type": "string"
}
],
"description": "If `bindiface` is empty it will listen for all available addresses."
},
"tcpport": {
"type": "integer",
"_name_": "tcpport",
"title": "tcpport",
"_required_": true
},
"rootlogin": {
"type": "boolean",
"_name_": "rootlogin",
"title": "rootlogin",
"_required_": true
},
"passwordauth": {
"type": "boolean",
"_name_": "passwordauth",
"title": "passwordauth",
"_required_": true
},
"kerberosauth": {
"type": "boolean",
"_name_": "kerberosauth",
"title": "kerberosauth",
"_required_": true
},
"tcpfwd": {
"type": "boolean",
"_name_": "tcpfwd",
"title": "tcpfwd",
"_required_": true
},
"compression": {
"type": "boolean",
"_name_": "compression",
"title": "compression",
"_required_": true
},
"sftp_log_level": {
"_name_": "sftp_log_level",
"title": "sftp_log_level",
"_required_": true,
"type": "string",
"enum": [
"",
"QUIET",
"FATAL",
"ERROR",
"INFO",
"VERBOSE",
"DEBUG",
"DEBUG2",
"DEBUG3"
]
},
"sftp_log_facility": {
"_name_": "sftp_log_facility",
"title": "sftp_log_facility",
"_required_": true,
"type": "string",
"enum": [
"",
"DAEMON",
"USER",
"AUTH",
"LOCAL0",
"LOCAL1",
"LOCAL2",
"LOCAL3",
"LOCAL4",
"LOCAL5",
"LOCAL6",
"LOCAL7"
]
},
"weak_ciphers": {
"_name_": "weak_ciphers",
"title": "weak_ciphers",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "cipher",
"title": "cipher",
"_required_": false,
"type": "string",
"enum": [
"AES128-CBC",
"NONE"
]
}
]
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": true,
"type": "string"
},
"host_dsa_key": {
"_name_": "host_dsa_key",
"title": "host_dsa_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_dsa_key_pub": {
"_name_": "host_dsa_key_pub",
"title": "host_dsa_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_dsa_key_cert_pub": {
"_name_": "host_dsa_key_cert_pub",
"title": "host_dsa_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ecdsa_key": {
"_name_": "host_ecdsa_key",
"title": "host_ecdsa_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ecdsa_key_pub": {
"_name_": "host_ecdsa_key_pub",
"title": "host_ecdsa_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ecdsa_key_cert_pub": {
"_name_": "host_ecdsa_key_cert_pub",
"title": "host_ecdsa_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ed25519_key": {
"_name_": "host_ed25519_key",
"title": "host_ed25519_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ed25519_key_pub": {
"_name_": "host_ed25519_key_pub",
"title": "host_ed25519_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_ed25519_key_cert_pub": {
"_name_": "host_ed25519_key_cert_pub",
"title": "host_ed25519_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_key": {
"_name_": "host_key",
"title": "host_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_key_pub": {
"_name_": "host_key_pub",
"title": "host_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_rsa_key": {
"_name_": "host_rsa_key",
"title": "host_rsa_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_rsa_key_pub": {
"_name_": "host_rsa_key_pub",
"title": "host_rsa_key_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"host_rsa_key_cert_pub": {
"_name_": "host_rsa_key_cert_pub",
"title": "host_rsa_key_cert_pub",
"_required_": true,
"type": [
"string",
"null"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ssh_update_returns",
"title": "ssh_entry",
"default": {},
"_attrs_order_": [
"bindiface",
"tcpport",
"rootlogin",
"passwordauth",
"kerberosauth",
"tcpfwd",
"compression",
"sftp_log_level",
"sftp_log_facility",
"weak_ciphers",
"options",
"privatekey",
"host_dsa_key",
"host_dsa_key_pub",
"host_dsa_key_cert_pub",
"host_ecdsa_key",
"host_ecdsa_key_pub",
"host_ecdsa_key_cert_pub",
"host_ed25519_key",
"host_ed25519_key_pub",
"host_ed25519_key_cert_pub",
"host_key",
"host_key_pub",
"host_rsa_key",
"host_rsa_key_pub",
"host_rsa_key_cert_pub",
"id"
]
}
|
Update settings of SSH daemon service. If |
Make sshd listen only to igb0 interface.
|
staticroute.create |
---|
Arguments:
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "staticroute_create",
"title": "staticroute_entry",
"default": {},
"_attrs_order_": [
"destination",
"gateway",
"description"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "staticroute_create_returns",
"title": "staticroute_entry",
"default": {},
"_attrs_order_": [
"destination",
"gateway",
"description",
"id"
]
}
|
Create a Static Route. Address families of
|
staticroute.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Static Route of |
staticroute.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "staticroute_entry",
"title": "staticroute_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"destination",
"gateway",
"description",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "staticroute_entry",
"title": "staticroute_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"destination",
"gateway",
"description",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "staticroute_entry",
"title": "staticroute_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"destination",
"gateway",
"description",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
staticroute.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Static Route of `id`.\nCreate a Static Route."
}
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "staticroute_update",
"title": "staticroute_entry",
"default": {},
"_attrs_order_": [
"destination",
"gateway",
"description"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string",
"description": "Address families of `gateway` and `destination` should match when creating a static route."
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true,
"description": "Update Static Route of `id`.\nCreate a Static Route."
}
},
"additionalProperties": false,
"_name_": "staticroute_update_returns",
"title": "staticroute_entry",
"default": {},
"_attrs_order_": [
"destination",
"gateway",
"description",
"id"
]
}
|
Update Static Route of |
stats.get_data |
---|
Arguments:
{
"_name_": "stats_list",
"title": "stats_list",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
},
"cf": {
"_name_": "cf",
"title": "cf",
"default": "AVERAGE",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "stats-data",
"title": "stats-data",
"default": {},
"_required_": false,
"_attrs_order_": [
"source",
"type",
"dataset",
"cf"
]
}
]
}
{
"type": "object",
"properties": {
"step": {
"type": "integer",
"_name_": "step",
"title": "step",
"default": 10,
"_required_": false
},
"start": {
"_name_": "start",
"title": "start",
"default": "now-1h",
"_required_": false,
"type": "string"
},
"end": {
"_name_": "end",
"title": "end",
"default": "now",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "stats-filter",
"title": "stats-filter",
"default": {},
"_attrs_order_": [
"step",
"start",
"end"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"about": {
"_name_": "about",
"title": "about",
"_required_": true,
"type": "string"
},
"meta": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "meta",
"title": "meta",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "stats_data",
"title": "stats_data",
"default": {},
"_attrs_order_": [
"about",
"meta",
"data"
]
}
|
Get data points from rrd files. |
stats.get_dataset_info |
---|
Arguments:
{
"_name_": "source",
"title": "source",
"type": "string"
}
{
"_name_": "type",
"title": "type",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"source": {
"_name_": "source",
"title": "source",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"datasets": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "datasets",
"title": "datasets",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"step": {
"type": "integer",
"_name_": "step",
"title": "step",
"_required_": false
},
"last_update": {
"type": "integer",
"_name_": "last_update",
"title": "last_update",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "dataset_info",
"title": "dataset_info",
"default": {},
"_attrs_order_": [
"source",
"type",
"datasets",
"step",
"last_update"
]
}
|
Returns info about a given dataset from some source. |
stats.get_sources |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "stats_sources",
"title": "stats_sources",
"default": {},
"_attrs_order_": []
}
|
Returns an object with all available sources tried with metric datasets. |
support.attach_ticket |
---|
Arguments:
{
"type": "object",
"properties": {
"ticket": {
"type": "integer",
"_name_": "ticket",
"title": "ticket",
"_required_": true
},
"filename": {
"_name_": "filename",
"title": "filename",
"_required_": true,
"type": "string"
},
"token": {
"_name_": "token",
"title": "token",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "attach_ticket",
"title": "attach_ticket",
"default": {},
"_attrs_order_": [
"ticket",
"filename",
"token"
]
}
|
Method to attach a file to a existing ticket. |
support.attach_ticket_max_size |
---|
Return Arguments:
{
"type": "integer",
"_name_": "attach_ticket_max_size",
"title": "attach_ticket_max_size"
}
|
Returns maximum uploaded file size for |
support.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": [
"boolean",
"null"
],
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"_required_": true,
"type": "string"
},
"phone": {
"_name_": "phone",
"title": "phone",
"_required_": true,
"type": "string"
},
"secondary_name": {
"_name_": "secondary_name",
"title": "secondary_name",
"_required_": true,
"type": "string"
},
"secondary_title": {
"_name_": "secondary_title",
"title": "secondary_title",
"_required_": true,
"type": "string"
},
"secondary_email": {
"_name_": "secondary_email",
"title": "secondary_email",
"_required_": true,
"type": "string"
},
"secondary_phone": {
"_name_": "secondary_phone",
"title": "secondary_phone",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "support_entry",
"title": "support_entry",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"title",
"email",
"phone",
"secondary_name",
"secondary_title",
"secondary_email",
"secondary_phone",
"id"
]
}
|
- |
support.fetch_categories |
---|
Arguments:
{
"_name_": "token",
"title": "token",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "fetch_categories",
"title": "fetch_categories",
"description": "\n\nExample(s):\n```\n{\n \"API\": \"11008\",\n \"WebUI\": \"10004\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Fetch issue categories using access token |
support.fields |
---|
Return Arguments:
{
"_name_": "support_fields",
"title": "support_fields",
"default": [],
"type": "array",
"items": [
{
"_name_": "support_field",
"title": "support_field",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "field",
"title": "field",
"_required_": false,
"type": "string"
}
]
}
]
}
|
Returns list of pairs of field names and field titles for Proactive Support. |
support.is_available |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "proactive_support_is_available",
"title": "proactive_support_is_available"
}
|
Returns whether Proactive Support is available for this product type and current license. |
support.is_available_and_enabled |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "proactive_support_is_available_and_enabled",
"title": "proactive_support_is_available_and_enabled"
}
|
Returns whether Proactive Support is available and enabled. |
support.new_ticket
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"title": {
"_name_": "title",
"title": "title",
"_required_": true,
"type": "string"
},
"body": {
"_name_": "body",
"title": "body",
"_required_": true,
"type": "string"
},
"category": {
"_name_": "category",
"title": "category",
"_required_": true,
"type": "string"
},
"attach_debug": {
"type": "boolean",
"_name_": "attach_debug",
"title": "attach_debug",
"default": false,
"_required_": false
},
"token": {
"_name_": "token",
"title": "token",
"_required_": false,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"BUG",
"FEATURE"
]
},
"criticality": {
"_name_": "criticality",
"title": "criticality",
"_required_": false,
"type": "string",
"description": "For SCALE `criticality`, `environment`, `phone`, `name` and `email` attributes are not required."
},
"environment": {
"_name_": "environment",
"title": "environment",
"_required_": false,
"type": "string",
"description": "For SCALE `criticality`, `environment`, `phone`, `name` and `email` attributes are not required."
},
"phone": {
"_name_": "phone",
"title": "phone",
"_required_": false,
"type": "string",
"description": "For SCALE `criticality`, `environment`, `phone`, `name` and `email` attributes are not required."
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string",
"description": "For SCALE `criticality`, `environment`, `phone`, `name` and `email` attributes are not required."
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": "string",
"description": "For SCALE `criticality`, `environment`, `phone`, `name` and `email` attributes are not required."
},
"cc": {
"_name_": "cc",
"title": "cc",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "email",
"title": "email",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "new_ticket",
"title": "new_ticket",
"default": {},
"_attrs_order_": [
"title",
"body",
"category",
"attach_debug",
"token",
"type",
"criticality",
"environment",
"phone",
"name",
"email",
"cc"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"ticket": {
"type": [
"integer",
"null"
],
"_name_": "ticket",
"title": "ticket",
"_required_": false
},
"url": {
"_name_": "url",
"title": "url",
"_required_": false,
"type": [
"string",
"null"
]
},
"has_debug": {
"type": "boolean",
"_name_": "has_debug",
"title": "has_debug",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "new_ticket_response",
"title": "new_ticket_response",
"default": {},
"_attrs_order_": [
"ticket",
"url",
"has_debug"
]
}
|
Creates a new ticket for support. This is done using the support proxy API. For TrueNAS SCALE it will be created on JIRA and for TrueNAS SCALE Enterprise on Salesforce. For SCALE |
support.update |
---|
Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": [
"boolean",
"null"
],
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"_required_": true,
"type": "string"
},
"phone": {
"_name_": "phone",
"title": "phone",
"_required_": true,
"type": "string"
},
"secondary_name": {
"_name_": "secondary_name",
"title": "secondary_name",
"_required_": true,
"type": "string"
},
"secondary_title": {
"_name_": "secondary_title",
"title": "secondary_title",
"_required_": true,
"type": "string"
},
"secondary_email": {
"_name_": "secondary_email",
"title": "secondary_email",
"_required_": true,
"type": "string"
},
"secondary_phone": {
"_name_": "secondary_phone",
"title": "secondary_phone",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "support_update",
"title": "support_entry",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"title",
"email",
"phone",
"secondary_name",
"secondary_title",
"secondary_email",
"secondary_phone"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": [
"boolean",
"null"
],
"_name_": "enabled",
"title": "enabled",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"_required_": true,
"type": "string"
},
"phone": {
"_name_": "phone",
"title": "phone",
"_required_": true,
"type": "string"
},
"secondary_name": {
"_name_": "secondary_name",
"title": "secondary_name",
"_required_": true,
"type": "string"
},
"secondary_title": {
"_name_": "secondary_title",
"title": "secondary_title",
"_required_": true,
"type": "string"
},
"secondary_email": {
"_name_": "secondary_email",
"title": "secondary_email",
"_required_": true,
"type": "string"
},
"secondary_phone": {
"_name_": "secondary_phone",
"title": "secondary_phone",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "support_update_returns",
"title": "support_entry",
"default": {},
"_attrs_order_": [
"enabled",
"name",
"title",
"email",
"phone",
"secondary_name",
"secondary_title",
"secondary_email",
"secondary_phone",
"id"
]
}
|
Update Proactive Support settings. |
system.boot_id |
---|
Return Arguments:
{
"_name_": "system_boot_identifier",
"title": "system_boot_identifier",
"type": "string"
}
|
Returns an unique boot identifier. It is supposed to be unique every system boot. |
system.build_time |
---|
Return Arguments:
{
"_name_": "system_build_time",
"title": "system_build_time",
"type": "string"
}
|
Retrieve build time of the system. |
system.debug |
---|
Job to stream debug file. This method is meant to be used in conjuntion with |
system.environment |
---|
Return Arguments:
{
"_name_": "product_running_environment",
"title": "product_running_environment",
"type": "string",
"enum": [
"DEFAULT",
"EC2"
]
}
|
Return environment in which product is running. Possible values: - DEFAULT - EC2 |
system.feature_enabled |
---|
Arguments:
{
"_name_": "feature",
"title": "feature",
"type": "string",
"enum": [
"DEDUP",
"FIBRECHANNEL",
"VM"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "feature_enabled",
"title": "feature_enabled"
}
|
Returns whether the |
system.host_id |
---|
Return Arguments:
{
"_name_": "system_host_identifier",
"title": "system_host_identifier",
"type": "string"
}
|
Retrieve a hex string that is generated based
on the contents of the |
system.info |
---|
Return Arguments:
{
"type": "object",
"properties": {
"version": {
"_name_": "version",
"title": "TrueNAS Version",
"_required_": true,
"type": "string"
},
"buildtime": {
"_name_": "buildtime",
"title": "TrueNAS build time",
"_required_": true,
"type": "string"
},
"hostname": {
"_name_": "hostname",
"title": "System host name",
"_required_": true,
"type": "string"
},
"physmem": {
"type": "integer",
"_name_": "physmem",
"title": "System physical memory",
"_required_": true
},
"model": {
"_name_": "model",
"title": "CPU Model",
"_required_": true,
"type": "string"
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "CPU Cores",
"_required_": true
},
"physical_cores": {
"type": "integer",
"_name_": "physical_cores",
"title": "CPU Physical Cores",
"_required_": true
},
"loadavg": {
"_name_": "loadavg",
"title": "loadavg",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"uptime": {
"_name_": "uptime",
"title": "uptime",
"_required_": true,
"type": "string"
},
"uptime_seconds": {
"type": "float",
"_name_": "uptime_seconds",
"title": "uptime_seconds",
"_required_": true
},
"system_serial": {
"_name_": "system_serial",
"title": "system_serial",
"_required_": true,
"type": [
"string",
"null"
]
},
"system_product": {
"_name_": "system_product",
"title": "system_product",
"_required_": true,
"type": [
"string",
"null"
]
},
"system_product_version": {
"_name_": "system_product_version",
"title": "system_product_version",
"_required_": true,
"type": [
"string",
"null"
]
},
"license": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "license",
"title": "license",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"boottime": {
"_name_": "boottime",
"title": "boottime",
"_required_": true,
"type": "string"
},
"datetime": {
"_name_": "datetime",
"title": "datetime",
"_required_": true,
"type": "string"
},
"birthday": {
"_name_": "birthday",
"title": "birthday",
"_required_": true,
"type": [
"string",
"null"
]
},
"timezone": {
"_name_": "timezone",
"title": "timezone",
"_required_": true,
"type": "string"
},
"system_manufacturer": {
"_name_": "system_manufacturer",
"title": "system_manufacturer",
"_required_": true,
"type": [
"string",
"null"
]
},
"ecc_memory": {
"type": "boolean",
"_name_": "ecc_memory",
"title": "ecc_memory",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "system_info",
"title": "system_info",
"default": {},
"_attrs_order_": [
"version",
"buildtime",
"hostname",
"physmem",
"model",
"cores",
"physical_cores",
"loadavg",
"uptime",
"uptime_seconds",
"system_serial",
"system_product",
"system_product_version",
"license",
"boottime",
"datetime",
"birthday",
"timezone",
"system_manufacturer",
"ecc_memory"
]
}
|
Returns basic system information. |
system.is_freenas |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "system_is_truenas_core",
"title": "system_is_truenas_core"
}
|
FreeNAS is now TrueNAS CORE. DEPRECATED: Use |
system.is_stable |
---|
Return Arguments:
{
"_name_": "is_stable",
"title": "is_stable",
"type": "string"
}
|
Returns whether software version of the system is stable. |
system.license_update |
---|
Arguments:
{
"_name_": "license",
"title": "license",
"type": "string"
}
|
Update license file. |
system.product_name |
---|
Return Arguments:
{
"_name_": "product_name",
"title": "product_name",
"type": "string"
}
|
Returns name of the product we are using. |
system.product_type |
---|
Return Arguments:
{
"_name_": "product_type",
"title": "product_type",
"type": "string"
}
|
Returns the type of the product. SCALE - TrueNAS SCALE, community version SCALE_ENTERPRISE - TrueNAS SCALE Enterprise, appliance version |
system.ready |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "system_ready",
"title": "system_ready"
}
|
Returns whether the system completed boot and is ready to use |
system.reboot
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"delay": {
"type": "integer",
"_name_": "delay",
"title": "delay",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "system-reboot",
"title": "system-reboot",
"default": {},
"_attrs_order_": [
"delay"
]
}
|
Reboots the operating system. Emits an "added" event of name "system" and id "reboot". |
system.shutdown
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"delay": {
"type": "integer",
"_name_": "delay",
"title": "delay",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "system-shutdown",
"title": "system-shutdown",
"default": {},
"_attrs_order_": [
"delay"
]
}
|
Shuts down the operating system. An "added" event of name "system" and id "shutdown" is emitted when shutdown is initiated. |
system.state |
---|
Return Arguments:
{
"_name_": "system_state",
"title": "system_state",
"type": "string",
"enum": [
"SHUTTING_DOWN",
"READY",
"BOOTING"
]
}
|
Returns system state: "BOOTING" - System is booting "READY" - System completed boot and is ready to use "SHUTTING_DOWN" - System is shutting down |
system.version |
---|
Return Arguments:
{
"_name_": "truenas_version",
"title": "truenas_version",
"type": "string"
}
|
Returns software version of the system. |
system.advanced.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"advancedmode": {
"type": "boolean",
"_name_": "advancedmode",
"title": "advancedmode",
"_required_": true
},
"autotune": {
"type": "boolean",
"_name_": "autotune",
"title": "autotune",
"_required_": true
},
"kdump_enabled": {
"type": "boolean",
"_name_": "kdump_enabled",
"title": "kdump_enabled",
"_required_": true
},
"boot_scrub": {
"type": "integer",
"_name_": "boot_scrub",
"title": "boot_scrub",
"_required_": true
},
"consolemenu": {
"type": "boolean",
"_name_": "consolemenu",
"title": "consolemenu",
"_required_": true
},
"consolemsg": {
"type": "boolean",
"_name_": "consolemsg",
"title": "consolemsg",
"_required_": true
},
"debugkernel": {
"type": "boolean",
"_name_": "debugkernel",
"title": "debugkernel",
"_required_": true
},
"fqdn_syslog": {
"type": "boolean",
"_name_": "fqdn_syslog",
"title": "fqdn_syslog",
"_required_": true
},
"motd": {
"_name_": "motd",
"title": "motd",
"_required_": true,
"type": "string"
},
"powerdaemon": {
"type": "boolean",
"_name_": "powerdaemon",
"title": "powerdaemon",
"_required_": true
},
"serialconsole": {
"type": "boolean",
"_name_": "serialconsole",
"title": "serialconsole",
"_required_": true
},
"serialport": {
"_name_": "serialport",
"title": "serialport",
"_required_": true,
"type": "string"
},
"anonstats_token": {
"_name_": "anonstats_token",
"title": "anonstats_token",
"_required_": true,
"type": "string"
},
"serialspeed": {
"_name_": "serialspeed",
"title": "serialspeed",
"_required_": true,
"type": "string",
"enum": [
"9600",
"19200",
"38400",
"57600",
"115200"
]
},
"swapondrive": {
"type": "integer",
"_name_": "swapondrive",
"title": "swapondrive",
"_required_": true
},
"overprovision": {
"type": [
"integer",
"null"
],
"_name_": "overprovision",
"title": "overprovision",
"_required_": true
},
"traceback": {
"type": "boolean",
"_name_": "traceback",
"title": "traceback",
"_required_": true
},
"uploadcrash": {
"type": "boolean",
"_name_": "uploadcrash",
"title": "uploadcrash",
"_required_": true
},
"anonstats": {
"type": "boolean",
"_name_": "anonstats",
"title": "anonstats",
"_required_": true
},
"sed_user": {
"_name_": "sed_user",
"title": "sed_user",
"_required_": true,
"type": "string",
"enum": [
"USER",
"MASTER"
]
},
"sysloglevel": {
"_name_": "sysloglevel",
"title": "sysloglevel",
"_required_": true,
"type": "string",
"enum": [
"F_EMERG",
"F_ALERT",
"F_CRIT",
"F_ERR",
"F_WARNING",
"F_NOTICE",
"F_INFO",
"F_DEBUG"
]
},
"syslogserver": {
"_name_": "syslogserver",
"title": "syslogserver",
"_required_": false,
"type": "string"
},
"syslog_transport": {
"_name_": "syslog_transport",
"title": "syslog_transport",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"TCP",
"TLS"
]
},
"syslog_tls_certificate": {
"type": [
"integer",
"null"
],
"_name_": "syslog_tls_certificate",
"title": "syslog_tls_certificate",
"_required_": true
},
"syslog_tls_certificate_authority": {
"type": [
"integer",
"null"
],
"_name_": "syslog_tls_certificate_authority",
"title": "syslog_tls_certificate_authority",
"_required_": true
},
"isolated_gpu_pci_ids": {
"_name_": "isolated_gpu_pci_ids",
"title": "isolated_gpu_pci_ids",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "pci_id",
"title": "pci_id",
"_required_": false,
"type": "string"
}
]
},
"kernel_extra_options": {
"_name_": "kernel_extra_options",
"title": "kernel_extra_options",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "system_advanced_entry",
"title": "system_advanced_entry",
"default": {},
"_attrs_order_": [
"advancedmode",
"autotune",
"kdump_enabled",
"boot_scrub",
"consolemenu",
"consolemsg",
"debugkernel",
"fqdn_syslog",
"motd",
"powerdaemon",
"serialconsole",
"serialport",
"anonstats_token",
"serialspeed",
"swapondrive",
"overprovision",
"traceback",
"uploadcrash",
"anonstats",
"sed_user",
"sysloglevel",
"syslogserver",
"syslog_transport",
"syslog_tls_certificate",
"syslog_tls_certificate_authority",
"isolated_gpu_pci_ids",
"kernel_extra_options",
"id"
]
}
|
- |
system.advanced.sed_global_password |
---|
Return Arguments:
{
"_name_": "sed_global_password",
"title": "sed_global_password",
"type": "string"
}
|
Returns configured global SED password. |
system.advanced.serial_port_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "serial_port_choices",
"title": "serial_port_choices",
"default": {},
"_attrs_order_": []
}
|
Get available choices for |
system.advanced.syslog_certificate_authority_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "syslog_certificate_authority_choices",
"title": "Syslog Certificate Authority Choices",
"default": {},
"_attrs_order_": []
}
|
Return choices of certificate authorities which can be used for |
system.advanced.syslog_certificate_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "syslog_certificate_choices",
"title": "Syslog Certificate Choices",
"default": {},
"_attrs_order_": []
}
|
Return choices of certificates which can be used for |
system.advanced.update |
---|
Arguments:
{
"type": "object",
"properties": {
"advancedmode": {
"type": "boolean",
"_name_": "advancedmode",
"title": "advancedmode",
"_required_": true
},
"autotune": {
"type": "boolean",
"_name_": "autotune",
"title": "autotune",
"_required_": true,
"description": "`autotune` when enabled executes autotune script which attempts to optimize the system based on the installed\nhardware."
},
"kdump_enabled": {
"type": "boolean",
"_name_": "kdump_enabled",
"title": "kdump_enabled",
"_required_": true
},
"boot_scrub": {
"type": "integer",
"_name_": "boot_scrub",
"title": "boot_scrub",
"_required_": true
},
"consolemenu": {
"type": "boolean",
"_name_": "consolemenu",
"title": "consolemenu",
"_required_": true,
"description": "`consolemenu` should be disabled if the menu at console is not desired. It will default to standard login\nin the console if disabled."
},
"consolemsg": {
"type": "boolean",
"_name_": "consolemsg",
"title": "consolemsg",
"_required_": true,
"description": "`consolemsg` is a deprecated attribute and will be removed in further releases. Please, use `consolemsg`\nattribute in the `system.general` plugin."
},
"debugkernel": {
"type": "boolean",
"_name_": "debugkernel",
"title": "debugkernel",
"_required_": true
},
"fqdn_syslog": {
"type": "boolean",
"_name_": "fqdn_syslog",
"title": "fqdn_syslog",
"_required_": true
},
"motd": {
"_name_": "motd",
"title": "motd",
"_required_": true,
"type": "string"
},
"powerdaemon": {
"type": "boolean",
"_name_": "powerdaemon",
"title": "powerdaemon",
"_required_": true
},
"serialconsole": {
"type": "boolean",
"_name_": "serialconsole",
"title": "serialconsole",
"_required_": true
},
"serialport": {
"_name_": "serialport",
"title": "serialport",
"_required_": true,
"type": "string"
},
"serialspeed": {
"_name_": "serialspeed",
"title": "serialspeed",
"_required_": true,
"type": "string",
"enum": [
"9600",
"19200",
"38400",
"57600",
"115200"
]
},
"swapondrive": {
"type": "integer",
"_name_": "swapondrive",
"title": "swapondrive",
"_required_": true
},
"overprovision": {
"type": [
"integer",
"null"
],
"_name_": "overprovision",
"title": "overprovision",
"_required_": true
},
"traceback": {
"type": "boolean",
"_name_": "traceback",
"title": "traceback",
"_required_": true
},
"uploadcrash": {
"type": "boolean",
"_name_": "uploadcrash",
"title": "uploadcrash",
"_required_": true
},
"anonstats": {
"type": "boolean",
"_name_": "anonstats",
"title": "anonstats",
"_required_": true
},
"sed_user": {
"_name_": "sed_user",
"title": "sed_user",
"_required_": true,
"type": "string",
"enum": [
"USER",
"MASTER"
]
},
"sysloglevel": {
"_name_": "sysloglevel",
"title": "sysloglevel",
"_required_": true,
"type": "string",
"enum": [
"F_EMERG",
"F_ALERT",
"F_CRIT",
"F_ERR",
"F_WARNING",
"F_NOTICE",
"F_INFO",
"F_DEBUG"
],
"description": "When `syslogserver` is defined, logs of `sysloglevel` or above are sent."
},
"syslogserver": {
"_name_": "syslogserver",
"title": "syslogserver",
"_required_": false,
"type": "string",
"description": "When `syslogserver` is defined, logs of `sysloglevel` or above are sent."
},
"syslog_transport": {
"_name_": "syslog_transport",
"title": "syslog_transport",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"TCP",
"TLS"
]
},
"syslog_tls_certificate": {
"type": [
"integer",
"null"
],
"_name_": "syslog_tls_certificate",
"title": "syslog_tls_certificate",
"_required_": true
},
"syslog_tls_certificate_authority": {
"type": [
"integer",
"null"
],
"_name_": "syslog_tls_certificate_authority",
"title": "syslog_tls_certificate_authority",
"_required_": true
},
"isolated_gpu_pci_ids": {
"_name_": "isolated_gpu_pci_ids",
"title": "isolated_gpu_pci_ids",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "pci_id",
"title": "pci_id",
"_required_": false,
"type": "string"
}
]
},
"kernel_extra_options": {
"_name_": "kernel_extra_options",
"title": "kernel_extra_options",
"_required_": true,
"type": "string"
},
"sed_passwd": {
"_name_": "sed_passwd",
"title": "sed_passwd",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "system_advanced_update",
"title": "system_advanced_entry",
"default": {},
"_attrs_order_": [
"advancedmode",
"autotune",
"kdump_enabled",
"boot_scrub",
"consolemenu",
"consolemsg",
"debugkernel",
"fqdn_syslog",
"motd",
"powerdaemon",
"serialconsole",
"serialport",
"serialspeed",
"swapondrive",
"overprovision",
"traceback",
"uploadcrash",
"anonstats",
"sed_user",
"sysloglevel",
"syslogserver",
"syslog_transport",
"syslog_tls_certificate",
"syslog_tls_certificate_authority",
"isolated_gpu_pci_ids",
"kernel_extra_options",
"sed_passwd"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"advancedmode": {
"type": "boolean",
"_name_": "advancedmode",
"title": "advancedmode",
"_required_": true
},
"autotune": {
"type": "boolean",
"_name_": "autotune",
"title": "autotune",
"_required_": true,
"description": "`autotune` when enabled executes autotune script which attempts to optimize the system based on the installed\nhardware."
},
"kdump_enabled": {
"type": "boolean",
"_name_": "kdump_enabled",
"title": "kdump_enabled",
"_required_": true
},
"boot_scrub": {
"type": "integer",
"_name_": "boot_scrub",
"title": "boot_scrub",
"_required_": true
},
"consolemenu": {
"type": "boolean",
"_name_": "consolemenu",
"title": "consolemenu",
"_required_": true,
"description": "`consolemenu` should be disabled if the menu at console is not desired. It will default to standard login\nin the console if disabled."
},
"consolemsg": {
"type": "boolean",
"_name_": "consolemsg",
"title": "consolemsg",
"_required_": true,
"description": "`consolemsg` is a deprecated attribute and will be removed in further releases. Please, use `consolemsg`\nattribute in the `system.general` plugin."
},
"debugkernel": {
"type": "boolean",
"_name_": "debugkernel",
"title": "debugkernel",
"_required_": true
},
"fqdn_syslog": {
"type": "boolean",
"_name_": "fqdn_syslog",
"title": "fqdn_syslog",
"_required_": true
},
"motd": {
"_name_": "motd",
"title": "motd",
"_required_": true,
"type": "string"
},
"powerdaemon": {
"type": "boolean",
"_name_": "powerdaemon",
"title": "powerdaemon",
"_required_": true
},
"serialconsole": {
"type": "boolean",
"_name_": "serialconsole",
"title": "serialconsole",
"_required_": true
},
"serialport": {
"_name_": "serialport",
"title": "serialport",
"_required_": true,
"type": "string"
},
"anonstats_token": {
"_name_": "anonstats_token",
"title": "anonstats_token",
"_required_": true,
"type": "string"
},
"serialspeed": {
"_name_": "serialspeed",
"title": "serialspeed",
"_required_": true,
"type": "string",
"enum": [
"9600",
"19200",
"38400",
"57600",
"115200"
]
},
"swapondrive": {
"type": "integer",
"_name_": "swapondrive",
"title": "swapondrive",
"_required_": true
},
"overprovision": {
"type": [
"integer",
"null"
],
"_name_": "overprovision",
"title": "overprovision",
"_required_": true
},
"traceback": {
"type": "boolean",
"_name_": "traceback",
"title": "traceback",
"_required_": true
},
"uploadcrash": {
"type": "boolean",
"_name_": "uploadcrash",
"title": "uploadcrash",
"_required_": true
},
"anonstats": {
"type": "boolean",
"_name_": "anonstats",
"title": "anonstats",
"_required_": true
},
"sed_user": {
"_name_": "sed_user",
"title": "sed_user",
"_required_": true,
"type": "string",
"enum": [
"USER",
"MASTER"
]
},
"sysloglevel": {
"_name_": "sysloglevel",
"title": "sysloglevel",
"_required_": true,
"type": "string",
"enum": [
"F_EMERG",
"F_ALERT",
"F_CRIT",
"F_ERR",
"F_WARNING",
"F_NOTICE",
"F_INFO",
"F_DEBUG"
],
"description": "When `syslogserver` is defined, logs of `sysloglevel` or above are sent."
},
"syslogserver": {
"_name_": "syslogserver",
"title": "syslogserver",
"_required_": false,
"type": "string",
"description": "When `syslogserver` is defined, logs of `sysloglevel` or above are sent."
},
"syslog_transport": {
"_name_": "syslog_transport",
"title": "syslog_transport",
"_required_": true,
"type": "string",
"enum": [
"UDP",
"TCP",
"TLS"
]
},
"syslog_tls_certificate": {
"type": [
"integer",
"null"
],
"_name_": "syslog_tls_certificate",
"title": "syslog_tls_certificate",
"_required_": true
},
"syslog_tls_certificate_authority": {
"type": [
"integer",
"null"
],
"_name_": "syslog_tls_certificate_authority",
"title": "syslog_tls_certificate_authority",
"_required_": true
},
"isolated_gpu_pci_ids": {
"_name_": "isolated_gpu_pci_ids",
"title": "isolated_gpu_pci_ids",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "pci_id",
"title": "pci_id",
"_required_": false,
"type": "string"
}
]
},
"kernel_extra_options": {
"_name_": "kernel_extra_options",
"title": "kernel_extra_options",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "system_advanced_update_returns",
"title": "system_advanced_entry",
"default": {},
"_attrs_order_": [
"advancedmode",
"autotune",
"kdump_enabled",
"boot_scrub",
"consolemenu",
"consolemsg",
"debugkernel",
"fqdn_syslog",
"motd",
"powerdaemon",
"serialconsole",
"serialport",
"anonstats_token",
"serialspeed",
"swapondrive",
"overprovision",
"traceback",
"uploadcrash",
"anonstats",
"sed_user",
"sysloglevel",
"syslogserver",
"syslog_transport",
"syslog_tls_certificate",
"syslog_tls_certificate_authority",
"isolated_gpu_pci_ids",
"kernel_extra_options",
"id"
]
}
|
Update System Advanced Service Configuration.
When
|
system.general.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"ui_certificate": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ui_certificate",
"title": "certificate_entry",
"default": {},
"_required_": true,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
},
"ui_httpsport": {
"type": "integer",
"_name_": "ui_httpsport",
"title": "ui_httpsport",
"_required_": true
},
"ui_httpsredirect": {
"type": "boolean",
"_name_": "ui_httpsredirect",
"title": "ui_httpsredirect",
"_required_": true
},
"ui_httpsprotocols": {
"_name_": "ui_httpsprotocols",
"title": "ui_httpsprotocols",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
}
]
},
"ui_port": {
"type": "integer",
"_name_": "ui_port",
"title": "ui_port",
"_required_": true
},
"ui_address": {
"_name_": "ui_address",
"title": "ui_address",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "addr",
"title": "addr",
"_required_": false,
"type": "string"
}
]
},
"ui_v6address": {
"_name_": "ui_v6address",
"title": "ui_v6address",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "addr",
"title": "addr",
"_required_": false,
"type": "string"
}
]
},
"ui_consolemsg": {
"type": "boolean",
"_name_": "ui_consolemsg",
"title": "ui_consolemsg",
"_required_": true
},
"ui_x_frame_options": {
"_name_": "ui_x_frame_options",
"title": "ui_x_frame_options",
"_required_": true,
"type": "string",
"enum": [
"SAMEORIGIN",
"DENY",
"ALLOW_ALL"
]
},
"kbdmap": {
"_name_": "kbdmap",
"title": "kbdmap",
"_required_": true,
"type": "string"
},
"language": {
"_name_": "language",
"title": "language",
"_required_": true,
"type": "string"
},
"timezone": {
"_name_": "timezone",
"title": "timezone",
"_required_": true,
"type": "string"
},
"crash_reporting": {
"type": [
"boolean",
"null"
],
"_name_": "crash_reporting",
"title": "crash_reporting",
"_required_": true
},
"usage_collection": {
"type": [
"boolean",
"null"
],
"_name_": "usage_collection",
"title": "usage_collection",
"_required_": true
},
"birthday": {
"_name_": "birthday",
"title": "birthday",
"_required_": true,
"type": "string"
},
"wizardshown": {
"type": "boolean",
"_name_": "wizardshown",
"title": "wizardshown",
"_required_": true
},
"crash_reporting_is_set": {
"type": "boolean",
"_name_": "crash_reporting_is_set",
"title": "crash_reporting_is_set",
"_required_": true
},
"usage_collection_is_set": {
"type": "boolean",
"_name_": "usage_collection_is_set",
"title": "usage_collection_is_set",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "system_general_entry",
"title": "system_general_entry",
"default": {},
"_attrs_order_": [
"ui_certificate",
"ui_httpsport",
"ui_httpsredirect",
"ui_httpsprotocols",
"ui_port",
"ui_address",
"ui_v6address",
"ui_consolemsg",
"ui_x_frame_options",
"kbdmap",
"language",
"timezone",
"crash_reporting",
"usage_collection",
"birthday",
"wizardshown",
"crash_reporting_is_set",
"usage_collection_is_set",
"id"
]
}
|
- |
system.general.country_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "country_choices",
"title": "country_choices",
"default": {},
"_attrs_order_": []
}
|
Returns country choices. |
system.general.kbdmap_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "kbdmap_choices",
"title": "kbdmap_choices",
"default": {},
"_attrs_order_": []
}
|
Returns kbdmap choices. |
system.general.language_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "system_language_choices",
"title": "System Language Choices",
"default": {},
"_attrs_order_": []
}
|
Returns language choices. |
system.general.local_url |
---|
Return Arguments:
{
"_name_": "local_url",
"title": "local_url",
"type": "string"
}
|
Returns configured local url in the format of protocol://host:port |
system.general.timezone_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "system_timezone_choices",
"title": "System Timezone Choices",
"default": {},
"_attrs_order_": []
}
|
Returns time zone choices. |
system.general.ui_address_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "available_ui_address_choices",
"title": "Available UI IPv4 Address Choices",
"default": {},
"_attrs_order_": []
}
|
Returns UI ipv4 address choices. |
system.general.ui_certificate_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ui_certificate_choices",
"title": "UI Certificate Choices",
"default": {},
"_attrs_order_": []
}
|
Return choices of certificates which can be used for |
system.general.ui_httpsprotocols_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"TLSv1": {
"_name_": "TLSv1",
"title": "TLSv1",
"_required_": false,
"type": "string",
"enum": [
"TLSv1"
]
},
"TLSv1.1": {
"_name_": "TLSv1.1",
"title": "TLSv1.1",
"_required_": false,
"type": "string",
"enum": [
"TLSv1.1"
]
},
"TLSv1.2": {
"_name_": "TLSv1.2",
"title": "TLSv1.2",
"_required_": false,
"type": "string",
"enum": [
"TLSv1.2"
]
},
"TLSv1.3": {
"_name_": "TLSv1.3",
"title": "TLSv1.3",
"_required_": false,
"type": "string",
"enum": [
"TLSv1.3"
]
}
},
"additionalProperties": false,
"_name_": "ui_https_protocols",
"title": "UI HTTPS Protocol Choices",
"default": {},
"_attrs_order_": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
}
|
Returns available HTTPS protocols. |
system.general.ui_restart |
---|
Arguments:
{
"type": "integer",
"_name_": "delay",
"title": "delay",
"default": 3
}
|
Restart HTTP server to use latest UI settings. HTTP server will be restarted after |
system.general.ui_v6address_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "available_ui_v6address_choices",
"title": "Available UI IPv6 Address Choices",
"default": {},
"_attrs_order_": []
}
|
Returns UI ipv6 address choices. |
system.general.update |
---|
Arguments:
{
"type": "object",
"properties": {
"ui_httpsport": {
"type": "integer",
"_name_": "ui_httpsport",
"title": "ui_httpsport",
"_required_": true
},
"ui_httpsredirect": {
"type": "boolean",
"_name_": "ui_httpsredirect",
"title": "ui_httpsredirect",
"_required_": true,
"description": "`ui_httpsredirect` when set, makes sure that all HTTP requests are converted to HTTPS requests to better\nenhance security."
},
"ui_httpsprotocols": {
"_name_": "ui_httpsprotocols",
"title": "ui_httpsprotocols",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
}
]
},
"ui_port": {
"type": "integer",
"_name_": "ui_port",
"title": "ui_port",
"_required_": true
},
"ui_address": {
"_name_": "ui_address",
"title": "ui_address",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "addr",
"title": "addr",
"_required_": false,
"type": "string"
}
],
"description": "`ui_address` and `ui_v6address` are a list of valid ipv4/ipv6 addresses respectively which the system will\nlisten on."
},
"ui_v6address": {
"_name_": "ui_v6address",
"title": "ui_v6address",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "addr",
"title": "addr",
"_required_": false,
"type": "string"
}
],
"description": "`ui_address` and `ui_v6address` are a list of valid ipv4/ipv6 addresses respectively which the system will\nlisten on."
},
"ui_consolemsg": {
"type": "boolean",
"_name_": "ui_consolemsg",
"title": "ui_consolemsg",
"_required_": true
},
"ui_x_frame_options": {
"_name_": "ui_x_frame_options",
"title": "ui_x_frame_options",
"_required_": true,
"type": "string",
"enum": [
"SAMEORIGIN",
"DENY",
"ALLOW_ALL"
]
},
"kbdmap": {
"_name_": "kbdmap",
"title": "kbdmap",
"_required_": true,
"type": "string"
},
"language": {
"_name_": "language",
"title": "language",
"_required_": true,
"type": "string"
},
"timezone": {
"_name_": "timezone",
"title": "timezone",
"_required_": true,
"type": "string"
},
"crash_reporting": {
"type": [
"boolean",
"null"
],
"_name_": "crash_reporting",
"title": "crash_reporting",
"_required_": true
},
"usage_collection": {
"type": [
"boolean",
"null"
],
"_name_": "usage_collection",
"title": "usage_collection",
"_required_": true
},
"birthday": {
"_name_": "birthday",
"title": "birthday",
"_required_": true,
"type": "string"
},
"sysloglevel": {
"_name_": "sysloglevel",
"title": "sysloglevel",
"_required_": false,
"type": "string",
"enum": [
"F_EMERG",
"F_ALERT",
"F_CRIT",
"F_ERR",
"F_WARNING",
"F_NOTICE",
"F_INFO",
"F_DEBUG"
]
},
"syslogserver": {
"_name_": "syslogserver",
"title": "syslogserver",
"_required_": false,
"type": "string"
},
"ui_certificate": {
"type": [
"integer",
"null"
],
"_name_": "ui_certificate",
"title": "ui_certificate",
"_required_": false,
"description": "`ui_certificate` is used to enable HTTPS access to the system. If `ui_certificate` is not configured on boot,\nit is automatically created by the system."
}
},
"additionalProperties": false,
"_name_": "general_settings",
"title": "system_general_entry",
"default": {},
"_attrs_order_": [
"ui_httpsport",
"ui_httpsredirect",
"ui_httpsprotocols",
"ui_port",
"ui_address",
"ui_v6address",
"ui_consolemsg",
"ui_x_frame_options",
"kbdmap",
"language",
"timezone",
"crash_reporting",
"usage_collection",
"birthday",
"sysloglevel",
"syslogserver",
"ui_certificate"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"ui_certificate": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ui_certificate",
"title": "certificate_entry",
"default": {},
"_required_": true,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
],
"description": "`ui_certificate` is used to enable HTTPS access to the system. If `ui_certificate` is not configured on boot,\nit is automatically created by the system."
},
"ui_httpsport": {
"type": "integer",
"_name_": "ui_httpsport",
"title": "ui_httpsport",
"_required_": true
},
"ui_httpsredirect": {
"type": "boolean",
"_name_": "ui_httpsredirect",
"title": "ui_httpsredirect",
"_required_": true,
"description": "`ui_httpsredirect` when set, makes sure that all HTTP requests are converted to HTTPS requests to better\nenhance security."
},
"ui_httpsprotocols": {
"_name_": "ui_httpsprotocols",
"title": "ui_httpsprotocols",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": "string",
"enum": [
"TLSv1",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3"
]
}
]
},
"ui_port": {
"type": "integer",
"_name_": "ui_port",
"title": "ui_port",
"_required_": true
},
"ui_address": {
"_name_": "ui_address",
"title": "ui_address",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "addr",
"title": "addr",
"_required_": false,
"type": "string"
}
],
"description": "`ui_address` and `ui_v6address` are a list of valid ipv4/ipv6 addresses respectively which the system will\nlisten on."
},
"ui_v6address": {
"_name_": "ui_v6address",
"title": "ui_v6address",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "addr",
"title": "addr",
"_required_": false,
"type": "string"
}
],
"description": "`ui_address` and `ui_v6address` are a list of valid ipv4/ipv6 addresses respectively which the system will\nlisten on."
},
"ui_consolemsg": {
"type": "boolean",
"_name_": "ui_consolemsg",
"title": "ui_consolemsg",
"_required_": true
},
"ui_x_frame_options": {
"_name_": "ui_x_frame_options",
"title": "ui_x_frame_options",
"_required_": true,
"type": "string",
"enum": [
"SAMEORIGIN",
"DENY",
"ALLOW_ALL"
]
},
"kbdmap": {
"_name_": "kbdmap",
"title": "kbdmap",
"_required_": true,
"type": "string"
},
"language": {
"_name_": "language",
"title": "language",
"_required_": true,
"type": "string"
},
"timezone": {
"_name_": "timezone",
"title": "timezone",
"_required_": true,
"type": "string"
},
"crash_reporting": {
"type": [
"boolean",
"null"
],
"_name_": "crash_reporting",
"title": "crash_reporting",
"_required_": true
},
"usage_collection": {
"type": [
"boolean",
"null"
],
"_name_": "usage_collection",
"title": "usage_collection",
"_required_": true
},
"birthday": {
"_name_": "birthday",
"title": "birthday",
"_required_": true,
"type": "string"
},
"wizardshown": {
"type": "boolean",
"_name_": "wizardshown",
"title": "wizardshown",
"_required_": true
},
"crash_reporting_is_set": {
"type": "boolean",
"_name_": "crash_reporting_is_set",
"title": "crash_reporting_is_set",
"_required_": true
},
"usage_collection_is_set": {
"type": "boolean",
"_name_": "usage_collection_is_set",
"title": "usage_collection_is_set",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "system_general_update_returns",
"title": "system_general_entry",
"default": {},
"_attrs_order_": [
"ui_certificate",
"ui_httpsport",
"ui_httpsredirect",
"ui_httpsprotocols",
"ui_port",
"ui_address",
"ui_v6address",
"ui_consolemsg",
"ui_x_frame_options",
"kbdmap",
"language",
"timezone",
"crash_reporting",
"usage_collection",
"birthday",
"wizardshown",
"crash_reporting_is_set",
"usage_collection_is_set",
"id"
]
}
|
Update System General Service Configuration.
|
system.ntpserver.create |
---|
Arguments:
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string",
"description": "`address` specifies the hostname/IP address of the NTP server."
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false,
"description": "`burst` when enabled makes sure that if server is reachable, sends a burst of eight packets instead of one.\nThis is designed to improve timekeeping quality with the server command."
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false,
"description": "`iburst` when enabled speeds up the initial synchronization, taking seconds rather than minutes."
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false,
"description": "`prefer` marks the specified server as preferred. When all other things are equal, this host is chosen\nfor synchronization acquisition with the server command. It is recommended that they be used for servers with\ntime monitoring hardware."
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ntp_create",
"title": "ntp_create",
"default": {},
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"force"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string",
"description": "`address` specifies the hostname/IP address of the NTP server."
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false,
"description": "`burst` when enabled makes sure that if server is reachable, sends a burst of eight packets instead of one.\nThis is designed to improve timekeeping quality with the server command."
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false,
"description": "`iburst` when enabled speeds up the initial synchronization, taking seconds rather than minutes."
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false,
"description": "`prefer` marks the specified server as preferred. When all other things are equal, this host is chosen\nfor synchronization acquisition with the server command. It is recommended that they be used for servers with\ntime monitoring hardware."
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "system_ntpserver_create_returns",
"title": "ntp_create",
"default": {},
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"id"
]
}
|
Add an NTP Server.
|
system.ntpserver.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete NTP server of |
system.ntpserver.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ntp_entry",
"title": "ntp_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ntp_entry",
"title": "ntp_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ntp_entry",
"title": "ntp_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
system.ntpserver.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update NTP server of `id`.\nAdd an NTP Server."
}
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string",
"description": "`address` specifies the hostname/IP address of the NTP server."
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false,
"description": "`burst` when enabled makes sure that if server is reachable, sends a burst of eight packets instead of one.\nThis is designed to improve timekeeping quality with the server command."
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false,
"description": "`iburst` when enabled speeds up the initial synchronization, taking seconds rather than minutes."
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false,
"description": "`prefer` marks the specified server as preferred. When all other things are equal, this host is chosen\nfor synchronization acquisition with the server command. It is recommended that they be used for servers with\ntime monitoring hardware."
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ntp_update",
"title": "ntp_create",
"default": {},
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"force"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string",
"description": "`address` specifies the hostname/IP address of the NTP server."
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false,
"description": "`burst` when enabled makes sure that if server is reachable, sends a burst of eight packets instead of one.\nThis is designed to improve timekeeping quality with the server command."
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false,
"description": "`iburst` when enabled speeds up the initial synchronization, taking seconds rather than minutes."
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false,
"description": "`prefer` marks the specified server as preferred. When all other things are equal, this host is chosen\nfor synchronization acquisition with the server command. It is recommended that they be used for servers with\ntime monitoring hardware."
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false,
"description": "`minpoll` is minimum polling time in seconds. It must be a power of 2 and less than `maxpoll`.\n`maxpoll` is maximum polling time in seconds. It must be a power of 2 and greater than `minpoll`."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update NTP server of `id`.\nAdd an NTP Server."
}
},
"additionalProperties": false,
"_name_": "system_ntpserver_update_returns",
"title": "ntp_create",
"default": {},
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"id"
]
}
|
Update NTP server of |
systemdataset.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"pool_set": {
"type": "boolean",
"_name_": "pool_set",
"title": "pool_set",
"_required_": true
},
"uuid": {
"_name_": "uuid",
"title": "uuid",
"_required_": true,
"type": "string"
},
"uuid_b": {
"_name_": "uuid_b",
"title": "uuid_b",
"_required_": true,
"type": [
"string",
"null"
]
},
"basename": {
"_name_": "basename",
"title": "basename",
"_required_": true,
"type": "string"
},
"uuid_a": {
"_name_": "uuid_a",
"title": "uuid_a",
"_required_": true,
"type": "string"
},
"syslog": {
"type": "boolean",
"_name_": "syslog",
"title": "syslog",
"_required_": true
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "systemdataset_entry",
"title": "systemdataset_entry",
"default": {},
"_attrs_order_": [
"id",
"pool",
"pool_set",
"uuid",
"uuid_b",
"basename",
"uuid_a",
"syslog",
"path"
]
}
|
- |
systemdataset.pool_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "systemdataset_pool_choices",
"title": "systemdataset_pool_choices",
"default": {},
"_attrs_order_": []
}
|
Retrieve pool choices which can be used for configuring system dataset. |
systemdataset.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": false,
"type": [
"string",
"null"
],
"description": "`pool` is the name of a valid pool configured in the system which will be used to host the system dataset."
},
"pool_exclude": {
"_name_": "pool_exclude",
"title": "pool_exclude",
"_required_": false,
"type": [
"string",
"null"
]
},
"syslog": {
"type": "boolean",
"_name_": "syslog",
"title": "syslog",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sysdataset_update",
"title": "sysdataset_update",
"default": {},
"_attrs_order_": [
"pool",
"pool_exclude",
"syslog"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string",
"description": "`pool` is the name of a valid pool configured in the system which will be used to host the system dataset."
},
"pool_set": {
"type": "boolean",
"_name_": "pool_set",
"title": "pool_set",
"_required_": true
},
"uuid": {
"_name_": "uuid",
"title": "uuid",
"_required_": true,
"type": "string"
},
"uuid_b": {
"_name_": "uuid_b",
"title": "uuid_b",
"_required_": true,
"type": [
"string",
"null"
]
},
"basename": {
"_name_": "basename",
"title": "basename",
"_required_": true,
"type": "string"
},
"uuid_a": {
"_name_": "uuid_a",
"title": "uuid_a",
"_required_": true,
"type": "string"
},
"syslog": {
"type": "boolean",
"_name_": "syslog",
"title": "syslog",
"_required_": true
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "systemdataset_update_returns",
"title": "systemdataset_entry",
"default": {},
"_attrs_order_": [
"id",
"pool",
"pool_set",
"uuid",
"uuid_b",
"basename",
"uuid_a",
"syslog",
"path"
]
}
|
Update System Dataset Service Configuration.
|
tftp.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"newfiles": {
"type": "boolean",
"_name_": "newfiles",
"title": "newfiles",
"_required_": true
},
"directory": {
"_name_": "directory",
"title": "directory",
"_required_": true,
"type": "string"
},
"host": {
"_name_": "host",
"title": "host",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"umask": {
"_name_": "umask",
"title": "umask",
"_required_": true,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "tftp_entry",
"title": "tftp_entry",
"default": {},
"_attrs_order_": [
"newfiles",
"directory",
"host",
"port",
"options",
"umask",
"username",
"id"
]
}
|
- |
tftp.host_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "tftp_host_choices",
"title": "tftp_host_choices",
"default": {},
"_attrs_order_": []
}
|
Return host choices for TFTP service to use. |
tftp.update |
---|
Arguments:
{
"type": "object",
"properties": {
"newfiles": {
"type": "boolean",
"_name_": "newfiles",
"title": "newfiles",
"_required_": true,
"description": "`newfiles` when set enables network devices to send files to the system."
},
"host": {
"_name_": "host",
"title": "host",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"umask": {
"_name_": "umask",
"title": "umask",
"_required_": true,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"directory": {
"_name_": "directory",
"title": "directory",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "tftp_update",
"title": "tftp_entry",
"default": {},
"_attrs_order_": [
"newfiles",
"host",
"port",
"options",
"umask",
"username",
"directory"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"newfiles": {
"type": "boolean",
"_name_": "newfiles",
"title": "newfiles",
"_required_": true,
"description": "`newfiles` when set enables network devices to send files to the system."
},
"directory": {
"_name_": "directory",
"title": "directory",
"_required_": true,
"type": "string"
},
"host": {
"_name_": "host",
"title": "host",
"_required_": true,
"type": "string"
},
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"umask": {
"_name_": "umask",
"title": "umask",
"_required_": true,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "tftp_update_returns",
"title": "tftp_entry",
"default": {},
"_attrs_order_": [
"newfiles",
"directory",
"host",
"port",
"options",
"umask",
"username",
"id"
]
}
|
Update TFTP Service Configuration.
|
truecommand.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"api_key": {
"_name_": "api_key",
"title": "api_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string",
"enum": [
"CONNECTED",
"CONNECTING",
"DISABLED",
"FAILED"
]
},
"status_reason": {
"_name_": "status_reason",
"title": "status_reason",
"_required_": true,
"type": "string",
"enum": [
"Truecommand service is connected.",
"Pending Confirmation From iX Portal for Truecommand API Key.",
"Truecommand service is disabled.",
"Truecommand API Key Disabled by iX Portal."
]
},
"remote_url": {
"_name_": "remote_url",
"title": "remote_url",
"_required_": true,
"type": [
"string",
"null"
]
},
"remote_ip_address": {
"_name_": "remote_ip_address",
"title": "remote_ip_address",
"_required_": true,
"type": [
"string",
"null"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "truecommand_entry",
"title": "truecommand_entry",
"default": {},
"_attrs_order_": [
"id",
"api_key",
"status",
"status_reason",
"remote_url",
"remote_ip_address",
"enabled"
]
}
|
- |
truecommand.connected |
---|
Return Arguments:
{
"type": "object",
"properties": {
"connected": {
"type": "boolean",
"_name_": "connected",
"title": "connected",
"_required_": true
},
"truecommand_ip": {
"_name_": "truecommand_ip",
"title": "truecommand_ip",
"_required_": true,
"type": [
"string",
"null"
]
},
"truecommand_url": {
"_name_": "truecommand_url",
"title": "truecommand_url",
"_required_": true,
"type": [
"string",
"null"
]
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"status_reason": {
"_name_": "status_reason",
"title": "status_reason",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "truecommand_connected",
"title": "truecommand_connected",
"default": {},
"_attrs_order_": [
"connected",
"truecommand_ip",
"truecommand_url",
"status",
"status_reason"
]
}
|
Returns information which shows if system has an authenticated api key and has initiated a VPN connection with TrueCommand. |
truecommand.update |
---|
Arguments:
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"api_key": {
"_name_": "api_key",
"title": "api_key",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "truecommand_update",
"title": "truecommand_update",
"default": {},
"_attrs_order_": [
"enabled",
"api_key"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"api_key": {
"_name_": "api_key",
"title": "api_key",
"_required_": true,
"type": [
"string",
"null"
]
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string",
"enum": [
"CONNECTED",
"CONNECTING",
"DISABLED",
"FAILED"
]
},
"status_reason": {
"_name_": "status_reason",
"title": "status_reason",
"_required_": true,
"type": "string",
"enum": [
"Truecommand service is connected.",
"Pending Confirmation From iX Portal for Truecommand API Key.",
"Truecommand service is disabled.",
"Truecommand API Key Disabled by iX Portal."
]
},
"remote_url": {
"_name_": "remote_url",
"title": "remote_url",
"_required_": true,
"type": [
"string",
"null"
]
},
"remote_ip_address": {
"_name_": "remote_ip_address",
"title": "remote_ip_address",
"_required_": true,
"type": [
"string",
"null"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "truecommand_update_returns",
"title": "truecommand_entry",
"default": {},
"_attrs_order_": [
"id",
"api_key",
"status",
"status_reason",
"remote_url",
"remote_ip_address",
"enabled"
]
}
|
Update Truecommand service settings.
|
truenas.accept_eula |
---|
Accept TrueNAS EULA. |
truenas.get_chassis_hardware |
---|
Return Arguments:
{
"_name_": "system_chassis_hardware",
"title": "system_chassis_hardware",
"type": "string"
}
|
Returns what type of hardware this is, detected from dmidecode. |
truenas.get_customer_information |
---|
Returns stored customer information. |
truenas.get_eula |
---|
Return Arguments:
{
"_name_": "eula",
"title": "eula",
"type": [
"string",
"null"
]
}
|
Returns the TrueNAS End-User License Agreement (EULA). |
truenas.is_eula_accepted |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "system_eula_accepted",
"title": "system_eula_accepted"
}
|
Returns whether the EULA is accepted or not. |
truenas.is_production |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "is_production_system",
"title": "is_production_system"
}
|
Returns if system is marked as production. |
truenas.set_production
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "boolean",
"_name_": "production",
"title": "production"
}
{
"type": "boolean",
"_name_": "attach_debug",
"title": "attach_debug",
"default": false
}
|
Return Arguments:
{
"type": "object",
"properties": {
"ticket": {
"type": [
"integer",
"null"
],
"_name_": "ticket",
"title": "ticket",
"_required_": false
},
"url": {
"_name_": "url",
"title": "url",
"_required_": false,
"type": [
"string",
"null"
]
},
"has_debug": {
"type": "boolean",
"_name_": "has_debug",
"title": "has_debug",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "set_production",
"title": "new_ticket_response",
"default": {},
"_attrs_order_": [
"ticket",
"url",
"has_debug"
]
}
|
Sets system production state and optionally sends initial debug. |
truenas.update_customer_information |
---|
Arguments:
{
"type": "object",
"properties": {
"company": {
"_name_": "company",
"title": "company",
"_required_": false,
"type": "string"
},
"administrative_user": {
"type": "object",
"properties": {
"first_name": {
"_name_": "first_name",
"title": "first_name",
"_required_": false,
"type": "string"
},
"last_name": {
"_name_": "last_name",
"title": "last_name",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"office_phone": {
"_name_": "office_phone",
"title": "office_phone",
"_required_": false,
"type": "string"
},
"mobile_phone": {
"_name_": "mobile_phone",
"title": "mobile_phone",
"_required_": false,
"type": "string"
},
"primary_email": {
"_name_": "primary_email",
"title": "primary_email",
"_required_": false,
"type": "string"
},
"secondary_email": {
"_name_": "secondary_email",
"title": "secondary_email",
"_required_": false,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"zip": {
"_name_": "zip",
"title": "zip",
"_required_": false,
"type": "string"
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "administrative_user",
"title": "administrative_user",
"default": {},
"_required_": false,
"_attrs_order_": [
"first_name",
"last_name",
"title",
"office_phone",
"mobile_phone",
"primary_email",
"secondary_email",
"address",
"city",
"state",
"zip",
"country"
]
},
"technical_user": {
"type": "object",
"properties": {
"first_name": {
"_name_": "first_name",
"title": "first_name",
"_required_": false,
"type": "string"
},
"last_name": {
"_name_": "last_name",
"title": "last_name",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"office_phone": {
"_name_": "office_phone",
"title": "office_phone",
"_required_": false,
"type": "string"
},
"mobile_phone": {
"_name_": "mobile_phone",
"title": "mobile_phone",
"_required_": false,
"type": "string"
},
"primary_email": {
"_name_": "primary_email",
"title": "primary_email",
"_required_": false,
"type": "string"
},
"secondary_email": {
"_name_": "secondary_email",
"title": "secondary_email",
"_required_": false,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"zip": {
"_name_": "zip",
"title": "zip",
"_required_": false,
"type": "string"
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "technical_user",
"title": "technical_user",
"default": {},
"_required_": false,
"_attrs_order_": [
"first_name",
"last_name",
"title",
"office_phone",
"mobile_phone",
"primary_email",
"secondary_email",
"address",
"city",
"state",
"zip",
"country"
]
},
"reseller": {
"type": "object",
"properties": {
"company": {
"_name_": "company",
"title": "company",
"_required_": false,
"type": "string"
},
"first_name": {
"_name_": "first_name",
"title": "first_name",
"_required_": false,
"type": "string"
},
"last_name": {
"_name_": "last_name",
"title": "last_name",
"_required_": false,
"type": "string"
},
"title": {
"_name_": "title",
"title": "title",
"_required_": false,
"type": "string"
},
"office_phone": {
"_name_": "office_phone",
"title": "office_phone",
"_required_": false,
"type": "string"
},
"mobile_phone": {
"_name_": "mobile_phone",
"title": "mobile_phone",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "reseller",
"title": "reseller",
"default": {},
"_required_": false,
"_attrs_order_": [
"company",
"first_name",
"last_name",
"title",
"office_phone",
"mobile_phone"
]
},
"physical_location": {
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": "string"
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"zip": {
"_name_": "zip",
"title": "zip",
"_required_": false,
"type": "string"
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": "string"
},
"contact_name": {
"_name_": "contact_name",
"title": "contact_name",
"_required_": false,
"type": "string"
},
"contact_phone_number": {
"_name_": "contact_phone_number",
"title": "contact_phone_number",
"_required_": false,
"type": "string"
},
"contact_email": {
"_name_": "contact_email",
"title": "contact_email",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "physical_location",
"title": "physical_location",
"default": {},
"_required_": false,
"_attrs_order_": [
"address",
"city",
"state",
"zip",
"country",
"contact_name",
"contact_phone_number",
"contact_email"
]
},
"primary_use_case": {
"_name_": "primary_use_case",
"title": "primary_use_case",
"_required_": false,
"type": "string"
},
"other_primary_use_case": {
"_name_": "other_primary_use_case",
"title": "other_primary_use_case",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "customer_information_update",
"title": "customer_information_update",
"default": {},
"_attrs_order_": [
"company",
"administrative_user",
"technical_user",
"reseller",
"physical_location",
"primary_use_case",
"other_primary_use_case"
]
}
|
Updates customer information. |
tunable.create |
---|
Arguments:
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string",
"description": "`var` represents name of the sysctl/loader/rc variable."
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_create",
"title": "tunable_create",
"default": {},
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string",
"description": "`var` represents name of the sysctl/loader/rc variable."
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_create_returns",
"title": "tunable_create",
"default": {},
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled",
"id"
]
}
|
Create a Tunable.
|
tunable.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete Tunable of |
tunable.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_entry",
"title": "tunable_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_entry",
"title": "tunable_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_entry",
"title": "tunable_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
tunable.tunable_type_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"SYSCTL": {
"_name_": "SYSCTL",
"title": "SYSCTL",
"_required_": false,
"type": "string",
"enum": [
"SYSCTL"
]
}
},
"additionalProperties": false,
"_name_": "tunable_type_choices",
"title": "tunable_type_choices",
"default": {},
"_attrs_order_": [
"SYSCTL"
]
}
|
Retrieve tunable type choices supported in the system |
tunable.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update Tunable of `id`.\nCreate a Tunable."
}
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string",
"description": "`var` represents name of the sysctl/loader/rc variable."
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_update",
"title": "tunable_create",
"default": {},
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string",
"description": "`var` represents name of the sysctl/loader/rc variable."
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update Tunable of `id`.\nCreate a Tunable."
}
},
"additionalProperties": false,
"_name_": "tunable_update_returns",
"title": "tunable_create",
"default": {},
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled",
"id"
]
}
|
Update Tunable of |
update.check_available |
---|
Arguments:
{
"type": "object",
"properties": {
"train": {
"_name_": "train",
"title": "train",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "update-check-available",
"title": "update-check-available",
"default": {},
"_attrs_order_": [
"train"
]
}
|
Checks if there is an update available from update server. status: - REBOOT_REQUIRED: an update has already been applied - AVAILABLE: an update is available - UNAVAILABLE: no update available - HA_UNAVAILABLE: HA is non-functional |
Check available update using default train:
|
update.download
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Download updates using selected train. |
update.file |
---|
Arguments:
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "updatefile",
"title": "updatefile",
"default": {},
"_attrs_order_": [
"destination"
]
}
|
Updates the system using the uploaded .tar file. Use null |
update.get_auto_download |
---|
Returns if update auto-download is enabled. |
update.get_pending |
---|
Arguments:
{
"_name_": "path",
"title": "path",
"default": null,
"type": [
"string",
"null"
]
}
|
Gets a list of packages already downloaded and ready to be applied. Each entry of the lists consists of type of operation and name of it, e.g. { "operation": "upgrade", "name": "baseos-11.0 -> baseos-11.1" } |
update.get_trains |
---|
Returns available trains dict and the currently configured train as well as the train of currently booted environment. |
update.manual
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"_name_": "path",
"title": "path",
"type": "string"
}
{
"type": "object",
"properties": {
"cleanup": {
"type": "boolean",
"_name_": "cleanup",
"title": "cleanup",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"cleanup"
]
}
|
Update the system using a manual update file.
|
update.set_auto_download |
---|
Arguments:
{
"type": "boolean",
"_name_": "autocheck",
"title": "autocheck"
}
|
Sets if update auto-download is enabled. |
update.set_train |
---|
Arguments:
{
"_name_": "train",
"title": "train",
"type": "string"
}
|
Set an update train to be used by default in updates. |
update.update
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "object",
"properties": {
"train": {
"_name_": "train",
"title": "train",
"_required_": false,
"type": "string"
},
"reboot": {
"type": "boolean",
"_name_": "reboot",
"title": "reboot",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "update",
"title": "update",
"default": {},
"_attrs_order_": [
"train",
"reboot"
]
}
|
Downloads (if not already in cache) and apply an update. |
ups.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"powerdown": {
"type": "boolean",
"_name_": "powerdown",
"title": "powerdown",
"_required_": true
},
"rmonitor": {
"type": "boolean",
"_name_": "rmonitor",
"title": "rmonitor",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"nocommwarntime": {
"type": [
"integer",
"null"
],
"_name_": "nocommwarntime",
"title": "nocommwarntime",
"_required_": true
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": true
},
"shutdowntimer": {
"type": "integer",
"_name_": "shutdowntimer",
"title": "shutdowntimer",
"_required_": true
},
"hostsync": {
"type": "integer",
"_name_": "hostsync",
"title": "hostsync",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"driver": {
"_name_": "driver",
"title": "driver",
"_required_": true,
"type": "string"
},
"extrausers": {
"_name_": "extrausers",
"title": "extrausers",
"_required_": true,
"type": "string"
},
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"MASTER",
"SLAVE"
]
},
"monpwd": {
"_name_": "monpwd",
"title": "monpwd",
"_required_": true,
"type": "string"
},
"monuser": {
"_name_": "monuser",
"title": "monuser",
"_required_": true,
"type": "string"
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"optionsupsd": {
"_name_": "optionsupsd",
"title": "optionsupsd",
"_required_": true,
"type": "string"
},
"port": {
"_name_": "port",
"title": "port",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": true,
"type": "string"
},
"shutdown": {
"_name_": "shutdown",
"title": "shutdown",
"_required_": true,
"type": "string",
"enum": [
"LOWBATT",
"BATT"
]
},
"shutdowncmd": {
"_name_": "shutdowncmd",
"title": "shutdowncmd",
"_required_": true,
"type": [
"string",
"null"
]
},
"complete_identifier": {
"_name_": "complete_identifier",
"title": "complete_identifier",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ups_entry",
"title": "ups_entry",
"default": {},
"_attrs_order_": [
"powerdown",
"rmonitor",
"id",
"nocommwarntime",
"remoteport",
"shutdowntimer",
"hostsync",
"description",
"driver",
"extrausers",
"identifier",
"mode",
"monpwd",
"monuser",
"options",
"optionsupsd",
"port",
"remotehost",
"shutdown",
"shutdowncmd",
"complete_identifier"
]
}
|
- |
ups.driver_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "driver_choices",
"title": "driver_choices",
"description": "\n\nExample(s):\n```\n{\n \"blazer_ser$CPM-800\": \"WinPower ups 2 CPM-800 (blazer_ser)\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Returns choices of UPS drivers supported by the system. |
ups.port_choices |
---|
Return Arguments:
{
"_name_": "port_choices",
"title": "port_choices",
"default": [],
"type": "array",
"items": [
{
"_name_": "port_choice",
"title": "port_choice",
"_required_": false,
"type": "string"
}
]
}
|
- |
ups.update |
---|
Arguments:
{
"type": "object",
"properties": {
"powerdown": {
"type": "boolean",
"_name_": "powerdown",
"title": "powerdown",
"_required_": true,
"description": "`powerdown` when enabled, sets UPS to power off after shutting down the system."
},
"rmonitor": {
"type": "boolean",
"_name_": "rmonitor",
"title": "rmonitor",
"_required_": true
},
"nocommwarntime": {
"type": [
"integer",
"null"
],
"_name_": "nocommwarntime",
"title": "nocommwarntime",
"_required_": true,
"description": "`nocommwarntime` is a value in seconds which makes UPS Service wait the specified seconds before alerting that\nthe Service cannot reach configured UPS."
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": true
},
"shutdowntimer": {
"type": "integer",
"_name_": "shutdowntimer",
"title": "shutdowntimer",
"_required_": true,
"description": "`shutdowntimer` is a value in seconds which tells the Service to wait specified seconds for the UPS before\ninitiating a shutdown. This only applies when `shutdown` is set to \"BATT\"."
},
"hostsync": {
"type": "integer",
"_name_": "hostsync",
"title": "hostsync",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"driver": {
"_name_": "driver",
"title": "driver",
"_required_": true,
"type": "string"
},
"extrausers": {
"_name_": "extrausers",
"title": "extrausers",
"_required_": true,
"type": "string"
},
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"MASTER",
"SLAVE"
]
},
"monpwd": {
"_name_": "monpwd",
"title": "monpwd",
"_required_": true,
"type": "string"
},
"monuser": {
"_name_": "monuser",
"title": "monuser",
"_required_": true,
"type": "string"
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"optionsupsd": {
"_name_": "optionsupsd",
"title": "optionsupsd",
"_required_": true,
"type": "string"
},
"port": {
"_name_": "port",
"title": "port",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": true,
"type": "string"
},
"shutdown": {
"_name_": "shutdown",
"title": "shutdown",
"_required_": true,
"type": "string",
"enum": [
"LOWBATT",
"BATT"
],
"description": "`shutdowntimer` is a value in seconds which tells the Service to wait specified seconds for the UPS before\ninitiating a shutdown. This only applies when `shutdown` is set to \"BATT\"."
},
"shutdowncmd": {
"_name_": "shutdowncmd",
"title": "shutdowncmd",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "ups_update",
"title": "ups_entry",
"default": {},
"_attrs_order_": [
"powerdown",
"rmonitor",
"nocommwarntime",
"remoteport",
"shutdowntimer",
"hostsync",
"description",
"driver",
"extrausers",
"identifier",
"mode",
"monpwd",
"monuser",
"options",
"optionsupsd",
"port",
"remotehost",
"shutdown",
"shutdowncmd"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"powerdown": {
"type": "boolean",
"_name_": "powerdown",
"title": "powerdown",
"_required_": true,
"description": "`powerdown` when enabled, sets UPS to power off after shutting down the system."
},
"rmonitor": {
"type": "boolean",
"_name_": "rmonitor",
"title": "rmonitor",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"nocommwarntime": {
"type": [
"integer",
"null"
],
"_name_": "nocommwarntime",
"title": "nocommwarntime",
"_required_": true,
"description": "`nocommwarntime` is a value in seconds which makes UPS Service wait the specified seconds before alerting that\nthe Service cannot reach configured UPS."
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": true
},
"shutdowntimer": {
"type": "integer",
"_name_": "shutdowntimer",
"title": "shutdowntimer",
"_required_": true,
"description": "`shutdowntimer` is a value in seconds which tells the Service to wait specified seconds for the UPS before\ninitiating a shutdown. This only applies when `shutdown` is set to \"BATT\"."
},
"hostsync": {
"type": "integer",
"_name_": "hostsync",
"title": "hostsync",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"driver": {
"_name_": "driver",
"title": "driver",
"_required_": true,
"type": "string"
},
"extrausers": {
"_name_": "extrausers",
"title": "extrausers",
"_required_": true,
"type": "string"
},
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"MASTER",
"SLAVE"
]
},
"monpwd": {
"_name_": "monpwd",
"title": "monpwd",
"_required_": true,
"type": "string"
},
"monuser": {
"_name_": "monuser",
"title": "monuser",
"_required_": true,
"type": "string"
},
"options": {
"_name_": "options",
"title": "options",
"_required_": true,
"type": "string"
},
"optionsupsd": {
"_name_": "optionsupsd",
"title": "optionsupsd",
"_required_": true,
"type": "string"
},
"port": {
"_name_": "port",
"title": "port",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": true,
"type": "string"
},
"shutdown": {
"_name_": "shutdown",
"title": "shutdown",
"_required_": true,
"type": "string",
"enum": [
"LOWBATT",
"BATT"
],
"description": "`shutdowntimer` is a value in seconds which tells the Service to wait specified seconds for the UPS before\ninitiating a shutdown. This only applies when `shutdown` is set to \"BATT\"."
},
"shutdowncmd": {
"_name_": "shutdowncmd",
"title": "shutdowncmd",
"_required_": true,
"type": [
"string",
"null"
]
},
"complete_identifier": {
"_name_": "complete_identifier",
"title": "complete_identifier",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ups_update_returns",
"title": "ups_entry",
"default": {},
"_attrs_order_": [
"powerdown",
"rmonitor",
"id",
"nocommwarntime",
"remoteport",
"shutdowntimer",
"hostsync",
"description",
"driver",
"extrausers",
"identifier",
"mode",
"monpwd",
"monuser",
"options",
"optionsupsd",
"port",
"remotehost",
"shutdown",
"shutdowncmd",
"complete_identifier"
]
}
|
Update UPS Service Configuration.
|
user.create |
---|
Arguments:
{
"type": "object",
"properties": {
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": false,
"description": "If `uid` is not provided it is automatically filled with the next one available."
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"group": {
"type": "integer",
"_name_": "group",
"title": "group",
"_required_": false,
"description": "`group` is required if `group_create` is false."
},
"group_create": {
"type": "boolean",
"_name_": "group_create",
"title": "group_create",
"default": false,
"_required_": false,
"description": "`group` is required if `group_create` is false."
},
"home": {
"_name_": "home",
"title": "home",
"default": "/nonexistent",
"_required_": false,
"type": "string"
},
"home_mode": {
"_name_": "home_mode",
"title": "home_mode",
"default": "755",
"_required_": false,
"type": "string"
},
"shell": {
"_name_": "shell",
"title": "shell",
"default": "/usr/bin/zsh",
"_required_": false,
"type": "string",
"description": "Available choices for `shell` can be retrieved with `user.shell_choices`."
},
"full_name": {
"_name_": "full_name",
"title": "full_name",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string",
"description": "`password` is required if `password_disabled` is false."
},
"password_disabled": {
"type": "boolean",
"_name_": "password_disabled",
"title": "password_disabled",
"default": false,
"_required_": false,
"description": "`password` is required if `password_disabled` is false."
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"default": false,
"_required_": false
},
"microsoft_account": {
"type": "boolean",
"_name_": "microsoft_account",
"title": "microsoft_account",
"default": false,
"_required_": false
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"sshpubkey": {
"_name_": "sshpubkey",
"title": "sshpubkey",
"_required_": false,
"type": [
"string",
"null"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": false,
"_attrs_order_": [],
"description": "`attributes` is a general-purpose object for storing arbitrary user information."
}
},
"additionalProperties": false,
"_name_": "user_create",
"title": "user_create",
"default": {},
"_attrs_order_": [
"uid",
"username",
"group",
"group_create",
"home",
"home_mode",
"shell",
"full_name",
"email",
"password",
"password_disabled",
"locked",
"microsoft_account",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"sshpubkey",
"groups",
"attributes"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "primary_key",
"title": "primary_key"
}
|
Create a new user. If
Available choices for
|
user.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Delete user `id`."
}
{
"type": "object",
"properties": {
"delete_group": {
"type": "boolean",
"_name_": "delete_group",
"title": "delete_group",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"delete_group"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "primary_key",
"title": "primary_key"
}
|
Delete user The |
user.get_next_uid |
---|
Return Arguments:
{
"type": "integer",
"_name_": "next_available_uid",
"title": "next_available_uid"
}
|
Get the next available/free uid. |
user.get_user_obj |
---|
Arguments:
{
"type": "object",
"properties": {
"username": {
"_name_": "username",
"title": "username",
"default": null,
"_required_": false,
"type": "string"
},
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"default": null,
"_required_": false
},
"get_groups": {
"type": "boolean",
"_name_": "get_groups",
"title": "get_groups",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "get_user_obj",
"title": "get_user_obj",
"default": {},
"_attrs_order_": [
"username",
"uid",
"get_groups"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"pw_name": {
"_name_": "pw_name",
"title": "pw_name",
"_required_": false,
"type": "string"
},
"pw_gecos": {
"_name_": "pw_gecos",
"title": "pw_gecos",
"_required_": false,
"type": "string"
},
"pw_dir": {
"_name_": "pw_dir",
"title": "pw_dir",
"_required_": false,
"type": "string"
},
"pw_shell": {
"_name_": "pw_shell",
"title": "pw_shell",
"_required_": false,
"type": "string"
},
"pw_uid": {
"type": "integer",
"_name_": "pw_uid",
"title": "pw_uid",
"_required_": false
},
"pw_gid": {
"type": "integer",
"_name_": "pw_gid",
"title": "pw_gid",
"_required_": false
},
"grouplist": {
"_name_": "grouplist",
"title": "grouplist",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "user_information",
"title": "user_information",
"default": {},
"_attrs_order_": [
"pw_name",
"pw_gecos",
"pw_dir",
"pw_shell",
"pw_uid",
"pw_gid",
"grouplist"
]
}
|
Returns dictionary containing information from struct passwd for the user specified by either the username or uid. Bypasses user cache. |
user.has_root_password |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "has_root_password",
"title": "has_root_password"
}
|
Return whether the root user has a valid password set. This is used when the system is installed without a password and must be set on first use/login. |
user.pop_attribute |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"_name_": "key",
"title": "key",
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "pop_attribute",
"title": "pop_attribute"
}
|
Remove user general purpose |
user.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": false
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"home": {
"_name_": "home",
"title": "home",
"default": "/nonexistent",
"_required_": false,
"type": "string"
},
"shell": {
"_name_": "shell",
"title": "shell",
"default": "/usr/bin/zsh",
"_required_": false,
"type": "string"
},
"full_name": {
"_name_": "full_name",
"title": "full_name",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"password_disabled": {
"type": "boolean",
"_name_": "password_disabled",
"title": "password_disabled",
"default": false,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"default": false,
"_required_": false
},
"microsoft_account": {
"type": "boolean",
"_name_": "microsoft_account",
"title": "microsoft_account",
"default": false,
"_required_": false
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"sshpubkey": {
"_name_": "sshpubkey",
"title": "sshpubkey",
"_required_": false,
"type": [
"string",
"null"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "group",
"title": "group",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"unixhash": {
"_name_": "unixhash",
"title": "unixhash",
"_required_": false,
"type": "string"
},
"smbhash": {
"_name_": "smbhash",
"title": "smbhash",
"_required_": false,
"type": "string"
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "user_entry",
"title": "user_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"uid",
"username",
"home",
"shell",
"full_name",
"email",
"password_disabled",
"locked",
"microsoft_account",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"sshpubkey",
"groups",
"attributes",
"group",
"id",
"builtin",
"id_type_both",
"local",
"unixhash",
"smbhash",
"nt_name",
"sid"
]
}
]
},
{
"type": "object",
"properties": {
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": false
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"home": {
"_name_": "home",
"title": "home",
"default": "/nonexistent",
"_required_": false,
"type": "string"
},
"shell": {
"_name_": "shell",
"title": "shell",
"default": "/usr/bin/zsh",
"_required_": false,
"type": "string"
},
"full_name": {
"_name_": "full_name",
"title": "full_name",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"password_disabled": {
"type": "boolean",
"_name_": "password_disabled",
"title": "password_disabled",
"default": false,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"default": false,
"_required_": false
},
"microsoft_account": {
"type": "boolean",
"_name_": "microsoft_account",
"title": "microsoft_account",
"default": false,
"_required_": false
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"sshpubkey": {
"_name_": "sshpubkey",
"title": "sshpubkey",
"_required_": false,
"type": [
"string",
"null"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "group",
"title": "group",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"unixhash": {
"_name_": "unixhash",
"title": "unixhash",
"_required_": false,
"type": "string"
},
"smbhash": {
"_name_": "smbhash",
"title": "smbhash",
"_required_": false,
"type": "string"
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "user_entry",
"title": "user_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"uid",
"username",
"home",
"shell",
"full_name",
"email",
"password_disabled",
"locked",
"microsoft_account",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"sshpubkey",
"groups",
"attributes",
"group",
"id",
"builtin",
"id_type_both",
"local",
"unixhash",
"smbhash",
"nt_name",
"sid"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": false
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"home": {
"_name_": "home",
"title": "home",
"default": "/nonexistent",
"_required_": false,
"type": "string"
},
"shell": {
"_name_": "shell",
"title": "shell",
"default": "/usr/bin/zsh",
"_required_": false,
"type": "string"
},
"full_name": {
"_name_": "full_name",
"title": "full_name",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"password_disabled": {
"type": "boolean",
"_name_": "password_disabled",
"title": "password_disabled",
"default": false,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"default": false,
"_required_": false
},
"microsoft_account": {
"type": "boolean",
"_name_": "microsoft_account",
"title": "microsoft_account",
"default": false,
"_required_": false
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"sshpubkey": {
"_name_": "sshpubkey",
"title": "sshpubkey",
"_required_": false,
"type": [
"string",
"null"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "group",
"title": "group",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"unixhash": {
"_name_": "unixhash",
"title": "unixhash",
"_required_": false,
"type": "string"
},
"smbhash": {
"_name_": "smbhash",
"title": "smbhash",
"_required_": false,
"type": "string"
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "user_entry",
"title": "user_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"uid",
"username",
"home",
"shell",
"full_name",
"email",
"password_disabled",
"locked",
"microsoft_account",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"sshpubkey",
"groups",
"attributes",
"group",
"id",
"builtin",
"id_type_both",
"local",
"unixhash",
"smbhash",
"nt_name",
"sid"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query users with Expanded information may be requested by specifying the extra option
The following
|
user.set_attribute |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"_name_": "key",
"title": "key",
"type": "string",
"description": "Set user general purpose `attributes` dictionary `key` to `value`."
}
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": false,
"_name_": "value",
"title": "value",
"description": "Set user general purpose `attributes` dictionary `key` to `value`."
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "set_attribute",
"title": "set_attribute"
}
|
Set user general purpose e.g. Setting key="foo" value="var" will result in {"attributes": {"foo": "bar"}} |
user.set_root_password |
---|
Arguments:
{
"_name_": "password",
"title": "password",
"type": "string"
}
{
"type": "object",
"properties": {
"ec2": {
"type": "object",
"properties": {
"instance_id": {
"_name_": "instance_id",
"title": "instance_id",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "ec2",
"title": "ec2",
"default": {},
"_required_": false,
"_attrs_order_": [
"instance_id"
]
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"ec2"
]
}
|
Set password for root user if it is not already set. |
user.shell_choices |
---|
Arguments:
{
"type": [
"integer",
"null"
],
"_name_": "user_id",
"title": "user_id",
"default": null
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "shell_choices",
"title": "shell_choices",
"description": "\n\nExample(s):\n```\n{\n \"/usr/bin/sh\": \"sh\",\n \"/usr/bin/zsh\": \"zsh\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Return the available shell choices to be used in If |
user.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": false,
"description": "If `uid` is not provided it is automatically filled with the next one available."
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"group": {
"type": "integer",
"_name_": "group",
"title": "group",
"_required_": false,
"description": "`group` is required if `group_create` is false."
},
"home": {
"_name_": "home",
"title": "home",
"default": "/nonexistent",
"_required_": false,
"type": "string"
},
"home_mode": {
"_name_": "home_mode",
"title": "home_mode",
"default": "755",
"_required_": false,
"type": "string"
},
"shell": {
"_name_": "shell",
"title": "shell",
"default": "/usr/bin/zsh",
"_required_": false,
"type": "string",
"description": "Available choices for `shell` can be retrieved with `user.shell_choices`."
},
"full_name": {
"_name_": "full_name",
"title": "full_name",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string",
"description": "`password` is required if `password_disabled` is false."
},
"password_disabled": {
"type": "boolean",
"_name_": "password_disabled",
"title": "password_disabled",
"default": false,
"_required_": false,
"description": "`password` is required if `password_disabled` is false."
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"default": false,
"_required_": false
},
"microsoft_account": {
"type": "boolean",
"_name_": "microsoft_account",
"title": "microsoft_account",
"default": false,
"_required_": false
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"sshpubkey": {
"_name_": "sshpubkey",
"title": "sshpubkey",
"_required_": false,
"type": [
"string",
"null"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": false,
"_attrs_order_": [],
"description": "`attributes` is a general-purpose object for storing arbitrary user information."
}
},
"additionalProperties": false,
"_name_": "user_update",
"title": "user_create",
"default": {},
"_attrs_order_": [
"uid",
"username",
"group",
"home",
"home_mode",
"shell",
"full_name",
"email",
"password",
"password_disabled",
"locked",
"microsoft_account",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"sshpubkey",
"groups",
"attributes"
]
}
|
Return Arguments:
{
"type": "integer",
"_name_": "primary_key",
"title": "primary_key"
}
|
Update attributes of an existing user. |
vm.bootloader_options |
---|
Return Arguments:
{
"type": "object",
"properties": {
"UEFI": {
"_name_": "UEFI",
"title": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI"
]
},
"UEFI_CSM": {
"_name_": "UEFI_CSM",
"title": "UEFI_CSM",
"_required_": false,
"type": "string",
"enum": [
"Legacy BIOS"
]
}
},
"additionalProperties": false,
"_name_": "bootloader_options",
"title": "bootloader_options",
"default": {},
"_attrs_order_": [
"UEFI",
"UEFI_CSM"
]
}
|
Supported motherboard firmware options. |
vm.clone |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Clone the VM `id`."
}
{
"_name_": "name",
"title": "name",
"default": null,
"type": "string"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "clone",
"title": "clone"
}
|
Clone the VM
|
vm.cpu_model_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cpu_model_choices",
"title": "cpu_model_choices",
"description": "\n\nExample(s):\n```\n{\n \"486\": \"486\",\n \"pentium\": \"pentium\"\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Retrieve CPU Model choices which can be used with a VM guest to emulate the CPU in the guest. |
vm.create |
---|
Arguments:
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vmdevice_update",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"attributes",
"order"
]
}
],
"description": "`devices` is a list of virtualized hardware to add to the newly created Virtual Machine.\nFailure to attach a device destroys the VM and any resources allocated by the VM devices."
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false,
"description": "`hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and\nis useful to enable when doing GPU passthrough."
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false,
"description": "`ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device.\nFor headless installations like ubuntu server this is required for the guest to operate properly. However\nfor cases where consumer would like to use GPU passthrough and does not want a display device added should set\nthis to `false`."
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false,
"description": "`shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system\nshutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within\n`shutdown_timeout` seconds, system initiates poweroff for the VM to stop it."
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and\nsystem in this case will choose a reasonable default based on host.\n`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
}
},
"additionalProperties": false,
"_name_": "vm_create",
"title": "vm_create",
"default": {},
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
],
"description": "`devices` is a list of virtualized hardware to add to the newly created Virtual Machine.\nFailure to attach a device destroys the VM and any resources allocated by the VM devices."
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false,
"description": "`hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and\nis useful to enable when doing GPU passthrough."
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false,
"description": "`ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device.\nFor headless installations like ubuntu server this is required for the guest to operate properly. However\nfor cases where consumer would like to use GPU passthrough and does not want a display device added should set\nthis to `false`."
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false,
"description": "`shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system\nshutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within\n`shutdown_timeout` seconds, system initiates poweroff for the VM to stop it."
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and\nsystem in this case will choose a reasonable default based on host.\n`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
},
"status": {
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status",
"title": "status",
"default": {},
"_required_": false,
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_create_returns",
"title": "vm_create",
"default": {},
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type",
"status",
"id"
]
}
|
Create a Virtual Machine (VM).
Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a
separate package. Multiple cores can be configured per CPU by specifying
SCALE Angelfish: Specifying |
vm.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"zvols": {
"type": "boolean",
"_name_": "zvols",
"title": "zvols",
"default": false,
"_required_": false
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_delete",
"title": "vm_delete",
"default": {},
"_attrs_order_": [
"zvols",
"force"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a VM. |
vm.flags |
---|
Return Arguments:
{
"type": "object",
"properties": {
"intel_vmx": {
"type": "boolean",
"_name_": "intel_vmx",
"title": "intel_vmx",
"_required_": true
},
"unrestricted_guest": {
"type": "boolean",
"_name_": "unrestricted_guest",
"title": "unrestricted_guest",
"_required_": true
},
"amd_rvi": {
"type": "boolean",
"_name_": "amd_rvi",
"title": "amd_rvi",
"_required_": true
},
"amd_asids": {
"type": "boolean",
"_name_": "amd_asids",
"title": "amd_asids",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "cpu_flags",
"title": "cpu_flags",
"default": {},
"_attrs_order_": [
"intel_vmx",
"unrestricted_guest",
"amd_rvi",
"amd_asids"
]
}
|
Returns a dictionary with CPU flags for the hypervisor. |
vm.get_available_memory |
---|
Arguments:
{
"type": "boolean",
"_name_": "overcommit",
"title": "overcommit",
"default": false,
"description": "If `overcommit` is true only the current used memory of running VMs will be accounted for.\nIf false all memory (including unused) of runnings VMs will be accounted for."
}
|
Return Arguments:
{
"type": "integer",
"_name_": "available_memory",
"title": "available_memory"
}
|
Get the current maximum amount of available memory to be allocated for VMs. If This will include memory shrinking ZFS ARC to the minimum. Memory is of course a very "volatile" resource, values may change abruptly between a second but I deem it good enough to give the user a clue about how much memory is available at the current moment and if a VM should be allowed to be launched. |
vm.get_console |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"_name_": "console_device",
"title": "console_device",
"type": "string"
}
|
Get the console device from a given guest. |
vm.get_display_devices |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"_name_": "get_display_devices",
"title": "get_display_devices",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
}
|
Get the display devices from a given guest. If a display device has password configured,
|
vm.get_display_web_uri |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"_name_": "host",
"title": "host",
"default": "",
"type": "string"
}
{
"type": "object",
"properties": {
"devices_passwords": {
"_name_": "devices_passwords",
"title": "devices_passwords",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"device_id": {
"type": "integer",
"_name_": "device_id",
"title": "device_id",
"_required_": true
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "device_password",
"title": "device_password",
"default": {},
"_required_": false,
"_attrs_order_": [
"device_id",
"password"
]
}
]
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"devices_passwords"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "display_devices_uri",
"title": "display_devices_uri",
"default": {},
"_attrs_order_": []
}
|
Retrieve Display URI's for a given VM. Display devices which have a password configured must specify the password explicitly to retrieve display device web uri. In case a password is not specified, the uri for display device in question will not be retrieved because of missing password information. |
vm.get_memory_usage |
---|
Arguments:
{
"type": "integer",
"_name_": "vm_id",
"title": "vm_id"
}
|
Return Arguments:
{
"type": "integer",
"_name_": "memory_usage",
"title": "memory_usage",
"description": "Memory usage of a VM in bytes"
}
|
- |
vm.get_vmemory_in_use |
---|
Return Arguments:
{
"type": "object",
"properties": {
"RNP": {
"type": "integer",
"_name_": "RNP",
"title": "RNP",
"description": "Running but not provisioned",
"_required_": true
},
"PRD": {
"type": "integer",
"_name_": "PRD",
"title": "PRD",
"description": "Provisioned but not running",
"_required_": true
},
"RPRD": {
"type": "integer",
"_name_": "RPRD",
"title": "RPRD",
"description": "Running and provisioned",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "vmemory_in_use",
"title": "vmemory_in_use",
"default": {},
"_attrs_order_": [
"RNP",
"PRD",
"RPRD"
]
}
|
The total amount of virtual memory in MB used by guests
|
vm.guest_architecture_and_machine_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "guest_architecture_and_machine_choices",
"title": "guest_architecture_and_machine_choices",
"description": "\n\nExample(s):\n```\n{\n \"x86_64\": [\n \"pc-i440fx-5.2\",\n \"pc-q35-5.2\",\n \"pc-i440fx-2.7\"\n ],\n \"i686\": [\n \"pc-i440fx-3.0\",\n \"xenfv\"\n ]\n}\n```\n",
"default": {},
"_attrs_order_": []
}
|
Retrieve choices for supported guest architecture types and machine choices. Keys in the response would be supported guest architecture(s) on the host and their respective values would be supported machine type(s) for the specific architecture on the host. |
vm.maximum_supported_vcpus |
---|
Return Arguments:
{
"type": "integer",
"_name_": "maximum_supported_vcpus",
"title": "maximum_supported_vcpus"
}
|
Returns maximum supported VCPU's |
vm.port_wizard |
---|
Return Arguments:
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"description": "Available server port",
"_required_": true
},
"web": {
"type": "integer",
"_name_": "web",
"title": "web",
"description": "Web port to be used based on available `port`",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "available_display_port",
"title": "available_display_port",
"default": {},
"_attrs_order_": [
"port",
"web"
]
}
|
It returns the next available Display Server Port and Web Port. Returns a dict with two keys |
vm.poweroff |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Poweroff a VM. |
vm.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"status": {
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status",
"title": "status",
"default": {},
"_required_": false,
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_entry",
"title": "vm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type",
"status",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"status": {
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status",
"title": "status",
"default": {},
"_required_": false,
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_entry",
"title": "vm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type",
"status",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"status": {
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status",
"title": "status",
"default": {},
"_required_": false,
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_entry",
"title": "vm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type",
"status",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
vm.random_mac |
---|
Return Arguments:
{
"_name_": "mac",
"title": "mac",
"type": "string"
}
|
Create a random mac address. Returns: str: with six groups of two hexadecimal digits |
vm.resolution_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {
"1920x1200": {
"_name_": "1920x1200",
"title": "1920x1200",
"_required_": false,
"type": "string",
"enum": [
"1920x1200"
]
},
"1920x1080": {
"_name_": "1920x1080",
"title": "1920x1080",
"_required_": false,
"type": "string",
"enum": [
"1920x1080"
]
},
"1600x1200": {
"_name_": "1600x1200",
"title": "1600x1200",
"_required_": false,
"type": "string",
"enum": [
"1600x1200"
]
},
"1600x900": {
"_name_": "1600x900",
"title": "1600x900",
"_required_": false,
"type": "string",
"enum": [
"1600x900"
]
},
"1400x1050": {
"_name_": "1400x1050",
"title": "1400x1050",
"_required_": false,
"type": "string",
"enum": [
"1400x1050"
]
},
"1280x1024": {
"_name_": "1280x1024",
"title": "1280x1024",
"_required_": false,
"type": "string",
"enum": [
"1280x1024"
]
},
"1280x720": {
"_name_": "1280x720",
"title": "1280x720",
"_required_": false,
"type": "string",
"enum": [
"1280x720"
]
},
"1024x768": {
"_name_": "1024x768",
"title": "1024x768",
"_required_": false,
"type": "string",
"enum": [
"1024x768"
]
},
"800x600": {
"_name_": "800x600",
"title": "800x600",
"_required_": false,
"type": "string",
"enum": [
"800x600"
]
},
"640x480": {
"_name_": "640x480",
"title": "640x480",
"_required_": false,
"type": "string",
"enum": [
"640x480"
]
}
},
"additionalProperties": false,
"_name_": "resolution_choices",
"title": "resolution_choices",
"default": {},
"_attrs_order_": [
"1920x1200",
"1920x1080",
"1600x1200",
"1600x900",
"1400x1050",
"1280x1024",
"1280x720",
"1024x768",
"800x600",
"640x480"
]
}
|
Retrieve supported resolution choices for VM Display devices. |
vm.restart
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Restart a VM. |
vm.start |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"overcommit": {
"type": "boolean",
"_name_": "overcommit",
"title": "overcommit",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"overcommit"
]
}
|
Start a VM. options.overcommit defaults to false, meaning VMs are not allowed to start if there is not enough available memory to hold all configured VMs. If true, VM starts even if there is not enough memory for all configured VMs. Error codes:
|
vm.status |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Get the status of `id` VM."
}
|
Return Arguments:
{
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "vm_status",
"title": "vm_status",
"default": {},
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
}
|
Get the status of Returns a dict: - state, RUNNING or STOPPED - pid, process id if RUNNING |
vm.stop
Job
This endpoint is a Job. Please refer to the Jobs section for details.
|
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
},
"force_after_timeout": {
"type": "boolean",
"_name_": "force_after_timeout",
"title": "force_after_timeout",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"force",
"force_after_timeout"
]
}
|
Stops a VM. For unresponsive guests who have exceeded the
|
vm.supports_virtualization |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "supports_virtualization",
"title": "supports_virtualization"
}
|
Returns "true" if system supports virtualization, "false" otherwise |
vm.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "1) If there is no device in the `devices` list which was previously attached to the VM, that device is\n removed from the virtual machine.\n2) Devices are updated in the `devices` list when they contain a valid `id` attribute that corresponds to\n an existing device.\n3) Devices that do not have an `id` attribute are created and attached to `id` VM.\nCreate a Virtual Machine (VM)."
}
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vmdevice_update",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
],
"description": "`devices` is a list of virtualized hardware to attach to the virtual machine. If `devices` is not present,\nno change is made to devices. If either the device list order or data stored by the device changes when the\nattribute is passed, these actions are taken:\n1) If there is no device in the `devices` list which was previously attached to the VM, that device is\n removed from the virtual machine.\n2) Devices are updated in the `devices` list when they contain a valid `id` attribute that corresponds to\n an existing device.\n3) Devices that do not have an `id` attribute are created and attached to `id` VM.\nCreate a Virtual Machine (VM).\n`devices` is a list of virtualized hardware to add to the newly created Virtual Machine.\nFailure to attach a device destroys the VM and any resources allocated by the VM devices."
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false,
"description": "`hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and\nis useful to enable when doing GPU passthrough."
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false,
"description": "`ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device.\nFor headless installations like ubuntu server this is required for the guest to operate properly. However\nfor cases where consumer would like to use GPU passthrough and does not want a display device added should set\nthis to `false`."
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false,
"description": "`shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system\nshutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within\n`shutdown_timeout` seconds, system initiates poweroff for the VM to stop it."
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and\nsystem in this case will choose a reasonable default based on host.\n`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
}
},
"additionalProperties": false,
"_name_": "vm_update",
"title": "vm_create",
"default": {},
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false,
"description": "Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a\nseparate package. Multiple cores can be configured per CPU by specifying `cores` attributes.\n`vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads`\nspecifies number of threads per core."
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
],
"description": "`devices` is a list of virtualized hardware to attach to the virtual machine. If `devices` is not present,\nno change is made to devices. If either the device list order or data stored by the device changes when the\nattribute is passed, these actions are taken:\n1) If there is no device in the `devices` list which was previously attached to the VM, that device is\n removed from the virtual machine.\n2) Devices are updated in the `devices` list when they contain a valid `id` attribute that corresponds to\n an existing device.\n3) Devices that do not have an `id` attribute are created and attached to `id` VM.\nCreate a Virtual Machine (VM).\n`devices` is a list of virtualized hardware to add to the newly created Virtual Machine.\nFailure to attach a device destroys the VM and any resources allocated by the VM devices."
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false,
"description": "`hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and\nis useful to enable when doing GPU passthrough."
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false,
"description": "`ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device.\nFor headless installations like ubuntu server this is required for the guest to operate properly. However\nfor cases where consumer would like to use GPU passthrough and does not want a display device added should set\nthis to `false`."
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false,
"description": "`shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system\nshutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within\n`shutdown_timeout` seconds, system initiates poweroff for the VM to stop it."
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and\nsystem in this case will choose a reasonable default based on host.\n`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
],
"description": "`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`.\nBy default the value is `null` and system in this case will choose a reasonable default based on `arch_type`\nconfiguration."
},
"status": {
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status",
"title": "status",
"default": {},
"_required_": false,
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "1) If there is no device in the `devices` list which was previously attached to the VM, that device is\n removed from the virtual machine.\n2) Devices are updated in the `devices` list when they contain a valid `id` attribute that corresponds to\n an existing device.\n3) Devices that do not have an `id` attribute are created and attached to `id` VM.\nCreate a Virtual Machine (VM)."
}
},
"additionalProperties": false,
"_name_": "vm_update_returns",
"title": "vm_create",
"default": {},
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type",
"status",
"id"
]
}
|
Update all information of a specific VM.
1) If there is no device in the |
vm.virtualization_details |
---|
Return Arguments:
{
"type": "object",
"properties": {
"supported": {
"type": "boolean",
"_name_": "supported",
"title": "supported",
"_required_": true
},
"error": {
"_name_": "error",
"title": "error",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "virtualization_details",
"title": "virtualization_details",
"default": {},
"_attrs_order_": [
"supported",
"error"
]
}
|
Retrieve details if virtualization is supported on the system and in case why it's not supported if it isn't. |
vm.device.bind_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "bind_choices",
"title": "bind_choices",
"default": {},
"_attrs_order_": []
}
|
Available choices for Bind attribute. |
vm.device.create |
---|
Arguments:
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
],
"description": "If `dtype` is the `RAW` type and a new raw file is to be created, `attributes.exists` will be passed as false.\nThis means the API handles creating the raw file and raises the appropriate exception if file creation fails."
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true,
"description": "Create a new device for the VM of id `vm`."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vmdevice_create",
"title": "vmdevice_create",
"default": {},
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
],
"description": "If `dtype` is the `RAW` type and a new raw file is to be created, `attributes.exists` will be passed as false.\nThis means the API handles creating the raw file and raises the appropriate exception if file creation fails."
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true,
"description": "Create a new device for the VM of id `vm`."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_create_returns",
"title": "vmdevice_create",
"default": {},
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
|
Create a new device for the VM of id If If |
vm.device.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
{
"type": "object",
"properties": {
"zvol": {
"type": "boolean",
"_name_": "zvol",
"title": "zvol",
"default": false,
"_required_": false
},
"raw_file": {
"type": "boolean",
"_name_": "raw_file",
"title": "raw_file",
"default": false,
"_required_": false
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_delete",
"title": "vm_device_delete",
"default": {},
"_attrs_order_": [
"zvol",
"raw_file",
"force"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete a VM device of |
vm.device.iommu_enabled |
---|
Return Arguments:
{
"type": "boolean",
"_name_": "iommu_enabled",
"title": "iommu_enabled"
}
|
Returns "true" if iommu is enabled, "false" otherwise |
vm.device.nic_attach_choices |
---|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "nic_attach_choices",
"title": "nic_attach_choices",
"default": {},
"_attrs_order_": []
}
|
Available choices for NIC Attach attribute. |
vm.device.passthrough_device |
---|
Arguments:
{
"_name_": "device",
"title": "device",
"type": "string"
}
|
Return Arguments:
{
"type": "object",
"properties": {
"capability": {
"type": "object",
"properties": {
"class": {
"_name_": "class",
"title": "class",
"_required_": true,
"type": [
"string",
"null"
]
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": [
"string",
"null"
]
},
"slot": {
"_name_": "slot",
"title": "slot",
"_required_": true,
"type": [
"string",
"null"
]
},
"function": {
"_name_": "function",
"title": "function",
"_required_": true,
"type": [
"string",
"null"
]
},
"product": {
"_name_": "product",
"title": "product",
"_required_": true,
"type": [
"string",
"null"
]
},
"vendor": {
"_name_": "vendor",
"title": "vendor",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "capability",
"title": "capability",
"default": {},
"_required_": true,
"_attrs_order_": [
"class",
"domain",
"bus",
"slot",
"function",
"product",
"vendor"
]
},
"iommu_group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iommu_group",
"title": "iommu_group",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"drivers": {
"_name_": "drivers",
"title": "drivers",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"available": {
"type": "boolean",
"_name_": "available",
"title": "available",
"_required_": true
},
"reset_mechanism_defined": {
"type": "boolean",
"_name_": "reset_mechanism_defined",
"title": "reset_mechanism_defined",
"_required_": true
},
"error": {
"_name_": "error",
"title": "error",
"_required_": true,
"type": [
"string",
"null"
]
},
"device_path": {
"_name_": "device_path",
"title": "device_path",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "passthrough_device",
"title": "passthrough_device",
"default": {},
"_attrs_order_": [
"capability",
"iommu_group",
"drivers",
"available",
"reset_mechanism_defined",
"error",
"device_path"
]
}
|
Retrieve details about |
vm.device.passthrough_device_choices |
---|
Return Arguments:
{
"_name_": "passthrough_device_choices",
"title": "passthrough_device_choices",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"capability": {
"type": "object",
"properties": {
"class": {
"_name_": "class",
"title": "class",
"_required_": true,
"type": [
"string",
"null"
]
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": [
"string",
"null"
]
},
"slot": {
"_name_": "slot",
"title": "slot",
"_required_": true,
"type": [
"string",
"null"
]
},
"function": {
"_name_": "function",
"title": "function",
"_required_": true,
"type": [
"string",
"null"
]
},
"product": {
"_name_": "product",
"title": "product",
"_required_": true,
"type": [
"string",
"null"
]
},
"vendor": {
"_name_": "vendor",
"title": "vendor",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "capability",
"title": "capability",
"default": {},
"_required_": true,
"_attrs_order_": [
"class",
"domain",
"bus",
"slot",
"function",
"product",
"vendor"
]
},
"iommu_group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iommu_group",
"title": "iommu_group",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"drivers": {
"_name_": "drivers",
"title": "drivers",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"available": {
"type": "boolean",
"_name_": "available",
"title": "available",
"_required_": true
},
"reset_mechanism_defined": {
"type": "boolean",
"_name_": "reset_mechanism_defined",
"title": "reset_mechanism_defined",
"_required_": true
},
"error": {
"_name_": "error",
"title": "error",
"_required_": true,
"type": [
"string",
"null"
]
},
"device_path": {
"_name_": "device_path",
"title": "device_path",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "passthrough_device",
"title": "passthrough_device",
"default": {},
"_required_": false,
"_attrs_order_": [
"capability",
"iommu_group",
"drivers",
"available",
"reset_mechanism_defined",
"error",
"device_path"
]
}
]
}
|
Available choices for PCI passthru devices. |
vm.device.pptdev_choices |
---|
Return Arguments:
{
"_name_": "passthrough_device_choices",
"title": "passthrough_device_choices",
"default": [],
"type": "array",
"items": [
{
"type": "object",
"properties": {
"capability": {
"type": "object",
"properties": {
"class": {
"_name_": "class",
"title": "class",
"_required_": true,
"type": [
"string",
"null"
]
},
"domain": {
"_name_": "domain",
"title": "domain",
"_required_": true,
"type": [
"string",
"null"
]
},
"bus": {
"_name_": "bus",
"title": "bus",
"_required_": true,
"type": [
"string",
"null"
]
},
"slot": {
"_name_": "slot",
"title": "slot",
"_required_": true,
"type": [
"string",
"null"
]
},
"function": {
"_name_": "function",
"title": "function",
"_required_": true,
"type": [
"string",
"null"
]
},
"product": {
"_name_": "product",
"title": "product",
"_required_": true,
"type": [
"string",
"null"
]
},
"vendor": {
"_name_": "vendor",
"title": "vendor",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "capability",
"title": "capability",
"default": {},
"_required_": true,
"_attrs_order_": [
"class",
"domain",
"bus",
"slot",
"function",
"product",
"vendor"
]
},
"iommu_group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iommu_group",
"title": "iommu_group",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"drivers": {
"_name_": "drivers",
"title": "drivers",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"available": {
"type": "boolean",
"_name_": "available",
"title": "available",
"_required_": true
},
"reset_mechanism_defined": {
"type": "boolean",
"_name_": "reset_mechanism_defined",
"title": "reset_mechanism_defined",
"_required_": true
},
"error": {
"_name_": "error",
"title": "error",
"_required_": true,
"type": [
"string",
"null"
]
},
"device_path": {
"_name_": "device_path",
"title": "device_path",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "passthrough_device",
"title": "passthrough_device",
"default": {},
"_required_": false,
"_attrs_order_": [
"capability",
"iommu_group",
"drivers",
"available",
"reset_mechanism_defined",
"error",
"device_path"
]
}
]
}
|
Available choices for PCI passthru device. |
vm.device.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
},
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
vm.device.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update a VM device of `id`."
}
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
],
"description": "Pass `attributes.size` to resize a `dtype` `RAW` device. The raw file will be resized.\nIf `dtype` is the `RAW` type and a new raw file is to be created, `attributes.exists` will be passed as false.\nThis means the API handles creating the raw file and raises the appropriate exception if file creation fails."
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true,
"description": "Create a new device for the VM of id `vm`."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_update",
"title": "vmdevice_create",
"default": {},
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
],
"description": "Pass `attributes.size` to resize a `dtype` `RAW` device. The raw file will be resized.\nIf `dtype` is the `RAW` type and a new raw file is to be created, `attributes.exists` will be passed as false.\nThis means the API handles creating the raw file and raises the appropriate exception if file creation fails."
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true,
"description": "Create a new device for the VM of id `vm`."
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false,
"description": "Update a VM device of `id`."
}
},
"additionalProperties": false,
"_name_": "vm_device_update_returns",
"title": "vmdevice_create",
"default": {},
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
|
Update a VM device of Pass |
vmware.create |
---|
Arguments:
{
"type": "object",
"properties": {
"datastore": {
"_name_": "datastore",
"title": "datastore",
"_required_": true,
"type": "string"
},
"filesystem": {
"_name_": "filesystem",
"title": "filesystem",
"_required_": true,
"type": "string"
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string",
"description": "`hostname` is a valid IP address / hostname of a VMWare host. When clustering, this is the vCenter server for\nthe cluster."
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string",
"description": "`username` and `password` are the credentials used to authorize access to the VMWare host."
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string",
"description": "`username` and `password` are the credentials used to authorize access to the VMWare host."
}
},
"additionalProperties": false,
"_name_": "vmware_create",
"title": "vmware_create",
"default": {},
"_attrs_order_": [
"datastore",
"filesystem",
"hostname",
"password",
"username"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vmware_create_returns",
"title": "vmware_entry",
"default": {},
"_attrs_order_": []
}
|
Create VMWare snapshot.
|
vmware.dataset_has_vms |
---|
Arguments:
{
"_name_": "dataset",
"title": "dataset",
"type": "string"
}
{
"type": "boolean",
"_name_": "recursive",
"title": "recursive"
}
|
Returns "true" if |
vmware.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete VMWare snapshot of |
vmware.get_datastores |
---|
Arguments:
{
"type": "object",
"properties": {
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "vmware-creds",
"title": "vmware-creds",
"default": {},
"_attrs_order_": [
"hostname",
"username",
"password"
]
}
|
Get datastores from VMWare. |
vmware.get_virtual_machines |
---|
Arguments:
{
"type": "integer",
"_name_": "pk",
"title": "pk"
}
|
Returns Virtual Machines on the VMWare host identified by |
vmware.match_datastores_with_datasets |
---|
Arguments:
{
"type": "object",
"properties": {
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string"
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "vmware-creds",
"title": "vmware-creds",
"default": {},
"_attrs_order_": [
"hostname",
"username",
"password"
]
}
|
Requests datastores from vCenter server and tries to match them with local filesystems. Returns a list of datastores, a list of local filesystems and guessed relationship between them. |
|
vmware.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vmware_entry",
"title": "vmware_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vmware_entry",
"title": "vmware_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vmware_entry",
"title": "vmware_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
vmware.update |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id",
"description": "Update VMWare snapshot of `id`.\nCreate VMWare snapshot."
}
{
"type": "object",
"properties": {
"datastore": {
"_name_": "datastore",
"title": "datastore",
"_required_": true,
"type": "string"
},
"filesystem": {
"_name_": "filesystem",
"title": "filesystem",
"_required_": true,
"type": "string"
},
"hostname": {
"_name_": "hostname",
"title": "hostname",
"_required_": true,
"type": "string",
"description": "`hostname` is a valid IP address / hostname of a VMWare host. When clustering, this is the vCenter server for\nthe cluster."
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string",
"description": "`username` and `password` are the credentials used to authorize access to the VMWare host."
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string",
"description": "`username` and `password` are the credentials used to authorize access to the VMWare host."
}
},
"additionalProperties": false,
"_name_": "vmware_update",
"title": "vmware_create",
"default": {},
"_attrs_order_": [
"datastore",
"filesystem",
"hostname",
"password",
"username"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vmware_update_returns",
"title": "vmware_entry",
"default": {},
"_attrs_order_": []
}
|
Update VMWare snapshot of |
webdav.config |
---|
Return Arguments:
{
"type": "object",
"properties": {
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"HTTP",
"HTTPS",
"HTTPHTTPS"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"tcpport": {
"type": "integer",
"_name_": "tcpport",
"title": "tcpport",
"_required_": true
},
"tcpportssl": {
"type": "integer",
"_name_": "tcpportssl",
"title": "tcpportssl",
"_required_": true
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
},
"htauth": {
"_name_": "htauth",
"title": "htauth",
"_required_": true,
"type": "string",
"enum": [
"NONE",
"BASIC",
"DIGEST"
]
},
"certssl": {
"type": [
"integer",
"null"
],
"_name_": "certssl",
"title": "certssl",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "webdav_entry",
"title": "webdav_entry",
"default": {},
"_attrs_order_": [
"protocol",
"id",
"tcpport",
"tcpportssl",
"password",
"htauth",
"certssl"
]
}
|
- |
webdav.update |
---|
Arguments:
{
"type": "object",
"properties": {
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"HTTP",
"HTTPS",
"HTTPHTTPS"
],
"description": "`protocol` specifies which protocol should be used for connecting to Webdav Serivce. Value of \"HTTPHTTPS\"\nallows both HTTP and HTTPS connections to the share."
},
"tcpport": {
"type": "integer",
"_name_": "tcpport",
"title": "tcpport",
"_required_": true
},
"tcpportssl": {
"type": "integer",
"_name_": "tcpportssl",
"title": "tcpportssl",
"_required_": true
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
},
"htauth": {
"_name_": "htauth",
"title": "htauth",
"_required_": true,
"type": "string",
"enum": [
"NONE",
"BASIC",
"DIGEST"
]
},
"certssl": {
"type": [
"integer",
"null"
],
"_name_": "certssl",
"title": "certssl",
"_required_": true,
"description": "`certssl` is a valid id of a certificate configured in the system. This is required if HTTPS connection is\ndesired with Webdave Service."
}
},
"additionalProperties": false,
"_name_": "webdav_update",
"title": "webdav_entry",
"default": {},
"_attrs_order_": [
"protocol",
"tcpport",
"tcpportssl",
"password",
"htauth",
"certssl"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string",
"enum": [
"HTTP",
"HTTPS",
"HTTPHTTPS"
],
"description": "`protocol` specifies which protocol should be used for connecting to Webdav Serivce. Value of \"HTTPHTTPS\"\nallows both HTTP and HTTPS connections to the share."
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"tcpport": {
"type": "integer",
"_name_": "tcpport",
"title": "tcpport",
"_required_": true
},
"tcpportssl": {
"type": "integer",
"_name_": "tcpportssl",
"title": "tcpportssl",
"_required_": true
},
"password": {
"_name_": "password",
"title": "password",
"_required_": true,
"type": "string"
},
"htauth": {
"_name_": "htauth",
"title": "htauth",
"_required_": true,
"type": "string",
"enum": [
"NONE",
"BASIC",
"DIGEST"
]
},
"certssl": {
"type": [
"integer",
"null"
],
"_name_": "certssl",
"title": "certssl",
"_required_": true,
"description": "`certssl` is a valid id of a certificate configured in the system. This is required if HTTPS connection is\ndesired with Webdave Service."
}
},
"additionalProperties": false,
"_name_": "webdav_update_returns",
"title": "webdav_entry",
"default": {},
"_attrs_order_": [
"protocol",
"id",
"tcpport",
"tcpportssl",
"password",
"htauth",
"certssl"
]
}
|
Update Webdav Service Configuration.
There are 3 types of Authentication supported with Webdav: 1) NONE - No authentication is required 2) BASIC - Password is sent over the network as plaintext 3) DIGEST - Hash of the password is sent over the network
|
webui.image.create |
---|
Arguments:
{
"type": "object",
"properties": {
"identifier": {
"_name_": "identifier",
"title": "identifier",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"identifier"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "webui_image_create_returns",
"title": "webui_image_entry",
"default": {},
"_attrs_order_": []
}
|
Create a new database entry with identifier as the tag, all entries are lowercased Then puts the file in the /var/db/system/webui/images directory |
webui.image.delete |
---|
Arguments:
{
"type": "integer",
"_name_": "id",
"title": "id"
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Remove the database entry, and then the item if it exists |
webui.image.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "webui_image_entry",
"title": "webui_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "webui_image_entry",
"title": "webui_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "webui_image_entry",
"title": "webui_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
- |
zfs.snapshot.clone |
---|
Arguments:
{
"type": "object",
"properties": {
"snapshot": {
"_name_": "snapshot",
"title": "snapshot",
"_required_": true,
"type": "string"
},
"dataset_dst": {
"_name_": "dataset_dst",
"title": "dataset_dst",
"_required_": true,
"type": "string"
},
"dataset_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "dataset_properties",
"title": "dataset_properties",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "snapshot_clone",
"title": "snapshot_clone",
"default": {},
"_attrs_order_": [
"snapshot",
"dataset_dst",
"dataset_properties"
]
}
|
Clone a given snapshot to a new dataset. Returns: bool: True if succeed otherwise False. |
zfs.snapshot.create |
---|
Arguments:
{
"type": "object",
"properties": {
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"naming_schema": {
"_name_": "naming_schema",
"title": "naming_schema",
"_required_": false,
"type": "string"
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
},
"exclude": {
"_name_": "exclude",
"title": "exclude",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "dataset",
"title": "dataset",
"_required_": false,
"type": "string"
}
]
},
"vmware_sync": {
"type": "boolean",
"_name_": "vmware_sync",
"title": "vmware_sync",
"default": false,
"_required_": false
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "snapshot_create",
"title": "snapshot_create",
"default": {},
"_attrs_order_": [
"dataset",
"name",
"naming_schema",
"recursive",
"exclude",
"vmware_sync",
"properties"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "zfs_snapshot_create_returns",
"title": "zfs_snapshot_entry",
"default": {},
"_attrs_order_": []
}
|
Take a snapshot from a given dataset. |
zfs.snapshot.delete |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Delete snapshot of name `id`."
}
{
"type": "object",
"properties": {
"defer": {
"type": "boolean",
"_name_": "defer",
"title": "defer",
"default": false,
"_required_": false
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"defer",
"recursive"
]
}
|
Return Arguments:
{
"type": "boolean",
"_name_": "deleted",
"title": "deleted",
"description": "Will return `true` if `id` is deleted successfully"
}
|
Delete snapshot of name
|
zfs.snapshot.query |
---|
Arguments:
{
"_name_": "query-filters",
"title": "query-filters",
"default": [],
"type": "array",
"items": []
}
{
"type": "object",
"properties": {
"relationships": {
"type": "boolean",
"_name_": "relationships",
"title": "relationships",
"default": true,
"_required_": false
},
"extend": {
"_name_": "extend",
"title": "extend",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extend_context": {
"_name_": "extend_context",
"title": "extend_context",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"prefix": {
"_name_": "prefix",
"title": "prefix",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extra",
"title": "extra",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"order_by": {
"_name_": "order_by",
"title": "order_by",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"select": {
"_name_": "select",
"title": "select",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"count": {
"type": "boolean",
"_name_": "count",
"title": "count",
"default": false,
"_required_": false
},
"get": {
"type": "boolean",
"_name_": "get",
"title": "get",
"default": false,
"_required_": false
},
"offset": {
"type": "integer",
"_name_": "offset",
"title": "offset",
"default": 0,
"_required_": false
},
"limit": {
"type": "integer",
"_name_": "limit",
"title": "limit",
"default": 0,
"_required_": false
},
"force_sql_filters": {
"type": "boolean",
"_name_": "force_sql_filters",
"title": "force_sql_filters",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "query-options",
"title": "query-options",
"default": {},
"_attrs_order_": [
"relationships",
"extend",
"extend_context",
"prefix",
"extra",
"order_by",
"select",
"count",
"get",
"offset",
"limit",
"force_sql_filters"
]
}
|
Return Arguments:
{
"anyOf": [
{
"_name_": "query_result",
"title": "query_result",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "zfs_snapshot_entry",
"title": "zfs_snapshot_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "zfs_snapshot_entry",
"title": "zfs_snapshot_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
},
{
"type": "integer",
"_name_": "count",
"title": "count",
"_required_": false
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "zfs_snapshot_entry",
"title": "zfs_snapshot_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "query_result",
"description": null
}
|
Query all ZFS Snapshots with |
zfs.snapshot.remove |
---|
Arguments:
{
"type": "object",
"properties": {
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"defer_delete": {
"type": "boolean",
"_name_": "defer_delete",
"title": "defer_delete",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "snapshot_remove",
"title": "snapshot_remove",
"default": {},
"_attrs_order_": [
"dataset",
"name",
"defer_delete"
]
}
|
Remove a snapshot from a given dataset. Returns: bool: True if succeed otherwise False. |
zfs.snapshot.rollback |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string",
"description": "Rollback to a given snapshot `id`."
}
{
"type": "object",
"properties": {
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"default": false,
"_required_": false,
"description": "`options.recursive_clones` is just like `recursive` but will also destroy any clones."
},
"recursive_clones": {
"type": "boolean",
"_name_": "recursive_clones",
"title": "recursive_clones",
"default": false,
"_required_": false
},
"force": {
"type": "boolean",
"_name_": "force",
"title": "force",
"default": false,
"_required_": false
},
"recursive_rollback": {
"type": "boolean",
"_name_": "recursive_rollback",
"title": "recursive_rollback",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "options",
"title": "options",
"default": {},
"_attrs_order_": [
"recursive",
"recursive_clones",
"force",
"recursive_rollback"
]
}
|
Rollback to a given snapshot
|
zfs.snapshot.update |
---|
Arguments:
{
"_name_": "id",
"title": "id",
"type": "string"
}
{
"type": "object",
"properties": {
"user_properties_update": {
"_name_": "user_properties_update",
"title": "user_properties_update",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"key": {
"_name_": "key",
"title": "key",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": "string"
},
"remove": {
"type": "boolean",
"_name_": "remove",
"title": "remove",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "user_property",
"title": "user_property",
"default": {},
"_required_": false,
"_attrs_order_": [
"key",
"value",
"remove"
]
}
]
}
},
"additionalProperties": false,
"_name_": "snapshot_update",
"title": "snapshot_update",
"default": {},
"_attrs_order_": [
"user_properties_update"
]
}
|
Return Arguments:
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "zfs_snapshot_update_returns",
"title": "zfs_snapshot_entry",
"default": {},
"_attrs_order_": []
}
|
- |
Events are triggers that are generated under certain scenarios or at a certain period of time.
Some events can accept arguments and return results that are influenced by those arguments. Follow this format to pass arguments to events:
event_name:arg
If arg
is accepted by the event, it is parsed automatically. Events that do not accept
arguments only use the event name when subscribing to the event.
Updates on job changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "core.get_jobs",
"title": "core.get_jobs",
"_required_": false
}
]
Sent on acme.dns.authenticator changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"authenticator": {
"_name_": "authenticator",
"title": "authenticator",
"_required_": true,
"type": "string",
"enum": [
"cloudflare",
"route53"
]
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"description": "Specific attributes of each `authenticator`",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"name": {
"_name_": "name",
"title": "name",
"description": "User defined name of authenticator",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "acme_dns_authenticator_entry",
"title": "acme_dns_authenticator_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"authenticator",
"attributes",
"name"
]
}
]
Sent on alertservice changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"level": {
"_name_": "level",
"title": "level",
"_required_": true,
"type": "string",
"enum": [
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type__title": {
"_name_": "type__title",
"title": "type__title",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alertservice_entry",
"title": "alert_service_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"level",
"enabled",
"id",
"type__title"
]
}
]
Sent on api_key changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "api_key_entry",
"title": "api_key_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on bootenv changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"realname": {
"_name_": "realname",
"title": "realname",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"active": {
"_name_": "active",
"title": "active",
"_required_": false,
"type": "string"
},
"activated": {
"type": "boolean",
"_name_": "activated",
"title": "activated",
"_required_": false
},
"can_activate": {
"type": "boolean",
"_name_": "can_activate",
"title": "can_activate",
"_required_": false
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": "string"
},
"space": {
"_name_": "space",
"title": "space",
"_required_": false,
"type": "string"
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"keep": {
"type": "boolean",
"_name_": "keep",
"title": "keep",
"_required_": false
},
"rawspace": {
"type": "integer",
"_name_": "rawspace",
"title": "rawspace",
"_required_": false
}
},
"additionalProperties": true,
"_name_": "bootenv_entry",
"title": "bootenv_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"realname",
"name",
"active",
"activated",
"can_activate",
"mountpoint",
"space",
"created",
"keep",
"rawspace"
]
}
]
Sent on catalog changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"label": {
"_name_": "label",
"title": "label",
"_required_": true,
"type": "string"
},
"repository": {
"_name_": "repository",
"title": "repository",
"_required_": true,
"type": "string"
},
"branch": {
"_name_": "branch",
"title": "branch",
"_required_": true,
"type": "string"
},
"location": {
"_name_": "location",
"title": "location",
"_required_": true,
"type": "string"
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"preferred_trains": {
"_name_": "preferred_trains",
"title": "preferred_trains",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"trains": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "trains",
"title": "trains",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": false
},
"error": {
"type": "boolean",
"_name_": "error",
"title": "error",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"cached": {
"type": "boolean",
"_name_": "cached",
"title": "cached",
"_required_": false
},
"caching_progress": {
"type": "object",
"properties": {
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": [
"string",
"null"
]
},
"extra": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "extra",
"title": "extra",
"_required_": false
},
"percent": {
"type": [
"float",
"null"
],
"_name_": "percent",
"title": "percent",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "caching_progress",
"title": "caching_progress",
"default": {},
"_required_": false,
"_attrs_order_": [
"description",
"extra",
"percent"
]
},
"caching_job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "caching_job",
"title": "caching_job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "catalog_entry",
"title": "catalog_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"label",
"repository",
"branch",
"location",
"id",
"preferred_trains",
"trains",
"healthy",
"error",
"builtin",
"cached",
"caching_progress",
"caching_job"
]
}
]
Sent on certificate changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificate_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates"
]
}
]
Sent on certificateauthority changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"type": "integer",
"_name_": "type",
"title": "type",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"certificate": {
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey": {
"_name_": "privatekey",
"title": "privatekey",
"_required_": false,
"type": [
"string",
"null"
]
},
"CSR": {
"_name_": "CSR",
"title": "CSR",
"_required_": false,
"type": [
"string",
"null"
]
},
"acme_uri": {
"_name_": "acme_uri",
"title": "acme_uri",
"_required_": false,
"type": [
"string",
"null"
]
},
"domains_authenticators": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "domains_authenticators",
"title": "domains_authenticators",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"renew_days": {
"type": "integer",
"_name_": "renew_days",
"title": "renew_days",
"_required_": false
},
"revoked_date": {
"_name_": "revoked_date",
"title": "revoked_date",
"_required_": false,
"type": [
"string",
"null"
]
},
"signedby": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "signedby",
"title": "signedby",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"root_path": {
"_name_": "root_path",
"title": "root_path",
"_required_": false,
"type": "string"
},
"acme": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "acme",
"title": "acme",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"certificate_path": {
"_name_": "certificate_path",
"title": "certificate_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"privatekey_path": {
"_name_": "privatekey_path",
"title": "privatekey_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"csr_path": {
"_name_": "csr_path",
"title": "csr_path",
"_required_": false,
"type": [
"string",
"null"
]
},
"cert_type": {
"_name_": "cert_type",
"title": "cert_type",
"_required_": false,
"type": "string"
},
"revoked": {
"type": "boolean",
"_name_": "revoked",
"title": "revoked",
"_required_": false
},
"issuer": {
"anyOf": [
{
"_name_": "issuer",
"title": "issuer",
"_required_": false,
"type": [
"string",
"null"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "issuer",
"title": "issuer",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "issuer",
"description": null,
"_required_": false
},
"chain_list": {
"_name_": "chain_list",
"title": "chain_list",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "certificate",
"title": "certificate",
"_required_": false,
"type": "string"
}
]
},
"country": {
"_name_": "country",
"title": "country",
"_required_": false,
"type": [
"string",
"null"
]
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": [
"string",
"null"
]
},
"city": {
"_name_": "city",
"title": "city",
"_required_": false,
"type": [
"string",
"null"
]
},
"organization": {
"_name_": "organization",
"title": "organization",
"_required_": false,
"type": [
"string",
"null"
]
},
"organizational_unit": {
"_name_": "organizational_unit",
"title": "organizational_unit",
"_required_": false,
"type": [
"string",
"null"
]
},
"san": {
"_name_": "san",
"title": "san",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": [
{
"_name_": "san_entry",
"title": "san_entry",
"_required_": false,
"type": "string"
}
]
},
"email": {
"_name_": "email",
"title": "email",
"_required_": false,
"type": [
"string",
"null"
]
},
"DN": {
"_name_": "DN",
"title": "DN",
"_required_": false,
"type": [
"string",
"null"
]
},
"subject_name_hash": {
"_name_": "subject_name_hash",
"title": "subject_name_hash",
"_required_": false,
"type": [
"string",
"null"
]
},
"digest_algorithm": {
"_name_": "digest_algorithm",
"title": "digest_algorithm",
"_required_": false,
"type": [
"string",
"null"
]
},
"from": {
"_name_": "from",
"title": "from",
"_required_": false,
"type": [
"string",
"null"
]
},
"common": {
"_name_": "common",
"title": "common",
"_required_": false,
"type": [
"string",
"null"
]
},
"until": {
"_name_": "until",
"title": "until",
"_required_": false,
"type": [
"string",
"null"
]
},
"fingerprint": {
"_name_": "fingerprint",
"title": "fingerprint",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_type": {
"_name_": "key_type",
"title": "key_type",
"_required_": false,
"type": [
"string",
"null"
]
},
"internal": {
"_name_": "internal",
"title": "internal",
"_required_": false,
"type": [
"string",
"null"
]
},
"lifetime": {
"type": [
"integer",
"null"
],
"_name_": "lifetime",
"title": "lifetime",
"_required_": false
},
"serial": {
"type": [
"integer",
"null"
],
"_name_": "serial",
"title": "serial",
"_required_": false
},
"key_length": {
"type": [
"integer",
"null"
],
"_name_": "key_length",
"title": "key_length",
"_required_": false
},
"chain": {
"type": [
"boolean",
"null"
],
"_name_": "chain",
"title": "chain",
"_required_": false
},
"CA_type_existing": {
"type": "boolean",
"_name_": "CA_type_existing",
"title": "CA_type_existing",
"_required_": false
},
"CA_type_internal": {
"type": "boolean",
"_name_": "CA_type_internal",
"title": "CA_type_internal",
"_required_": false
},
"CA_type_intermediate": {
"type": "boolean",
"_name_": "CA_type_intermediate",
"title": "CA_type_intermediate",
"_required_": false
},
"cert_type_existing": {
"type": "boolean",
"_name_": "cert_type_existing",
"title": "cert_type_existing",
"_required_": false
},
"cert_type_internal": {
"type": "boolean",
"_name_": "cert_type_internal",
"title": "cert_type_internal",
"_required_": false
},
"cert_type_CSR": {
"type": "boolean",
"_name_": "cert_type_CSR",
"title": "cert_type_CSR",
"_required_": false
},
"parsed": {
"type": "boolean",
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"can_be_revoked": {
"type": "boolean",
"_name_": "can_be_revoked",
"title": "can_be_revoked",
"_required_": false
},
"extensions": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "extensions",
"title": "extensions",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"revoked_certs": {
"_name_": "revoked_certs",
"title": "revoked_certs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"crl_path": {
"_name_": "crl_path",
"title": "crl_path",
"_required_": false,
"type": "string"
},
"signed_certificates": {
"type": "integer",
"_name_": "signed_certificates",
"title": "signed_certificates",
"_required_": false
},
"add_to_trusted_store": {
"type": "boolean",
"_name_": "add_to_trusted_store",
"title": "add_to_trusted_store",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "certificateauthority_entry",
"title": "certificate_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"certificate",
"privatekey",
"CSR",
"acme_uri",
"domains_authenticators",
"renew_days",
"revoked_date",
"signedby",
"root_path",
"acme",
"certificate_path",
"privatekey_path",
"csr_path",
"cert_type",
"revoked",
"issuer",
"chain_list",
"country",
"state",
"city",
"organization",
"organizational_unit",
"san",
"email",
"DN",
"subject_name_hash",
"digest_algorithm",
"from",
"common",
"until",
"fingerprint",
"key_type",
"internal",
"lifetime",
"serial",
"key_length",
"chain",
"CA_type_existing",
"CA_type_internal",
"CA_type_intermediate",
"cert_type_existing",
"cert_type_internal",
"cert_type_CSR",
"parsed",
"can_be_revoked",
"extensions",
"revoked_certs",
"crl_path",
"signed_certificates",
"add_to_trusted_store"
]
}
]
Sent on chart.release changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"info": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "info",
"title": "info",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"config": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "config",
"title": "config",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"hooks": {
"_name_": "hooks",
"title": "hooks",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"version": {
"type": "integer",
"_name_": "version",
"title": "version",
"description": "Version of chart release",
"_required_": true
},
"namespace": {
"_name_": "namespace",
"title": "namespace",
"_required_": true,
"type": "string"
},
"chart_metadata": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"description": "Name of application",
"_required_": true,
"type": "string"
},
"version": {
"_name_": "version",
"title": "version",
"description": "Version of application",
"_required_": true,
"type": "string"
},
"latest_chart_version": {
"_name_": "latest_chart_version",
"title": "latest_chart_version",
"description": "Latest available version of application",
"_required_": true,
"type": "string"
}
},
"additionalProperties": true,
"_name_": "chart_metadata",
"title": "chart_metadata",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"version",
"latest_chart_version"
]
},
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"catalog": {
"_name_": "catalog",
"title": "catalog",
"_required_": true,
"type": "string"
},
"catalog_train": {
"_name_": "catalog_train",
"title": "catalog_train",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"dataset": {
"_name_": "dataset",
"title": "dataset",
"_required_": true,
"type": "string"
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"used_ports": {
"_name_": "used_ports",
"title": "used_ports",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"_name_": "port",
"title": "port",
"_required_": true
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "port",
"title": "port",
"default": {},
"_required_": false,
"_attrs_order_": [
"port",
"protocol"
]
}
]
},
"pod_status": {
"type": "object",
"properties": {
"available": {
"type": "integer",
"_name_": "available",
"title": "available",
"_required_": true
},
"desired": {
"type": "integer",
"_name_": "desired",
"title": "desired",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "pod_status",
"title": "pod_status",
"default": {},
"_required_": true,
"_attrs_order_": [
"available",
"desired"
]
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": true
},
"human_version": {
"_name_": "human_version",
"title": "human_version",
"description": "Human friendly version identifier for chart release",
"_required_": true,
"type": "string"
},
"human_latest_version": {
"_name_": "human_latest_version",
"title": "human_latest_version",
"description": "Human friendly latest available version identifier for chart release",
"_required_": true,
"type": "string"
},
"container_images_update_available": {
"type": "boolean",
"_name_": "container_images_update_available",
"title": "container_images_update_available",
"description": "Will be set when any image(s) being used in the chart release has a newer version available",
"_required_": true
},
"portals": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "portals",
"title": "portals",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"chart_schema": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "chart_schema",
"title": "chart_schema",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"history": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "history",
"title": "history",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"resources": {
"type": "object",
"properties": {
"storage_class": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "storage_class",
"title": "storage_class",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"persistent_volumes": {
"_name_": "persistent_volumes",
"title": "persistent_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"host_path_volumes": {
"_name_": "host_path_volumes",
"title": "host_path_volumes",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"locked_host_paths": {
"_name_": "locked_host_paths",
"title": "locked_host_paths",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"container_images": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "container_images",
"title": "container_images",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"truenas_certificates": {
"_name_": "truenas_certificates",
"title": "truenas_certificates",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_id",
"title": "certificate_id",
"_required_": false
}
]
},
"truenas_certificate_authorities": {
"_name_": "truenas_certificate_authorities",
"title": "truenas_certificate_authorities",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "certificate_authority_id",
"title": "certificate_authority_id",
"_required_": false
}
]
},
"cronjobs": {
"_name_": "cronjobs",
"title": "cronjobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"deployments": {
"_name_": "deployments",
"title": "deployments",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"jobs": {
"_name_": "jobs",
"title": "jobs",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"persistent_volume_claims": {
"_name_": "persistent_volume_claims",
"title": "persistent_volume_claims",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"pods": {
"_name_": "pods",
"title": "pods",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"statefulsets": {
"_name_": "statefulsets",
"title": "statefulsets",
"default": [],
"_required_": false,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "resources",
"title": "resources",
"default": {},
"_required_": false,
"_attrs_order_": [
"storage_class",
"persistent_volumes",
"host_path_volumes",
"locked_host_paths",
"container_images",
"truenas_certificates",
"truenas_certificate_authorities",
"cronjobs",
"deployments",
"jobs",
"persistent_volume_claims",
"pods",
"statefulsets"
]
}
},
"additionalProperties": false,
"_name_": "chart_release_entry",
"title": "chart_release_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"info",
"config",
"hooks",
"version",
"namespace",
"chart_metadata",
"id",
"catalog",
"catalog_train",
"path",
"dataset",
"status",
"used_ports",
"pod_status",
"update_available",
"human_version",
"human_latest_version",
"container_images_update_available",
"portals",
"chart_schema",
"history",
"resources"
]
}
]
Sent on cloudsync changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_entry",
"title": "cloudsync_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on cloudsync.credentials changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "cloudsync_credentials_entry",
"title": "cloudsync_credentials_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on container.image changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": false,
"type": "string"
},
"labels": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "labels",
"title": "labels",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"repo_tags": {
"_name_": "repo_tags",
"title": "repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_tag",
"title": "repo_tag",
"_required_": false,
"type": "string"
}
]
},
"repo_digests": {
"_name_": "repo_digests",
"title": "repo_digests",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "repo_digest",
"title": "repo_digest",
"_required_": false,
"type": "string"
}
]
},
"size": {
"type": "integer",
"_name_": "size",
"title": "size",
"_required_": false
},
"dangling": {
"type": "boolean",
"_name_": "dangling",
"title": "dangling",
"_required_": false
},
"update_available": {
"type": "boolean",
"_name_": "update_available",
"title": "update_available",
"_required_": false
},
"system_image": {
"type": "boolean",
"_name_": "system_image",
"title": "system_image",
"_required_": false
},
"created": {
"_name_": "created",
"title": "created",
"_required_": false,
"type": "string"
},
"parsed_repo_tags": {
"_name_": "parsed_repo_tags",
"title": "parsed_repo_tags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"image": {
"_name_": "image",
"title": "image",
"_required_": false,
"type": "string"
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string"
},
"registry": {
"_name_": "registry",
"title": "registry",
"_required_": false,
"type": "string"
},
"complete_tag": {
"_name_": "complete_tag",
"title": "complete_tag",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "parsed_repo_tag",
"title": "parsed_repo_tag",
"default": {},
"_required_": false,
"_attrs_order_": [
"image",
"tag",
"registry",
"complete_tag"
]
}
]
}
},
"additionalProperties": false,
"_name_": "container_image_entry",
"title": "container_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"labels",
"repo_tags",
"repo_digests",
"size",
"dangling",
"update_available",
"system_image",
"created",
"parsed_repo_tags"
]
}
]
Sent on cronjob changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"_required_": false
},
"stderr": {
"type": "boolean",
"_name_": "stderr",
"title": "stderr",
"default": false,
"_required_": false
},
"stdout": {
"type": "boolean",
"_name_": "stdout",
"title": "stdout",
"default": true,
"_required_": false
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "cron_job_entry",
"title": "cron_job_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"stderr",
"stdout",
"schedule",
"command",
"description",
"user",
"id"
]
}
]
Sent on ctdb.private.ips changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_private_ips_entry",
"title": "ctdb_private_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on ctdb.public.ips changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "ctdb_public_ips_entry",
"title": "ctdb_public_ips_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on enclosure changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "enclosure_entry",
"title": "enclosure_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on filesystem.acltemplate changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"acltype": {
"_name_": "acltype",
"title": "acltype",
"_required_": true,
"type": "string",
"enum": [
"NFS4",
"POSIX1E"
]
},
"acl": {
"anyOf": [
{
"_name_": "nfs4_acl",
"title": "nfs4_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"owner@",
"group@",
"everyone@",
"USER",
"GROUP"
]
},
"id": {
"type": [
"integer",
"null"
],
"_name_": "id",
"title": "id",
"_required_": false
},
"type": {
"_name_": "type",
"title": "type",
"_required_": false,
"type": "string",
"enum": [
"ALLOW",
"DENY"
]
},
"perms": {
"type": "object",
"properties": {
"READ_DATA": {
"type": "boolean",
"_name_": "READ_DATA",
"title": "READ_DATA",
"_required_": false
},
"WRITE_DATA": {
"type": "boolean",
"_name_": "WRITE_DATA",
"title": "WRITE_DATA",
"_required_": false
},
"APPEND_DATA": {
"type": "boolean",
"_name_": "APPEND_DATA",
"title": "APPEND_DATA",
"_required_": false
},
"READ_NAMED_ATTRS": {
"type": "boolean",
"_name_": "READ_NAMED_ATTRS",
"title": "READ_NAMED_ATTRS",
"_required_": false
},
"WRITE_NAMED_ATTRS": {
"type": "boolean",
"_name_": "WRITE_NAMED_ATTRS",
"title": "WRITE_NAMED_ATTRS",
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"_required_": false
},
"DELETE_CHILD": {
"type": "boolean",
"_name_": "DELETE_CHILD",
"title": "DELETE_CHILD",
"_required_": false
},
"READ_ATTRIBUTES": {
"type": "boolean",
"_name_": "READ_ATTRIBUTES",
"title": "READ_ATTRIBUTES",
"_required_": false
},
"WRITE_ATTRIBUTES": {
"type": "boolean",
"_name_": "WRITE_ATTRIBUTES",
"title": "WRITE_ATTRIBUTES",
"_required_": false
},
"DELETE": {
"type": "boolean",
"_name_": "DELETE",
"title": "DELETE",
"_required_": false
},
"READ_ACL": {
"type": "boolean",
"_name_": "READ_ACL",
"title": "READ_ACL",
"_required_": false
},
"WRITE_ACL": {
"type": "boolean",
"_name_": "WRITE_ACL",
"title": "WRITE_ACL",
"_required_": false
},
"WRITE_OWNER": {
"type": "boolean",
"_name_": "WRITE_OWNER",
"title": "WRITE_OWNER",
"_required_": false
},
"SYNCHRONIZE": {
"type": "boolean",
"_name_": "SYNCHRONIZE",
"title": "SYNCHRONIZE",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"FULL_CONTROL",
"MODIFY",
"READ",
"TRAVERSE"
]
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ_DATA",
"WRITE_DATA",
"APPEND_DATA",
"READ_NAMED_ATTRS",
"WRITE_NAMED_ATTRS",
"EXECUTE",
"DELETE_CHILD",
"READ_ATTRIBUTES",
"WRITE_ATTRIBUTES",
"DELETE",
"READ_ACL",
"WRITE_ACL",
"WRITE_OWNER",
"SYNCHRONIZE",
"BASIC"
]
},
"flags": {
"type": "object",
"properties": {
"FILE_INHERIT": {
"type": "boolean",
"_name_": "FILE_INHERIT",
"title": "FILE_INHERIT",
"_required_": false
},
"DIRECTORY_INHERIT": {
"type": "boolean",
"_name_": "DIRECTORY_INHERIT",
"title": "DIRECTORY_INHERIT",
"_required_": false
},
"NO_PROPAGATE_INHERIT": {
"type": "boolean",
"_name_": "NO_PROPAGATE_INHERIT",
"title": "NO_PROPAGATE_INHERIT",
"_required_": false
},
"INHERIT_ONLY": {
"type": "boolean",
"_name_": "INHERIT_ONLY",
"title": "INHERIT_ONLY",
"_required_": false
},
"INHERITED": {
"type": "boolean",
"_name_": "INHERITED",
"title": "INHERITED",
"_required_": false
},
"BASIC": {
"_name_": "BASIC",
"title": "BASIC",
"_required_": false,
"type": "string",
"enum": [
"INHERIT",
"NOINHERIT"
]
}
},
"additionalProperties": false,
"_name_": "flags",
"title": "flags",
"default": {},
"_required_": false,
"_attrs_order_": [
"FILE_INHERIT",
"DIRECTORY_INHERIT",
"NO_PROPAGATE_INHERIT",
"INHERIT_ONLY",
"INHERITED",
"BASIC"
]
}
},
"additionalProperties": false,
"_name_": "nfs4_ace",
"title": "nfs4_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"tag",
"id",
"type",
"perms",
"flags"
]
}
]
},
{
"_name_": "posix1e_acl",
"title": "posix1e_acl",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"default": {
"type": "boolean",
"_name_": "default",
"title": "default",
"default": false,
"_required_": false
},
"tag": {
"_name_": "tag",
"title": "tag",
"_required_": false,
"type": "string",
"enum": [
"USER_OBJ",
"GROUP_OBJ",
"USER",
"GROUP",
"OTHER",
"MASK"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"default": -1,
"_required_": false
},
"perms": {
"type": "object",
"properties": {
"READ": {
"type": "boolean",
"_name_": "READ",
"title": "READ",
"default": false,
"_required_": false
},
"WRITE": {
"type": "boolean",
"_name_": "WRITE",
"title": "WRITE",
"default": false,
"_required_": false
},
"EXECUTE": {
"type": "boolean",
"_name_": "EXECUTE",
"title": "EXECUTE",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "perms",
"title": "perms",
"default": {},
"_required_": false,
"_attrs_order_": [
"READ",
"WRITE",
"EXECUTE"
]
}
},
"additionalProperties": false,
"_name_": "posix1e_ace",
"title": "posix1e_ace",
"default": {},
"_required_": false,
"_attrs_order_": [
"default",
"tag",
"id",
"perms"
]
}
]
}
],
"nullable": false,
"_name_": "acl",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "acltemplate_entry",
"title": "acltemplate_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"acltype",
"acl",
"id",
"builtin"
]
}
]
Sent on gluster.peer changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_peer_entry",
"title": "gluster_peer_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on gluster.volume changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "gluster_volume_entry",
"title": "gluster_volume_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on group changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"gid": {
"type": "integer",
"_name_": "gid",
"title": "gid",
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"users": {
"_name_": "users",
"title": "users",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"group": {
"_name_": "group",
"title": "group",
"_required_": false,
"type": "string"
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "group_entry",
"title": "group_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"gid",
"name",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"users",
"id",
"group",
"builtin",
"id_type_both",
"local",
"nt_name",
"sid"
]
}
]
Sent on idmap changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"dns_domain_name": {
"_name_": "dns_domain_name",
"title": "dns_domain_name",
"_required_": false,
"type": "string"
},
"range_low": {
"type": "integer",
"_name_": "range_low",
"title": "range_low",
"_required_": true
},
"range_high": {
"type": "integer",
"_name_": "range_high",
"title": "range_high",
"_required_": true
},
"idmap_backend": {
"_name_": "idmap_backend",
"title": "idmap_backend",
"_required_": true,
"type": "string",
"enum": [
"AD",
"AUTORID",
"LDAP",
"NSS",
"RFC2307",
"RID",
"TDB"
]
},
"certificate": {
"type": [
"integer",
"null"
],
"_name_": "certificate",
"title": "certificate",
"_required_": false
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"schema_mode": {
"_name_": "schema_mode",
"title": "schema_mode",
"_required_": true,
"type": "string",
"enum": [
"RFC2307",
"SFU",
"SFU20"
]
},
"unix_primary_group": {
"type": "boolean",
"_name_": "unix_primary_group",
"title": "unix_primary_group",
"default": false,
"_required_": false
},
"unix_nss_info": {
"type": "boolean",
"_name_": "unix_nss_info",
"title": "unix_nss_info",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ad_options",
"title": "idmap_ad_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"schema_mode",
"unix_primary_group",
"unix_nss_info"
]
},
{
"type": "object",
"properties": {
"rangesize": {
"type": "integer",
"_name_": "rangesize",
"title": "rangesize",
"default": 100000,
"_required_": false
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ignore_builtin": {
"type": "boolean",
"_name_": "ignore_builtin",
"title": "ignore_builtin",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_autorid_options",
"title": "idmap_autorid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"rangesize",
"readonly",
"ignore_builtin"
]
},
{
"type": "object",
"properties": {
"ldap_base_dn": {
"_name_": "ldap_base_dn",
"title": "ldap_base_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"readonly": {
"type": "boolean",
"_name_": "readonly",
"title": "readonly",
"default": false,
"_required_": false
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_ldap_options",
"title": "idmap_ldap_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_base_dn",
"ldap_user_dn",
"ldap_user_dn_password",
"ldap_url",
"readonly",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"linked_service": {
"_name_": "linked_service",
"title": "linked_service",
"default": "LOCAL_ACCOUNT",
"_required_": false,
"type": "string",
"enum": [
"LOCAL_ACCOUNT",
"LDAP"
]
}
},
"additionalProperties": false,
"_name_": "idmap_nss_options",
"title": "idmap_nss_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"linked_service"
]
},
{
"type": "object",
"properties": {
"ldap_server": {
"_name_": "ldap_server",
"title": "ldap_server",
"_required_": true,
"type": "string",
"enum": [
"AD",
"STANDALONE"
]
},
"ldap_realm": {
"type": "boolean",
"_name_": "ldap_realm",
"title": "ldap_realm",
"default": false,
"_required_": false
},
"bind_path_user": {
"_name_": "bind_path_user",
"title": "bind_path_user",
"_required_": false,
"type": "string"
},
"bind_path_group": {
"_name_": "bind_path_group",
"title": "bind_path_group",
"_required_": false,
"type": "string"
},
"user_cn": {
"type": "boolean",
"_name_": "user_cn",
"title": "user_cn",
"default": false,
"_required_": false
},
"cn_realm": {
"_name_": "cn_realm",
"title": "cn_realm",
"_required_": false,
"type": "string"
},
"ldap_domain": {
"_name_": "ldap_domain",
"title": "ldap_domain",
"_required_": false,
"type": "string"
},
"ldap_url": {
"_name_": "ldap_url",
"title": "ldap_url",
"_required_": false,
"type": "string"
},
"ldap_user_dn": {
"_name_": "ldap_user_dn",
"title": "ldap_user_dn",
"_required_": false,
"type": "string"
},
"ldap_user_dn_password": {
"_name_": "ldap_user_dn_password",
"title": "ldap_user_dn_password",
"_required_": false,
"type": "string"
},
"ssl": {
"_name_": "ssl",
"title": "ssl",
"_required_": false,
"type": "string",
"enum": [
"OFF",
"ON",
"START_TLS"
]
},
"validate_certificates": {
"type": "boolean",
"_name_": "validate_certificates",
"title": "validate_certificates",
"default": true,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rfc2307_options",
"title": "idmap_rfc2307_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"ldap_server",
"ldap_realm",
"bind_path_user",
"bind_path_group",
"user_cn",
"cn_realm",
"ldap_domain",
"ldap_url",
"ldap_user_dn",
"ldap_user_dn_password",
"ssl",
"validate_certificates"
]
},
{
"type": "object",
"properties": {
"sssd_compat": {
"type": "boolean",
"_name_": "sssd_compat",
"title": "sssd_compat",
"default": false,
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_rid_options",
"title": "idmap_rid_options",
"default": {},
"_required_": false,
"_attrs_order_": [
"sssd_compat"
]
},
{
"type": "object",
"properties": {},
"additionalProperties": false,
"_name_": "idmap_tdb_options",
"title": "idmap_tdb_options",
"default": {},
"_required_": false,
"_attrs_order_": []
}
],
"nullable": false,
"_name_": "options",
"description": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "idmap_domain_entry",
"title": "idmap_domain_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"dns_domain_name",
"range_low",
"range_high",
"idmap_backend",
"certificate",
"options",
"id"
]
}
]
Sent on initshutdownscript changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"COMMAND",
"SCRIPT"
]
},
"command": {
"_name_": "command",
"title": "command",
"_required_": false,
"type": [
"string",
"null"
]
},
"script_text": {
"_name_": "script_text",
"title": "script_text",
"_required_": false,
"type": [
"string",
"null"
]
},
"script": {
"_name_": "script",
"title": "script",
"_required_": false,
"type": [
"string",
"null"
]
},
"when": {
"_name_": "when",
"title": "when",
"_required_": true,
"type": "string",
"enum": [
"PREINIT",
"POSTINIT",
"SHUTDOWN"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"timeout": {
"type": "integer",
"_name_": "timeout",
"title": "timeout",
"default": 10,
"_required_": false
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "init_shutdown_script_entry",
"title": "init_shutdown_script_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"command",
"script_text",
"script",
"when",
"enabled",
"timeout",
"comment",
"id"
]
}
]
Sent on interface changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"fake": {
"type": "boolean",
"_name_": "fake",
"title": "fake",
"_required_": true
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"state": {
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"orig_name": {
"_name_": "orig_name",
"title": "orig_name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"mtu": {
"type": "integer",
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"cloned": {
"type": "boolean",
"_name_": "cloned",
"title": "cloned",
"_required_": true
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
},
"nd6_flags": {
"_name_": "nd6_flags",
"title": "nd6_flags",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"capabilities": {
"_name_": "capabilities",
"title": "capabilities",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"link_state": {
"_name_": "link_state",
"title": "link_state",
"_required_": true,
"type": "string"
},
"media_type": {
"_name_": "media_type",
"title": "media_type",
"_required_": true,
"type": "string"
},
"media_subtype": {
"_name_": "media_subtype",
"title": "media_subtype",
"_required_": true,
"type": "string"
},
"active_media_type": {
"_name_": "active_media_type",
"title": "active_media_type",
"_required_": true,
"type": "string"
},
"active_media_subtype": {
"_name_": "active_media_subtype",
"title": "active_media_subtype",
"_required_": true,
"type": "string"
},
"supported_media": {
"_name_": "supported_media",
"title": "supported_media",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"media_options": {
"_name_": "media_options",
"title": "media_options",
"default": [],
"_required_": true,
"type": [
"array",
"null"
],
"items": []
},
"link_address": {
"_name_": "link_address",
"title": "link_address",
"_required_": true,
"type": "string"
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"broadcast": {
"_name_": "broadcast",
"title": "broadcast",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask",
"broadcast"
]
}
]
},
"vrrp_config": {
"_name_": "vrrp_config",
"title": "vrrp_config",
"default": [],
"_required_": false,
"type": [
"array",
"null"
],
"items": []
},
"protocol": {
"_name_": "protocol",
"title": "protocol",
"_required_": false,
"type": [
"string",
"null"
]
},
"ports": {
"_name_": "ports",
"title": "ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"flags": {
"_name_": "flags",
"title": "flags",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "flag",
"title": "flag",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": false,
"_name_": "lag_ports",
"title": "lag_ports",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"flags"
]
}
]
},
"xmit_hash_policy": {
"_name_": "xmit_hash_policy",
"title": "xmit_hash_policy",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"lacpdu_rate": {
"_name_": "lacpdu_rate",
"title": "lacpdu_rate",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"parent": {
"_name_": "parent",
"title": "parent",
"_required_": false,
"type": [
"string",
"null"
]
},
"tag": {
"type": [
"integer",
"null"
],
"_name_": "tag",
"title": "tag",
"_required_": false
},
"pcp": {
"type": [
"integer",
"null"
],
"_name_": "pcp",
"title": "pcp",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "state",
"title": "state",
"default": {},
"_required_": true,
"_attrs_order_": [
"name",
"orig_name",
"description",
"mtu",
"cloned",
"flags",
"nd6_flags",
"capabilities",
"link_state",
"media_type",
"media_subtype",
"active_media_type",
"active_media_subtype",
"supported_media",
"media_options",
"link_address",
"aliases",
"vrrp_config",
"protocol",
"ports",
"xmit_hash_policy",
"lacpdu_rate",
"parent",
"tag",
"pcp"
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": true,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"address": {
"_name_": "address",
"title": "address",
"_required_": true,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "alias",
"title": "alias",
"default": {},
"_required_": false,
"_attrs_order_": [
"type",
"address",
"netmask"
]
}
]
},
"ipv4_dhcp": {
"type": "boolean",
"_name_": "ipv4_dhcp",
"title": "ipv4_dhcp",
"_required_": true
},
"ipv6_auto": {
"type": "boolean",
"_name_": "ipv6_auto",
"title": "ipv6_auto",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": [
"string",
"null"
]
},
"mtu": {
"type": [
"integer",
"null"
],
"_name_": "mtu",
"title": "mtu",
"_required_": true
},
"disable_offload_capabilities": {
"type": "boolean",
"_name_": "disable_offload_capabilities",
"title": "disable_offload_capabilities",
"_required_": false
},
"vlan_parent_interface": {
"_name_": "vlan_parent_interface",
"title": "vlan_parent_interface",
"_required_": false,
"type": [
"string",
"null"
]
},
"vlan_tag": {
"type": [
"integer",
"null"
],
"_name_": "vlan_tag",
"title": "vlan_tag",
"_required_": false
},
"vlan_pcp": {
"type": [
"integer",
"null"
],
"_name_": "vlan_pcp",
"title": "vlan_pcp",
"_required_": false
},
"lag_protocol": {
"_name_": "lag_protocol",
"title": "lag_protocol",
"_required_": false,
"type": "string"
},
"lag_ports": {
"_name_": "lag_ports",
"title": "lag_ports",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "lag_port",
"title": "lag_port",
"_required_": false,
"type": "string"
}
]
},
"bridge_members": {
"_name_": "bridge_members",
"title": "bridge_members",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "member",
"title": "member",
"_required_": false,
"type": "string"
}
]
}
},
"additionalProperties": true,
"_name_": "interface_entry",
"title": "interface_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"fake",
"type",
"state",
"aliases",
"ipv4_dhcp",
"ipv6_auto",
"description",
"mtu",
"disable_offload_capabilities",
"vlan_parent_interface",
"vlan_tag",
"vlan_pcp",
"lag_protocol",
"lag_ports",
"bridge_members"
]
}
]
Sent on ipmi changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"ipaddress": {
"_name_": "ipaddress",
"title": "ipaddress",
"_required_": false,
"type": "string"
},
"netmask": {
"_name_": "netmask",
"title": "netmask",
"_required_": false,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": false,
"type": "string"
},
"password": {
"_name_": "password",
"title": "password",
"_required_": false,
"type": "string"
},
"dhcp": {
"type": "boolean",
"_name_": "dhcp",
"title": "dhcp",
"_required_": false
},
"vlan": {
"type": [
"integer",
"null"
],
"_name_": "vlan",
"title": "vlan",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"channel": {
"type": "integer",
"_name_": "channel",
"title": "channel",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "ipmi_entry",
"title": "ipmi_update",
"default": {},
"_required_": false,
"_attrs_order_": [
"ipaddress",
"netmask",
"gateway",
"password",
"dhcp",
"vlan",
"id",
"channel"
]
}
]
Sent on iscsi.auth changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_auth_entry",
"title": "iscsi_auth_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on iscsi.extent changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_extent_entry",
"title": "iscsi_extent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on iscsi.host changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_host_entry",
"title": "iscsi_host_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on iscsi.initiator changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_initiator_entry",
"title": "iscsi_initiator_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on iscsi.portal changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_portal_entry",
"title": "iscsi_portal_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on iscsi.target changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_target_entry",
"title": "iscsi_target_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on iscsi.targetextent changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "iscsi_targetextent_entry",
"title": "iscsi_targetextent_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on kerberos.keytab changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"file": {
"_name_": "file",
"title": "file",
"_required_": false,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_keytab_entry",
"title": "kerberos_keytab_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"file",
"name",
"id"
]
}
]
Sent on kerberos.realm changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"realm": {
"_name_": "realm",
"title": "realm",
"_required_": true,
"type": "string"
},
"kdc": {
"_name_": "kdc",
"title": "kdc",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"admin_server": {
"_name_": "admin_server",
"title": "admin_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"kpasswd_server": {
"_name_": "kpasswd_server",
"title": "kpasswd_server",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "kerberos_realm_entry",
"title": "kerberos_realm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"realm",
"kdc",
"admin_server",
"kpasswd_server",
"id"
]
}
]
Sent on keychaincredential changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "keychain_credential_entry",
"title": "keychain_credential_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"name",
"type",
"attributes",
"id"
]
}
]
Sent on pool changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"guid": {
"_name_": "guid",
"title": "guid",
"_required_": true,
"type": "string"
},
"encrypt": {
"type": "integer",
"_name_": "encrypt",
"title": "encrypt",
"_required_": true
},
"encryptkey": {
"_name_": "encryptkey",
"title": "encryptkey",
"_required_": true,
"type": "string"
},
"encryptkey_path": {
"_name_": "encryptkey_path",
"title": "encryptkey_path",
"_required_": true,
"type": [
"string",
"null"
]
},
"is_decrypted": {
"type": "boolean",
"_name_": "is_decrypted",
"title": "is_decrypted",
"_required_": true
},
"status": {
"_name_": "status",
"title": "status",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"scan": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "scan",
"title": "scan",
"description": "\n\nExample(s):\n```\n{\n \"function\": null,\n \"state\": null,\n \"start_time\": null,\n \"end_time\": null,\n \"percentage\": null,\n \"bytes_to_process\": null,\n \"bytes_processed\": null,\n \"bytes_issued\": null,\n \"pause\": null,\n \"errors\": null,\n \"total_secs_left\": null\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"is_upgraded": {
"type": "boolean",
"_name_": "is_upgraded",
"title": "is_upgraded",
"_required_": false
},
"healthy": {
"type": "boolean",
"_name_": "healthy",
"title": "healthy",
"_required_": true
},
"warning": {
"type": "boolean",
"_name_": "warning",
"title": "warning",
"_required_": true
},
"status_detail": {
"_name_": "status_detail",
"title": "status_detail",
"_required_": true,
"type": [
"string",
"null"
]
},
"autotrim": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "autotrim",
"title": "autotrim",
"description": "\n\nExample(s):\n```\n{\n \"parsed\": \"off\",\n \"rawvalue\": \"off\",\n \"source\": \"DEFAULT\",\n \"value\": \"off\"\n}\n```\n",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"topology": {
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"log": {
"_name_": "log",
"title": "log",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"cache": {
"_name_": "cache",
"title": "cache",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"spare": {
"_name_": "spare",
"title": "spare",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"special": {
"_name_": "special",
"title": "special",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"dedup": {
"_name_": "dedup",
"title": "dedup",
"default": [],
"_required_": true,
"type": "array",
"items": []
}
},
"additionalProperties": false,
"_name_": "topology",
"title": "topology",
"default": {},
"_required_": true,
"_attrs_order_": [
"data",
"log",
"cache",
"spare",
"special",
"dedup"
]
}
},
"additionalProperties": false,
"_name_": "pool_entry",
"title": "pool_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"name",
"guid",
"encrypt",
"encryptkey",
"encryptkey_path",
"is_decrypted",
"status",
"path",
"scan",
"is_upgraded",
"healthy",
"warning",
"status_detail",
"autotrim",
"topology"
]
}
]
Sent on pool.dataset changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"pool": {
"_name_": "pool",
"title": "pool",
"_required_": true,
"type": "string"
},
"encrypted": {
"type": "boolean",
"_name_": "encrypted",
"title": "encrypted",
"_required_": false
},
"encryption_root": {
"_name_": "encryption_root",
"title": "encryption_root",
"_required_": false,
"type": [
"string",
"null"
]
},
"key_loaded": {
"type": [
"boolean",
"null"
],
"_name_": "key_loaded",
"title": "key_loaded",
"_required_": false
},
"children": {
"_name_": "children",
"title": "children",
"default": [],
"_required_": true,
"type": "array",
"items": []
},
"user_properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "user_properties",
"title": "user_properties",
"default": {},
"_required_": true,
"_attrs_order_": []
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"comments": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "comments",
"title": "comments",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_warning",
"title": "quota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota_critical",
"title": "quota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_warning": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_warning",
"title": "refquota_warning",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota_critical": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota_critical",
"title": "refquota_critical",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"managedby": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "managedby",
"title": "managedby",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"deduplication": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "deduplication",
"title": "deduplication",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"aclmode": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "aclmode",
"title": "aclmode",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"acltype": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "acltype",
"title": "acltype",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"xattr": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "xattr",
"title": "xattr",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"atime": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "atime",
"title": "atime",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"casesensitivity": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "casesensitivity",
"title": "casesensitivity",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"checksum": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "checksum",
"title": "checksum",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"exec": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "exec",
"title": "exec",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sync": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sync",
"title": "sync",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compression": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compression",
"title": "compression",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"compressratio": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "compressratio",
"title": "compressratio",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"origin": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "origin",
"title": "origin",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"quota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "quota",
"title": "quota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refquota": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refquota",
"title": "refquota",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"reservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "reservation",
"title": "reservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"refreservation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "refreservation",
"title": "refreservation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"copies": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "copies",
"title": "copies",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"snapdir": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "snapdir",
"title": "snapdir",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"readonly": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "readonly",
"title": "readonly",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"recordsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "recordsize",
"title": "recordsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"sparse": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "sparse",
"title": "sparse",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volsize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volsize",
"title": "volsize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"volblocksize": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "volblocksize",
"title": "volblocksize",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"key_format": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "key_format",
"title": "key_format",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"encryption_algorithm": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "encryption_algorithm",
"title": "encryption_algorithm",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"used": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "used",
"title": "used",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"available": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "available",
"title": "available",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"special_small_block_size": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "special_small_block_size",
"title": "special_small_block_size",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"pbkdf2iters": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pbkdf2iters",
"title": "pbkdf2iters",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"creation": {
"type": "object",
"properties": {
"parsed": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "parsed",
"title": "parsed",
"_required_": false
},
"rawvalue": {
"_name_": "rawvalue",
"title": "rawvalue",
"_required_": false,
"type": [
"string",
"null"
]
},
"value": {
"_name_": "value",
"title": "value",
"_required_": false,
"type": [
"string",
"null"
]
},
"source": {
"_name_": "source",
"title": "source",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "creation",
"title": "creation",
"default": {},
"_required_": false,
"_attrs_order_": [
"parsed",
"rawvalue",
"value",
"source"
]
},
"mountpoint": {
"_name_": "mountpoint",
"title": "mountpoint",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "pool_dataset_entry",
"title": "pool_dataset_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"type",
"name",
"pool",
"encrypted",
"encryption_root",
"key_loaded",
"children",
"user_properties",
"locked",
"comments",
"quota_warning",
"quota_critical",
"refquota_warning",
"refquota_critical",
"managedby",
"deduplication",
"aclmode",
"acltype",
"xattr",
"atime",
"casesensitivity",
"checksum",
"exec",
"sync",
"compression",
"compressratio",
"origin",
"quota",
"refquota",
"reservation",
"refreservation",
"copies",
"snapdir",
"readonly",
"recordsize",
"sparse",
"volsize",
"volblocksize",
"key_format",
"encryption_algorithm",
"used",
"available",
"special_small_block_size",
"pbkdf2iters",
"creation",
"mountpoint"
]
}
]
Sent on pool.dataset.userprop changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"_name_": "id",
"title": "id",
"_required_": true,
"type": "string"
},
"properties": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "properties",
"title": "properties",
"default": {},
"_required_": true,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "pool_dataset_userprop_entry",
"title": "pool_dataset_userprop_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"properties"
]
}
]
Sent on pool.scrub changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"pool": {
"type": "integer",
"_name_": "pool",
"title": "pool",
"_required_": true
},
"threshold": {
"type": "integer",
"_name_": "threshold",
"title": "threshold",
"_required_": true
},
"description": {
"_name_": "description",
"title": "description",
"_required_": true,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "00",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "7",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": true,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
},
"pool_name": {
"_name_": "pool_name",
"title": "pool_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "pool_scrub_entry",
"title": "pool_scrub_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"pool",
"threshold",
"description",
"schedule",
"enabled",
"id",
"pool_name"
]
}
]
Sent on pool.snapshottask changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "pool_snapshottask_entry",
"title": "pool_snapshottask_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on replication changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "replication_entry",
"title": "replication_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on rsyncmod changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"name": {
"_name_": "name",
"title": "name",
"_required_": false,
"type": "string"
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"mode": {
"_name_": "mode",
"title": "mode",
"_required_": true,
"type": "string",
"enum": [
"RO",
"RW",
"WO"
]
},
"maxconn": {
"type": "integer",
"_name_": "maxconn",
"title": "maxconn",
"_required_": false
},
"user": {
"_name_": "user",
"title": "user",
"default": "nobody",
"_required_": false,
"type": "string"
},
"group": {
"_name_": "group",
"title": "group",
"default": "nobody",
"_required_": false,
"type": "string"
},
"hostsallow": {
"_name_": "hostsallow",
"title": "hostsallow",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostsallow",
"title": "hostsallow",
"_required_": false,
"type": "string"
}
]
},
"hostsdeny": {
"_name_": "hostsdeny",
"title": "hostsdeny",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "hostdeny",
"title": "hostdeny",
"_required_": false,
"type": "string"
}
]
},
"auxiliary": {
"_name_": "auxiliary",
"title": "auxiliary",
"_required_": false,
"type": "string"
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "rsyncmod_entry",
"title": "rsyncmod_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"enabled",
"name",
"comment",
"path",
"mode",
"maxconn",
"user",
"group",
"hostsallow",
"hostsdeny",
"auxiliary",
"locked",
"id"
]
}
]
Sent on rsynctask changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"user": {
"_name_": "user",
"title": "user",
"_required_": true,
"type": "string"
},
"remotehost": {
"_name_": "remotehost",
"title": "remotehost",
"_required_": false,
"type": "string"
},
"remoteport": {
"type": "integer",
"_name_": "remoteport",
"title": "remoteport",
"_required_": false
},
"mode": {
"_name_": "mode",
"title": "mode",
"default": "MODULE",
"_required_": false,
"type": "string",
"enum": [
"MODULE",
"SSH"
]
},
"remotemodule": {
"_name_": "remotemodule",
"title": "remotemodule",
"_required_": false,
"type": "string"
},
"remotepath": {
"_name_": "remotepath",
"title": "remotepath",
"_required_": false,
"type": "string"
},
"direction": {
"_name_": "direction",
"title": "direction",
"default": "PUSH",
"_required_": false,
"type": "string",
"enum": [
"PULL",
"PUSH"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"minute": {
"_name_": "minute",
"title": "minute",
"default": "00",
"_required_": false,
"type": "string"
},
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"minute",
"hour",
"dom",
"month",
"dow"
]
},
"recursive": {
"type": "boolean",
"_name_": "recursive",
"title": "recursive",
"_required_": false
},
"times": {
"type": "boolean",
"_name_": "times",
"title": "times",
"_required_": false
},
"compress": {
"type": "boolean",
"_name_": "compress",
"title": "compress",
"_required_": false
},
"archive": {
"type": "boolean",
"_name_": "archive",
"title": "archive",
"_required_": false
},
"delete": {
"type": "boolean",
"_name_": "delete",
"title": "delete",
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"_required_": false
},
"preserveperm": {
"type": "boolean",
"_name_": "preserveperm",
"title": "preserveperm",
"_required_": false
},
"preserveattr": {
"type": "boolean",
"_name_": "preserveattr",
"title": "preserveattr",
"_required_": false
},
"delayupdates": {
"type": "boolean",
"_name_": "delayupdates",
"title": "delayupdates",
"_required_": false
},
"extra": {
"_name_": "extra",
"title": "extra",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "extra",
"title": "extra",
"_required_": false,
"type": "string"
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
},
"job": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "job",
"title": "job",
"default": {},
"_required_": false,
"_attrs_order_": []
}
},
"additionalProperties": false,
"_name_": "rsync_task_entry",
"title": "rsync_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"path",
"user",
"remotehost",
"remoteport",
"mode",
"remotemodule",
"remotepath",
"direction",
"desc",
"schedule",
"recursive",
"times",
"compress",
"archive",
"delete",
"quiet",
"preserveperm",
"preserveattr",
"delayupdates",
"extra",
"enabled",
"id",
"locked",
"job"
]
}
]
Sent on service changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"service": {
"_name_": "service",
"title": "service",
"_required_": false,
"type": "string"
},
"enable": {
"type": "boolean",
"_name_": "enable",
"title": "enable",
"_required_": false
},
"state": {
"_name_": "state",
"title": "state",
"_required_": false,
"type": "string"
},
"pids": {
"_name_": "pids",
"title": "pids",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "integer",
"_name_": "pid",
"title": "pid",
"_required_": false
}
]
}
},
"additionalProperties": false,
"_name_": "service_entry",
"title": "service_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"id",
"service",
"enable",
"state",
"pids"
]
}
]
Sent on sharing.nfs changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"paths": {
"_name_": "paths",
"title": "paths",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"aliases": {
"_name_": "aliases",
"title": "aliases",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "path",
"title": "path",
"_required_": false,
"type": "string"
}
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"default": "",
"_required_": false,
"type": "string"
},
"networks": {
"_name_": "networks",
"title": "networks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "network",
"title": "network",
"_required_": false,
"type": "string"
}
]
},
"hosts": {
"_name_": "hosts",
"title": "hosts",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "host",
"title": "host",
"_required_": false,
"type": "string"
}
]
},
"alldirs": {
"type": "boolean",
"_name_": "alldirs",
"title": "alldirs",
"default": false,
"_required_": false
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": false
},
"quiet": {
"type": "boolean",
"_name_": "quiet",
"title": "quiet",
"default": false,
"_required_": false
},
"maproot_user": {
"_name_": "maproot_user",
"title": "maproot_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"maproot_group": {
"_name_": "maproot_group",
"title": "maproot_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_user": {
"_name_": "mapall_user",
"title": "mapall_user",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"mapall_group": {
"_name_": "mapall_group",
"title": "mapall_group",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"security": {
"_name_": "security",
"title": "security",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "provider",
"title": "provider",
"_required_": false,
"type": "string",
"enum": [
"SYS",
"KRB5",
"KRB5I",
"KRB5P"
]
}
]
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "sharing_nfs_entry",
"title": "sharingnfs_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"paths",
"aliases",
"comment",
"networks",
"hosts",
"alldirs",
"ro",
"quiet",
"maproot_user",
"maproot_group",
"mapall_user",
"mapall_group",
"security",
"enabled",
"id",
"locked"
]
}
]
Sent on sharing.smb changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "sharing_smb_entry",
"title": "sharing_smb_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on sharing.webdav changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"perm": {
"type": "boolean",
"_name_": "perm",
"title": "perm",
"default": true,
"_required_": true
},
"ro": {
"type": "boolean",
"_name_": "ro",
"title": "ro",
"default": false,
"_required_": true
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": true,
"type": "string"
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"path": {
"_name_": "path",
"title": "path",
"_required_": true,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"_required_": true
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "webdav_share_entry",
"title": "webdav_share_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"perm",
"ro",
"comment",
"name",
"path",
"enabled",
"locked",
"id"
]
}
]
Sent on smart.test changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"schedule": {
"type": "object",
"properties": {
"hour": {
"_name_": "hour",
"title": "hour",
"default": "*",
"_required_": false,
"type": "string"
},
"dom": {
"_name_": "dom",
"title": "dom",
"default": "*",
"_required_": false,
"type": "string"
},
"month": {
"_name_": "month",
"title": "month",
"default": "*",
"_required_": false,
"type": "string"
},
"dow": {
"_name_": "dow",
"title": "dow",
"default": "*",
"_required_": false,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "schedule",
"title": "schedule",
"default": {},
"_required_": false,
"_attrs_order_": [
"hour",
"dom",
"month",
"dow"
]
},
"desc": {
"_name_": "desc",
"title": "desc",
"_required_": false,
"type": "string"
},
"all_disks": {
"type": "boolean",
"_name_": "all_disks",
"title": "all_disks",
"default": false,
"_required_": false
},
"disks": {
"_name_": "disks",
"title": "disks",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "disk",
"title": "disk",
"_required_": false,
"type": "string"
}
]
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"LONG",
"SHORT",
"CONVEYANCE",
"OFFLINE"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "smart_task_entry",
"title": "smart_task_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"schedule",
"desc",
"all_disks",
"disks",
"type",
"id"
]
}
]
Sent on smb.sharesec changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "smb_sharesec_entry",
"title": "smb_sharesec_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on staticroute changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"destination": {
"_name_": "destination",
"title": "destination",
"_required_": true,
"type": "string"
},
"gateway": {
"_name_": "gateway",
"title": "gateway",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"default": "",
"_required_": true,
"type": "string"
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": true
}
},
"additionalProperties": false,
"_name_": "staticroute_entry",
"title": "staticroute_entry",
"default": {},
"_required_": false,
"_attrs_order_": [
"destination",
"gateway",
"description",
"id"
]
}
]
Sent on system.ntpserver changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"address": {
"_name_": "address",
"title": "address",
"_required_": false,
"type": "string"
},
"burst": {
"type": "boolean",
"_name_": "burst",
"title": "burst",
"default": false,
"_required_": false
},
"iburst": {
"type": "boolean",
"_name_": "iburst",
"title": "iburst",
"default": true,
"_required_": false
},
"prefer": {
"type": "boolean",
"_name_": "prefer",
"title": "prefer",
"default": false,
"_required_": false
},
"minpoll": {
"type": "integer",
"_name_": "minpoll",
"title": "minpoll",
"default": 6,
"_required_": false
},
"maxpoll": {
"type": "integer",
"_name_": "maxpoll",
"title": "maxpoll",
"default": 10,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "ntp_entry",
"title": "ntp_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"address",
"burst",
"iburst",
"prefer",
"minpoll",
"maxpoll",
"id"
]
}
]
Sent on tunable changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"var": {
"_name_": "var",
"title": "var",
"_required_": true,
"type": "string"
},
"value": {
"_name_": "value",
"title": "value",
"_required_": true,
"type": "string"
},
"type": {
"_name_": "type",
"title": "type",
"_required_": true,
"type": "string",
"enum": [
"SYSCTL"
]
},
"comment": {
"_name_": "comment",
"title": "comment",
"_required_": false,
"type": "string"
},
"enabled": {
"type": "boolean",
"_name_": "enabled",
"title": "enabled",
"default": true,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "tunable_entry",
"title": "tunable_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"var",
"value",
"type",
"comment",
"enabled",
"id"
]
}
]
Sent on user changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"uid": {
"type": "integer",
"_name_": "uid",
"title": "uid",
"_required_": false
},
"username": {
"_name_": "username",
"title": "username",
"_required_": true,
"type": "string"
},
"home": {
"_name_": "home",
"title": "home",
"default": "/nonexistent",
"_required_": false,
"type": "string"
},
"shell": {
"_name_": "shell",
"title": "shell",
"default": "/usr/bin/zsh",
"_required_": false,
"type": "string"
},
"full_name": {
"_name_": "full_name",
"title": "full_name",
"_required_": true,
"type": "string"
},
"email": {
"_name_": "email",
"title": "email",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"password_disabled": {
"type": "boolean",
"_name_": "password_disabled",
"title": "password_disabled",
"default": false,
"_required_": false
},
"locked": {
"type": "boolean",
"_name_": "locked",
"title": "locked",
"default": false,
"_required_": false
},
"microsoft_account": {
"type": "boolean",
"_name_": "microsoft_account",
"title": "microsoft_account",
"default": false,
"_required_": false
},
"smb": {
"type": "boolean",
"_name_": "smb",
"title": "smb",
"default": true,
"_required_": false
},
"sudo": {
"type": "boolean",
"_name_": "sudo",
"title": "sudo",
"default": false,
"_required_": false
},
"sudo_nopasswd": {
"type": "boolean",
"_name_": "sudo_nopasswd",
"title": "sudo_nopasswd",
"default": false,
"_required_": false
},
"sudo_commands": {
"_name_": "sudo_commands",
"title": "sudo_commands",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"_name_": "command",
"title": "command",
"_required_": false,
"type": "string"
}
]
},
"sshpubkey": {
"_name_": "sshpubkey",
"title": "sshpubkey",
"_required_": false,
"type": [
"string",
"null"
]
},
"groups": {
"_name_": "groups",
"title": "groups",
"default": [],
"_required_": false,
"type": "array",
"items": []
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"group": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "group",
"title": "group",
"default": {},
"_required_": false,
"_attrs_order_": []
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
},
"builtin": {
"type": "boolean",
"_name_": "builtin",
"title": "builtin",
"_required_": false
},
"id_type_both": {
"type": "boolean",
"_name_": "id_type_both",
"title": "id_type_both",
"_required_": false
},
"local": {
"type": "boolean",
"_name_": "local",
"title": "local",
"_required_": false
},
"unixhash": {
"_name_": "unixhash",
"title": "unixhash",
"_required_": false,
"type": "string"
},
"smbhash": {
"_name_": "smbhash",
"title": "smbhash",
"_required_": false,
"type": "string"
},
"nt_name": {
"_name_": "nt_name",
"title": "nt_name",
"_required_": false,
"type": [
"string",
"null"
]
},
"sid": {
"_name_": "sid",
"title": "sid",
"_required_": false,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "user_entry",
"title": "user_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"uid",
"username",
"home",
"shell",
"full_name",
"email",
"password_disabled",
"locked",
"microsoft_account",
"smb",
"sudo",
"sudo_nopasswd",
"sudo_commands",
"sshpubkey",
"groups",
"attributes",
"group",
"id",
"builtin",
"id_type_both",
"local",
"unixhash",
"smbhash",
"nt_name",
"sid"
]
}
]
Sent on vm changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"cpu_mode": {
"_name_": "cpu_mode",
"title": "cpu_mode",
"default": "CUSTOM",
"_required_": false,
"type": "string",
"enum": [
"CUSTOM",
"HOST-MODEL",
"HOST-PASSTHROUGH"
]
},
"cpu_model": {
"_name_": "cpu_model",
"title": "cpu_model",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"name": {
"_name_": "name",
"title": "name",
"_required_": true,
"type": "string"
},
"description": {
"_name_": "description",
"title": "description",
"_required_": false,
"type": "string"
},
"vcpus": {
"type": "integer",
"_name_": "vcpus",
"title": "vcpus",
"default": 1,
"_required_": false
},
"cores": {
"type": "integer",
"_name_": "cores",
"title": "cores",
"default": 1,
"_required_": false
},
"threads": {
"type": "integer",
"_name_": "threads",
"title": "threads",
"default": 1,
"_required_": false
},
"memory": {
"type": "integer",
"_name_": "memory",
"title": "memory",
"_required_": true
},
"bootloader": {
"_name_": "bootloader",
"title": "bootloader",
"default": "UEFI",
"_required_": false,
"type": "string",
"enum": [
"UEFI",
"UEFI_CSM"
]
},
"devices": {
"_name_": "devices",
"title": "devices",
"default": [],
"_required_": false,
"type": "array",
"items": [
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
},
"autostart": {
"type": "boolean",
"_name_": "autostart",
"title": "autostart",
"default": true,
"_required_": false
},
"hide_from_msr": {
"type": "boolean",
"_name_": "hide_from_msr",
"title": "hide_from_msr",
"default": false,
"_required_": false
},
"ensure_display_device": {
"type": "boolean",
"_name_": "ensure_display_device",
"title": "ensure_display_device",
"default": true,
"_required_": false
},
"time": {
"_name_": "time",
"title": "time",
"default": "LOCAL",
"_required_": false,
"type": "string",
"enum": [
"LOCAL",
"UTC"
]
},
"shutdown_timeout": {
"type": "integer",
"_name_": "shutdown_timeout",
"title": "shutdown_timeout",
"default": 90,
"_required_": false
},
"arch_type": {
"_name_": "arch_type",
"title": "arch_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"machine_type": {
"_name_": "machine_type",
"title": "machine_type",
"default": null,
"_required_": false,
"type": [
"string",
"null"
]
},
"status": {
"type": "object",
"properties": {
"state": {
"_name_": "state",
"title": "state",
"_required_": true,
"type": "string"
},
"pid": {
"type": [
"integer",
"null"
],
"_name_": "pid",
"title": "pid",
"_required_": true
},
"domain_state": {
"_name_": "domain_state",
"title": "domain_state",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "status",
"title": "status",
"default": {},
"_required_": false,
"_attrs_order_": [
"state",
"pid",
"domain_state"
]
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_entry",
"title": "vm_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"cpu_mode",
"cpu_model",
"name",
"description",
"vcpus",
"cores",
"threads",
"memory",
"bootloader",
"devices",
"autostart",
"hide_from_msr",
"ensure_display_device",
"time",
"shutdown_timeout",
"arch_type",
"machine_type",
"status",
"id"
]
}
]
Sent on vm.device changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"dtype": {
"_name_": "dtype",
"title": "dtype",
"_required_": true,
"type": "string",
"enum": [
"NIC",
"DISK",
"CDROM",
"PCI",
"DISPLAY",
"RAW"
]
},
"vm": {
"type": "integer",
"_name_": "vm",
"title": "vm",
"_required_": true
},
"attributes": {
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "attributes",
"title": "attributes",
"default": null,
"_required_": false,
"_attrs_order_": []
},
"order": {
"type": [
"integer",
"null"
],
"_name_": "order",
"title": "order",
"default": null,
"_required_": false
},
"id": {
"type": "integer",
"_name_": "id",
"title": "id",
"_required_": false
}
},
"additionalProperties": false,
"_name_": "vm_device_entry",
"title": "vmdevice_create",
"default": {},
"_required_": false,
"_attrs_order_": [
"dtype",
"vm",
"attributes",
"order",
"id"
]
}
]
Sent on vmware changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "vmware_entry",
"title": "vmware_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on webui.image changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "webui_image_entry",
"title": "webui_image_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Sent on zfs.snapshot changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {},
"additionalProperties": true,
"_name_": "zfs_snapshot_entry",
"title": "zfs_snapshot_entry",
"default": {},
"_required_": false,
"_attrs_order_": []
}
]
Notification of new and removed sessions.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "auth.sessions",
"title": "auth.sessions",
"_required_": false
}
]
Sent on system state changes.
id=ready -- Finished boot process
id=reboot -- Started reboot process
id=shutdown -- Started shutdown process
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "system",
"title": "system",
"_required_": false
}
]
Sent on alert changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "alert.list",
"title": "alert.list",
"_required_": false
}
]
Sent on network configuration changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "network.config",
"title": "network.config",
"_required_": false
}
]
Sent when failover is being setup.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "failover.setup",
"title": "failover.setup",
"_required_": false
}
]
Sent when failover status changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "failover.status",
"title": "failover.status",
"_required_": false
}
]
Sent when the reasons for failover being disabled have changed.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "failover.disabled_reasons",
"title": "failover.disabled_reasons",
"_required_": false
}
]
Sent when system is ready and HA upgrade is pending.
It is expected the client will react by issuing upgrade_finish
call
at user will.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "failover.upgrade_pending",
"title": "failover.upgrade_pending",
"_required_": false
}
]
Sent on directory service state changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "directoryservices.status",
"title": "directoryservices.status",
"_required_": false
}
]
Sent when a VRRP state changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "failover.vrrp_event",
"title": "failover.vrrp_event",
"_required_": false
}
]
Progress of pool resilver/scrub.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "zfs.pool.scan",
"title": "zfs.pool.scan",
"_required_": false
}
]
Sent on disk changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "disk.query",
"title": "disk.query",
"_required_": false
}
]
Kubernetes cluster events
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "kubernetes.events",
"title": "kubernetes.events",
"_required_": false
}
]
Sent on TrueCommand configuration changes.
This event can be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "truecommand.config",
"title": "truecommand.config",
"_required_": false
}
]
Notifies of current system health which include statistics about consumption of memory and CPU, pools and
if updates are available. An integer delay
argument can be specified to determine the delay
on when the periodic event should be generated.
This event cannot be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "systemhealtheventsource",
"_required_": false
}
]
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "systemhealtheventsource_returns",
"_required_": false
}
]
Retrieve True View Statistics. An integer delay
argument can be specified to determine the delay
on when the periodic event should be generated.
This event cannot be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "trueviewstatuseventsource",
"_required_": false
}
]
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "trueviewstatuseventsource_returns",
"_required_": false
}
]
Retrieve last no_of_lines
specified as an integer argument for a specific path
and then
any new lines as they are added. Specified argument has the format path:no_of_lines
( /var/log/messages:3
).
no_of_lines
is optional and if it is not specified it defaults to 3
.
However path
is required for this.
This event cannot be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "filefollowtaileventsource",
"_required_": false
}
]
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "filefollowtaileventsource_returns",
"_required_": false
}
]
Retrieve logs of a container in a pod in a chart release.
Name of chart release, name of pod and name of container is required.
Optionally tail_lines
and limit_bytes
can be specified.
tail_lines
is an option to select how many lines of logs to retrieve for the said container. It
defaults to 500. If set to null
, it will retrieve complete logs of the container.
limit_bytes
is an option to select how many bytes to retrieve from the tail lines selected. If set
to null ( which is the default ), it will not limit the bytes returned. To clarify, tail_lines
is applied first and the required number of lines are retrieved and then limit_bytes
is applied.
This event cannot be subscribed to with the wildcard *
as the event name.
[
{
"type": "object",
"properties": {
"tail_lines": {
"type": "integer",
"_name_": "tail_lines",
"title": "tail_lines",
"default": 500,
"_required_": false,
"description": "Optionally `tail_lines` and `limit_bytes` can be specified.\n`tail_lines` is an option to select how many lines of logs to retrieve for the said container. It\ndefaults to 500. If set to `null`, it will retrieve complete logs of the container."
},
"limit_bytes": {
"type": [
"integer",
"null"
],
"_name_": "limit_bytes",
"title": "limit_bytes",
"default": null,
"_required_": false,
"description": "Optionally `tail_lines` and `limit_bytes` can be specified."
},
"release_name": {
"_name_": "release_name",
"title": "release_name",
"_required_": true,
"type": "string"
},
"pod_name": {
"_name_": "pod_name",
"title": "pod_name",
"_required_": true,
"type": "string"
},
"container_name": {
"_name_": "container_name",
"title": "container_name",
"_required_": true,
"type": "string"
}
},
"additionalProperties": false,
"_name_": "kubernetespodlogsfollowtaileventsource",
"default": {},
"_required_": false,
"_attrs_order_": [
"tail_lines",
"limit_bytes",
"release_name",
"pod_name",
"container_name"
]
}
]
[
{
"type": "object",
"properties": {
"data": {
"_name_": "data",
"title": "data",
"_required_": true,
"type": "string"
},
"timestamp": {
"_name_": "timestamp",
"title": "timestamp",
"_required_": true,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false,
"_name_": "kubernetespodlogsfollowtaileventsource_returns",
"default": {},
"_required_": false,
"_attrs_order_": [
"data",
"timestamp"
]
}
]
Retrieve currently running processes stats.
Usage: reporting.processes:{"interval": 10, "cpu_percent": 0.1, "memory_percent": 0.1}
This event cannot be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "processeseventsource",
"_required_": false
}
]
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "processeseventsource_returns",
"_required_": false
}
]
Proxies collectd data. Available options:
reporting.graphite
- all datareporting.graphite:include,cpu-.,disk-.
- only include CPU and disk datareporting.graphite:exclude,cpu-.,disk-.
- all data except disk and CPUThis event cannot be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "graphiteeventsource",
"_required_": false
}
]
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "graphiteeventsource_returns",
"_required_": false
}
]
Retrieve real time statistics for CPU, network,
virtual memory and zfs arc.
This event cannot be subscribed to with the wildcard *
as the event name.
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "realtimeeventsource",
"_required_": false
}
]
[
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "object"
},
{
"type": "array"
}
],
"nullable": true,
"_name_": "realtimeeventsource_returns",
"_required_": false
}
]
Events are generated by the system based on when certain conditions are met. It is not useful
if the system is generating an event and there is no event listener. Listening to events
is called subscribing
.
A client can subscribe to all system events by specifying *
. This only applies to events
that accept *
as a wildcard (refer to the list above for events that accept *
).
Request:
{
"id": "ad4dea8f-53a8-9a5c-1825-523e218c13ca",
"name": "*",
"msg": "sub"
}
Response:
{
"msg": "ready",
"subs": ["ad4dea8f-53a8-9a5c-1825-523e218c13ca"]
}
The example above subscribes the websocket client to system events that accept *
as a wildcard.
Each time an event is generated by the system the websocket client would get the event.
Event Response Example:
{
"msg": "changed",
"collection": "core.get_jobs",
"id": 79,
"fields": {
"id": 79, "method": "pool.scrub.scrub",
"arguments": ["vol1", "START"], "logs_path": null,
"logs_excerpt": null,
"progress": {"percent": 0.001258680822502356, "description": "Scrubbing", "extra": null},
"result": null, "error": null, "exception": null, "exc_info": null,
"state": "RUNNING", "time_started": {"$date": 1571297741181},
"time_finished": null
}
}
The event above was generated by the system when a pool is scrubbed.
The example below is how to subscribe to the reporting.realtime
event.
Request:
{
"id": "8592f7c2-ce2b-4466-443a-80bbae5937d9",
"name": "reporting.realtime",
"msg": "sub"
}
Response:
{
"msg": "ready",
"subs": ["8592f7c2-ce2b-4466-443a-80bbae5937d9"]
}
Event Response Example:
{
"msg": "added", "collection": "reporting.realtime",
"fields": {
"virtual_memory": {
"total": 4784615424, "available": 854155264, "percent": 82.1,
"used": 3779424256, "free": 136634368, "active": 894599168,
"inactive": 717520896, "buffers": 0, "cached": 0,
"shared": 188002304, "wired": 2884825088
},
"cpu": {"temperature": {}},
"interfaces": {
"em0": {
"received_bytes": 1068597254, "received_bytes_last": 1068597254,
"sent_bytes": 78087857, "sent_bytes_last": 78087857
},
"lo0": {
"received_bytes": 358364554, "received_bytes_last": 358364554,
"sent_bytes": 358360787, "sent_bytes_last": 358360787
}
}
}
}
The example below is how to subscribe to jobs.
Request:
{
"id": "19922f7c2-ce2b-4455-443a-80bbae5937a2",
"name": "core.get_jobs",
"msg": "sub"
}
Response:
{
"msg": "ready",
"subs": ["19922f7c2-ce2b-4455-443a-80bbae5937a2"]
}
Event Response Example:
{
"msg": "added", "collection": "core.get_jobs", "id": 26,
"fields": {
"id": 26, "method": "chart.release.redeploy", "arguments": ["abc"],
"logs_path": null, "logs_excerpt": null,
"progress": {"percent": null, "description": null, "extra": null},
"result": null, "error": null, "exception": null, "exc_info": null,
"state": "WAITING", "time_started": {"$date": 1571305262662},
"time_finished": null
}
}
The event above was generated when a chart release was re-deployed and a job for re-deploying the chart release started. The event response shows that system has registered the job and the job is waiting to be executed.
After the client has consumed the information required and no more updates are required, an event can be unsubscribed as shown here:
Request:
{
"id": "8592f7c2-ce2b-4466-443a-80bbae5937d9",
"msg": "unsub"
}
The server does not send a response for this call. This example unsubscribes
from the reporting.realtime
event that was subscribed to above. The id
is the same value
sent when subscribing to the event.
Tasks which require significant time to execute or process a significant amount of input or output are tagged as jobs. When a client connects to an endpoint marked as a job, they receive a job id from the endpoint. With this job id, the client can query the status of the job to see the progress and status. Errors are shown in the output, or the output contains the result returned by the endpoint on completion.
e.g. ws://truenas.domain/websocket
connect
message.{
"id": "6841f242-840a-11e6-a437-00e04d680384",
"msg": "method",
"method": "catalog.sync_all",
"params": []
}
job_id
.{
"msg": "result",
"id": "c0bb5952-fc60-232a-3d6c-a47961b771a5",
"result": 53
}
Job status can be queried with the core.get_jobs
method.
Request:
{
"id": "d8e715be-6bc7-11e6-8c28-00e04d680384",
"msg": "method",
"method": "core.get_jobs",
"params": [[["id", "=", 53]]]
}
Response:
{
"id": "d8e715be-6bc7-11e6-8c28-00e04d680384",
"msg": "result",
"result": [{"id": 53, "method": "catalog.sync_all", "arguments": [], "logs_path": null, "logs_excerpt": null, "progress": {"percent": 100, "description": "Syncing TEST catalog", "extra": null}, "result": null, "error": null, "exception": null, "exc_info": null, "state": "SUCCESS", "time_started": {"$date": 1571300596053}, "time_finished": null}]
}
There are some jobs which require input or output as files which can be uploaded or downloaded.
If a job gives a file as an output, this endpoint is to be used to download the output file.
Request:
{
"id": "d8e715be-6bc7-11e6-8c28-00e04d680384",
"msg": "method",
"method": "core.download",
"params": ["config.save", [{}], "freenas-FreeNAS-11.3-MASTER-201910090828-20191017122016.db"]
}
Response:
{
"id": "cdc8740a-336b-b0cd-b850-47568fe94223",
"msg": "result",
"result": [86, "/_download/86?auth_token=9WIqYg4jAYEOGQ4g319Bkr64Oj8CZk1VACfyN68M7hgjGTdeSSgZjSf5lJEshS8M"]
}
In the response, the first value 86
is the job id for config.save
. This can be used to query
the status of the job. The second value is a REST endpoint used to download the file.
The download endpoint has a special format:
http://system_ip/_download/{job_id}?auth_token={token}
job_id
and token
are parameters being passed.
core.download
takes responsibility for providing the download URI with the job_id
and token
values.
Note: 1) Job output is not buffered, so execution would be blocked if a file download is not started. 2) File download must begin within 60 seconds or the job is canceled. 3) The file can only be downloaded once.
Files can be uploaded via HTTP POST request only. The upload endpoint is:
http://system_ip/_upload
It expects two values as form data, data
and file
.
data
is JSON-encoded data. It must be the first parameter provided and in this format:
::: json
{
"method": "config.upload",
"params": []
}
file
is the URI of the file to download.
This example uses curl
,
Request:
curl -X POST -u root:freenas -H "Content-Type: multipart/form-data" -F 'data={"method": "config.upload", "params": []}' -F "file=@/home/user/Desktop/config" http://system_ip/_upload/
Response:
{"job_id": 20}
TrueNAS API has multiple query methods including pool.query
, disk.query
, vm.query
, and many more.
The arguments for these methods support multiple options and filters that are similar to SQL queries.
Query Filters are primarily an array of conditions, with each condition also represented as an array.
Each condition in the filter list should compare a field with a value.
eg. Filter Syntax: ["field", "operator", value]
For example, to filter the data returned by disk.query
, we provide a list of conditions:
Javascript: :::javascript [ ["name","=","ada1"] ]
| Operator | Description | | :------------- | :----------: | | '=' | x == y | | '!=' | x != y | | '>' | x > y | | '>=' | x >= y | | '<' | x < y | | '<=' | x <= y | | '~' | re.match(y, x) | | 'in' | x in y | | 'nin' | x not in y | | 'rin' | x is not None and y in x | | 'rnin' | x is not None and y not in x | | '^' | x is not None and x.startswith(y) | | '!^' | x is not None and not x.startswith(y) | | '$' | x is not None and x.endswith(y) | | '!$' | x is not None and not x.endswith(y) |
We can use disk.query
with the "type" and "rotationrate" filters to find hard drives with a rotation rate higher than 5400 RPM:
Javascript: :::javascript [ ["type","=","HDD"], ["rotationrate",">",5400] // Note that the value should be the correct type ]
Queries with no defined conjunction assume AND
. However, the conjunction OR
is also supported by using the syntax illustrated below. We can use chart.release.query
with OR
to filter chart releases by name.
Javascript: :::javascript ["OR", [ ["name","=", "firstchart"], ["name","=", "secondchart"], ] ]
Query Options are objects that can further customize the results returned by a Query Method.
Properties of a Query Option include extend | extend_context | prefix | extra | order_by | select | count | get | limit | offset
Use the count
option to get the number of results returned.
Javascript: :::javascript { "count": true }
Use the limit
option to limit the number of results returned.
Javascript: :::javascript { "limit": 5 }
Use the offset
option to remove the first items from a returned list.
Javascript: :::javascript { "offset": 1 // Omits the first item from the query result }
Use the select
option to specify the exact fields to return. Fields must be provided in an array of strings.
Javascript: :::javascript { "select": ["devname","size","rotationrate"] }
Use the order_by
option to specify which field determines the sort order.
Javascript: :::javascript { "order_by": "size" // field name }