7ff28959b1
* Update api docs * update api docs after merge from master
3607 lines
No EOL
114 KiB
JSON
3607 lines
No EOL
114 KiB
JSON
{
|
|
"id": "licensing",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "ILicense",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 97
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.uid",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "uid",
|
|
"description": [
|
|
"\nUID for license."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 101
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.status",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "status",
|
|
"description": [
|
|
"\nThe validity status of the license."
|
|
],
|
|
"signature": [
|
|
"\"invalid\" | \"active\" | \"expired\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 106
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.isActive",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isActive",
|
|
"description": [
|
|
"\nDetermine if the status of the license is active."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 111
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.expiryDateInMillis",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "expiryDateInMillis",
|
|
"description": [
|
|
"\nUnix epoch of the expiration date of the license."
|
|
],
|
|
"signature": [
|
|
"number | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 116
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.type",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 121
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.mode",
|
|
"type": "CompoundType",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "mode",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 127
|
|
},
|
|
"deprecated": true,
|
|
"references": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.signature",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "signature",
|
|
"description": [
|
|
"\nSignature of the license content."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 132
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.isAvailable",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isAvailable",
|
|
"description": [
|
|
"\nDetermine if the license container has information."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 137
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.toJSON",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "toJSON",
|
|
"description": [
|
|
"\nReturns"
|
|
],
|
|
"signature": [
|
|
"() => ",
|
|
"PublicLicenseJSON"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 142
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.error",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "error",
|
|
"description": [
|
|
"\nA potential error denoting the failure of the license from being retrieved."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 147
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.getUnavailableReason",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getUnavailableReason",
|
|
"description": [
|
|
"\nIf the license is not available, provides a string or Error containing the reason."
|
|
],
|
|
"signature": [
|
|
"() => string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 152
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.hasAtLeast",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "hasAtLeast",
|
|
"description": [
|
|
"\nDetermine if license type >= minimal required license type."
|
|
],
|
|
"signature": [
|
|
"(minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => boolean"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 158
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.hasAtLeast.$1",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "minimumLicenseRequired",
|
|
"description": [
|
|
"the minimum valid license required for the given feature"
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 158
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.check",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "check",
|
|
"description": [
|
|
"\nFor a given plugin and license type, receive information about the status of the license."
|
|
],
|
|
"signature": [
|
|
"(pluginName: string, minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => ",
|
|
"LicenseCheck"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 165
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.check.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "pluginName",
|
|
"description": [
|
|
"the name of the plugin"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 165
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.check.$2",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "minimumLicenseRequired",
|
|
"description": [
|
|
"the minimum valid license for operating the given plugin"
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 165
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.getFeature",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getFeature",
|
|
"description": [
|
|
"\nA specific API for interacting with the specific features of the license."
|
|
],
|
|
"signature": [
|
|
"(name: string) => ",
|
|
"LicenseFeature"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 171
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.ILicense.getFeature.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "name",
|
|
"description": [
|
|
"the name of the feature to interact with"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 171
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseCheck",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicenseCheck",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 85
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseCheck.state",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "state",
|
|
"description": [
|
|
"\nThe state of checking the results of a license type meeting the license minimum."
|
|
],
|
|
"signature": [
|
|
"\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 89
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseCheck.message",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "message",
|
|
"description": [
|
|
"\nA message containing the reason for a license type not being valid."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 93
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseFeature",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicenseFeature",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 26
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseFeature.isAvailable",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isAvailable",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 27
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseFeature.isEnabled",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isEnabled",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 28
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicense",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "PublicLicense",
|
|
"description": [
|
|
"\nSubset of license data considered as non-sensitive information.\nCan be passed to the client."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicense.uid",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "uid",
|
|
"description": [
|
|
"\nUID for license."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 40
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicense.status",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "status",
|
|
"description": [
|
|
"\nThe validity status of the license."
|
|
],
|
|
"signature": [
|
|
"\"invalid\" | \"active\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 45
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicense.expiryDateInMillis",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "expiryDateInMillis",
|
|
"description": [
|
|
"\nUnix epoch of the expiration date of the license."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 50
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicense.type",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 55
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicense.mode",
|
|
"type": "CompoundType",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "mode",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 60
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 19
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 36
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 53
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 70
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 87
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 104
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 122
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 139
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 156
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 173
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 190
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 207
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
|
|
"lineNumber": 169
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
|
|
"lineNumber": 194
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
|
|
"lineNumber": 219
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
|
|
"lineNumber": 22
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
|
|
"lineNumber": 23
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
|
|
"lineNumber": 24
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
|
|
"lineNumber": 47
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
|
|
"lineNumber": 48
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
|
|
"lineNumber": 42
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
|
|
"lineNumber": 43
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
|
|
"lineNumber": 44
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
|
|
"lineNumber": 54
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
|
|
"lineNumber": 55
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
|
|
"lineNumber": 159
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
|
|
"lineNumber": 161
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicenseJSON",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "PublicLicenseJSON",
|
|
"description": [
|
|
"\nSubset of license & features data considered as non-sensitive information.\nStructured as json to be passed to the client."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 74
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicenseJSON.license",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license",
|
|
"description": [],
|
|
"signature": [
|
|
"PublicLicense",
|
|
" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 75
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicenseJSON.features",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "features",
|
|
"description": [],
|
|
"signature": [
|
|
"Record<string, ",
|
|
"LicenseFeature",
|
|
"> | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 76
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicLicenseJSON.signature",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "signature",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 77
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LICENSE_TYPE",
|
|
"type": "Enum",
|
|
"tags": [],
|
|
"label": "LICENSE_TYPE",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 10
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseCheckState",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "LicenseCheckState",
|
|
"description": [],
|
|
"signature": [
|
|
"\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 8
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseStatus",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "LicenseStatus",
|
|
"description": [],
|
|
"signature": [
|
|
"\"invalid\" | \"active\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 23
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicenseType",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "LicenseType",
|
|
"description": [],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 20
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.PublicFeatures",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "PublicFeatures",
|
|
"description": [
|
|
"\nProvides information about feature availability for the current license."
|
|
],
|
|
"signature": [
|
|
"{ [x: string]: ",
|
|
"LicenseFeature",
|
|
"; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 67
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicensingPluginSetup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginSetup.license$",
|
|
"type": "Object",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "license$",
|
|
"description": [
|
|
"\nSteam of licensing information {@link ILicense}."
|
|
],
|
|
"signature": [
|
|
"Observable",
|
|
"<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "licenseManagement",
|
|
"link": {
|
|
"path": "x-pack/plugins/license_management/public/plugin.ts",
|
|
"lineNumber": 61
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 86
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/public/application/license/check_license.tsx",
|
|
"lineNumber": 26
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/public/plugin.ts",
|
|
"lineNumber": 138
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/public/context/license/license_context.tsx",
|
|
"lineNumber": 19
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx",
|
|
"lineNumber": 40
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx",
|
|
"lineNumber": 33
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/public/share_context_menu/register_pdf_png_reporting.tsx",
|
|
"lineNumber": 81
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/public/management/report_listing.tsx",
|
|
"lineNumber": 55
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/public/plugin.ts",
|
|
"lineNumber": 122
|
|
}
|
|
},
|
|
{
|
|
"plugin": "crossClusterReplication",
|
|
"link": {
|
|
"path": "x-pack/plugins/cross_cluster_replication/public/plugin.ts",
|
|
"lineNumber": 75
|
|
}
|
|
},
|
|
{
|
|
"plugin": "fleet",
|
|
"link": {
|
|
"path": "x-pack/plugins/fleet/public/plugin.ts",
|
|
"lineNumber": 100
|
|
}
|
|
},
|
|
{
|
|
"plugin": "logstash",
|
|
"link": {
|
|
"path": "x-pack/plugins/logstash/public/plugin.ts",
|
|
"lineNumber": 36
|
|
}
|
|
},
|
|
{
|
|
"plugin": "painlessLab",
|
|
"link": {
|
|
"path": "x-pack/plugins/painless_lab/public/plugin.tsx",
|
|
"lineNumber": 81
|
|
}
|
|
},
|
|
{
|
|
"plugin": "painlessLab",
|
|
"link": {
|
|
"path": "x-pack/plugins/painless_lab/public/plugin.tsx",
|
|
"lineNumber": 105
|
|
}
|
|
},
|
|
{
|
|
"plugin": "searchprofiler",
|
|
"link": {
|
|
"path": "x-pack/plugins/searchprofiler/public/plugin.ts",
|
|
"lineNumber": 54
|
|
}
|
|
},
|
|
{
|
|
"plugin": "searchprofiler",
|
|
"link": {
|
|
"path": "x-pack/plugins/searchprofiler/public/plugin.ts",
|
|
"lineNumber": 67
|
|
}
|
|
},
|
|
{
|
|
"plugin": "watcher",
|
|
"link": {
|
|
"path": "x-pack/plugins/watcher/public/plugin.ts",
|
|
"lineNumber": 65
|
|
}
|
|
},
|
|
{
|
|
"plugin": "watcher",
|
|
"link": {
|
|
"path": "x-pack/plugins/watcher/public/plugin.ts",
|
|
"lineNumber": 106
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.test.ts",
|
|
"lineNumber": 38
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginSetup.refresh",
|
|
"type": "Function",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "refresh",
|
|
"description": [
|
|
"\nTriggers licensing information re-fetch."
|
|
],
|
|
"signature": [
|
|
"() => Promise<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 24
|
|
},
|
|
"deprecated": true,
|
|
"references": [],
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginSetup.featureUsage",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "featureUsage",
|
|
"description": [
|
|
"\nAPIs to register licensed feature usage."
|
|
],
|
|
"signature": [
|
|
"FeatureUsageServiceSetup"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 28
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
},
|
|
"start": {
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginStart",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicensingPluginStart",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 32
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginStart.license$",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license$",
|
|
"description": [
|
|
"\nSteam of licensing information {@link ILicense}."
|
|
],
|
|
"signature": [
|
|
"Observable",
|
|
"<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginStart.refresh",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "refresh",
|
|
"description": [
|
|
"\nTriggers licensing information re-fetch."
|
|
],
|
|
"signature": [
|
|
"() => Promise<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 40
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-public.LicensingPluginStart.featureUsage",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "featureUsage",
|
|
"description": [
|
|
"\nAPIs to manage licensed feature usage."
|
|
],
|
|
"signature": [
|
|
"FeatureUsageServiceStart"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/public/types.ts",
|
|
"lineNumber": 44
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"lifecycle": "start",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.wrapRouteWithLicenseCheck",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "wrapRouteWithLicenseCheck",
|
|
"description": [],
|
|
"signature": [
|
|
"(checkLicense: ",
|
|
{
|
|
"pluginId": "licensing",
|
|
"scope": "server",
|
|
"docId": "kibLicensingPluginApi",
|
|
"section": "def-server.CheckLicense",
|
|
"text": "CheckLicense"
|
|
},
|
|
", handler: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.RequestHandler",
|
|
"text": "RequestHandler"
|
|
},
|
|
"<P, Q, B, Context, any, { custom: <T extends string | Record<string, any> | Error | { message: string | Error; attributes?: Record<string, any> | undefined; } | Buffer | ",
|
|
"Stream",
|
|
" | undefined>(options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.CustomHttpResponseOptions",
|
|
"text": "CustomHttpResponseOptions"
|
|
},
|
|
"<T>) => ",
|
|
"KibanaResponse",
|
|
"<T>; badRequest: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; unauthorized: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; forbidden: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; notFound: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; conflict: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; customError: (options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.CustomHttpResponseOptions",
|
|
"text": "CustomHttpResponseOptions"
|
|
},
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">) => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; redirected: (options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.RedirectResponseOptions",
|
|
"text": "RedirectResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; ok: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; accepted: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; noContent: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<undefined>; }>) => ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.RequestHandler",
|
|
"text": "RequestHandler"
|
|
},
|
|
"<P, Q, B, Context, any, { custom: <T extends string | Record<string, any> | Error | { message: string | Error; attributes?: Record<string, any> | undefined; } | Buffer | ",
|
|
"Stream",
|
|
" | undefined>(options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.CustomHttpResponseOptions",
|
|
"text": "CustomHttpResponseOptions"
|
|
},
|
|
"<T>) => ",
|
|
"KibanaResponse",
|
|
"<T>; badRequest: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; unauthorized: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; forbidden: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; notFound: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; conflict: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; customError: (options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.CustomHttpResponseOptions",
|
|
"text": "CustomHttpResponseOptions"
|
|
},
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">) => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; redirected: (options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.RedirectResponseOptions",
|
|
"text": "RedirectResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; ok: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; accepted: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; noContent: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<undefined>; }>"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts",
|
|
"lineNumber": 17
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.wrapRouteWithLicenseCheck.$1",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "checkLicense",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "licensing",
|
|
"scope": "server",
|
|
"docId": "kibLicensingPluginApi",
|
|
"section": "def-server.CheckLicense",
|
|
"text": "CheckLicense"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts",
|
|
"lineNumber": 18
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.wrapRouteWithLicenseCheck.$2",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "handler",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.RequestHandler",
|
|
"text": "RequestHandler"
|
|
},
|
|
"<P, Q, B, Context, any, { custom: <T extends string | Record<string, any> | Error | { message: string | Error; attributes?: Record<string, any> | undefined; } | Buffer | ",
|
|
"Stream",
|
|
" | undefined>(options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.CustomHttpResponseOptions",
|
|
"text": "CustomHttpResponseOptions"
|
|
},
|
|
"<T>) => ",
|
|
"KibanaResponse",
|
|
"<T>; badRequest: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; unauthorized: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; forbidden: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; notFound: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; conflict: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ErrorHttpResponseOptions",
|
|
"text": "ErrorHttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; customError: (options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.CustomHttpResponseOptions",
|
|
"text": "CustomHttpResponseOptions"
|
|
},
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">) => ",
|
|
"KibanaResponse",
|
|
"<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.ResponseError",
|
|
"text": "ResponseError"
|
|
},
|
|
">; redirected: (options: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.RedirectResponseOptions",
|
|
"text": "RedirectResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; ok: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; accepted: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<string | Record<string, any> | Buffer | ",
|
|
"Stream",
|
|
">; noContent: (options?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.HttpResponseOptions",
|
|
"text": "HttpResponseOptions"
|
|
},
|
|
") => ",
|
|
"KibanaResponse",
|
|
"<undefined>; }>"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ElasticsearchError",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "ElasticsearchError",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "licensing",
|
|
"scope": "server",
|
|
"docId": "kibLicensingPluginApi",
|
|
"section": "def-server.ElasticsearchError",
|
|
"text": "ElasticsearchError"
|
|
},
|
|
" extends Error"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 13
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ElasticsearchError.status",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "status",
|
|
"description": [],
|
|
"signature": [
|
|
"number | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "FeatureUsageServiceSetup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 12
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceSetup.register",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "register",
|
|
"description": [
|
|
"\nRegister a feature to be able to notify of it's usages using the {@link FeatureUsageServiceStart | service start contract}."
|
|
],
|
|
"signature": [
|
|
"(featureName: string, licenseType: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => void"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceSetup.register.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "featureName",
|
|
"description": [],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceSetup.register.$2",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "licenseType",
|
|
"description": [],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceStart",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "FeatureUsageServiceStart",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 26
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceStart.notifyUsage",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "notifyUsage",
|
|
"description": [
|
|
"\nNotify of a registered feature usage at given time.\n"
|
|
],
|
|
"signature": [
|
|
"(featureName: string, usedAt?: number | Date | undefined) => void"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceStart.notifyUsage.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "featureName",
|
|
"description": [
|
|
"- the name of the feature to notify usage of"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceStart.notifyUsage.$2",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "usedAt",
|
|
"description": [
|
|
"- Either a `Date` or an unix timestamp with ms. If not specified, it will be set to the current time."
|
|
],
|
|
"signature": [
|
|
"number | Date | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": false
|
|
}
|
|
],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.FeatureUsageServiceStart.getLastUsages",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getLastUsages",
|
|
"description": [
|
|
"\nReturn a map containing last usage timestamp for all features.\nFeatures that were not used yet do not appear in the map."
|
|
],
|
|
"signature": [
|
|
"() => ",
|
|
"LastFeatureUsage",
|
|
"[]"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts",
|
|
"lineNumber": 38
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "ILicense",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 97
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.uid",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "uid",
|
|
"description": [
|
|
"\nUID for license."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 101
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.status",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "status",
|
|
"description": [
|
|
"\nThe validity status of the license."
|
|
],
|
|
"signature": [
|
|
"\"invalid\" | \"active\" | \"expired\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 106
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.isActive",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isActive",
|
|
"description": [
|
|
"\nDetermine if the status of the license is active."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 111
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.expiryDateInMillis",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "expiryDateInMillis",
|
|
"description": [
|
|
"\nUnix epoch of the expiration date of the license."
|
|
],
|
|
"signature": [
|
|
"number | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 116
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.type",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 121
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.mode",
|
|
"type": "CompoundType",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "mode",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 127
|
|
},
|
|
"deprecated": true,
|
|
"references": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.signature",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "signature",
|
|
"description": [
|
|
"\nSignature of the license content."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 132
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.isAvailable",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isAvailable",
|
|
"description": [
|
|
"\nDetermine if the license container has information."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 137
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.toJSON",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "toJSON",
|
|
"description": [
|
|
"\nReturns"
|
|
],
|
|
"signature": [
|
|
"() => ",
|
|
"PublicLicenseJSON"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 142
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.error",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "error",
|
|
"description": [
|
|
"\nA potential error denoting the failure of the license from being retrieved."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 147
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.getUnavailableReason",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getUnavailableReason",
|
|
"description": [
|
|
"\nIf the license is not available, provides a string or Error containing the reason."
|
|
],
|
|
"signature": [
|
|
"() => string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 152
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.hasAtLeast",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "hasAtLeast",
|
|
"description": [
|
|
"\nDetermine if license type >= minimal required license type."
|
|
],
|
|
"signature": [
|
|
"(minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => boolean"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 158
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.hasAtLeast.$1",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "minimumLicenseRequired",
|
|
"description": [
|
|
"the minimum valid license required for the given feature"
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 158
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.check",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "check",
|
|
"description": [
|
|
"\nFor a given plugin and license type, receive information about the status of the license."
|
|
],
|
|
"signature": [
|
|
"(pluginName: string, minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => ",
|
|
"LicenseCheck"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 165
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.check.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "pluginName",
|
|
"description": [
|
|
"the name of the plugin"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 165
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.check.$2",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "minimumLicenseRequired",
|
|
"description": [
|
|
"the minimum valid license for operating the given plugin"
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 165
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.getFeature",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getFeature",
|
|
"description": [
|
|
"\nA specific API for interacting with the specific features of the license."
|
|
],
|
|
"signature": [
|
|
"(name: string) => ",
|
|
"LicenseFeature"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 171
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.ILicense.getFeature.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "name",
|
|
"description": [
|
|
"the name of the feature to interact with"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 171
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": []
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseCheck",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicenseCheck",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 85
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseCheck.state",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "state",
|
|
"description": [
|
|
"\nThe state of checking the results of a license type meeting the license minimum."
|
|
],
|
|
"signature": [
|
|
"\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 89
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseCheck.message",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "message",
|
|
"description": [
|
|
"\nA message containing the reason for a license type not being valid."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 93
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseFeature",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicenseFeature",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 26
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseFeature.isAvailable",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isAvailable",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 27
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseFeature.isEnabled",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isEnabled",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 28
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingApiRequestHandlerContext",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicensingApiRequestHandlerContext",
|
|
"description": [
|
|
"\nThe APIs exposed on the `licensing` key of {@link RequestHandlerContext} for plugins that depend on licensing."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 49
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingApiRequestHandlerContext.featureUsage",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "featureUsage",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "licensing",
|
|
"scope": "server",
|
|
"docId": "kibLicensingPluginApi",
|
|
"section": "def-server.FeatureUsageServiceStart",
|
|
"text": "FeatureUsageServiceStart"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 50
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingApiRequestHandlerContext.license",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license",
|
|
"description": [],
|
|
"signature": [
|
|
"ILicense"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 51
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicense",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "PublicLicense",
|
|
"description": [
|
|
"\nSubset of license data considered as non-sensitive information.\nCan be passed to the client."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicense.uid",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "uid",
|
|
"description": [
|
|
"\nUID for license."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 40
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicense.status",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "status",
|
|
"description": [
|
|
"\nThe validity status of the license."
|
|
],
|
|
"signature": [
|
|
"\"invalid\" | \"active\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 45
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicense.expiryDateInMillis",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "expiryDateInMillis",
|
|
"description": [
|
|
"\nUnix epoch of the expiration date of the license."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 50
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicense.type",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 55
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicense.mode",
|
|
"type": "CompoundType",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "mode",
|
|
"description": [
|
|
"\nThe license type, being usually one of basic, standard, gold, platinum, or trial."
|
|
],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 60
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 19
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 36
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 53
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 70
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 87
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 104
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 122
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 139
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 156
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 173
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 190
|
|
}
|
|
},
|
|
{
|
|
"plugin": "apm",
|
|
"link": {
|
|
"path": "x-pack/plugins/apm/common/license_check.test.ts",
|
|
"lineNumber": 207
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
|
|
"lineNumber": 169
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
|
|
"lineNumber": 194
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
|
|
"lineNumber": 219
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
|
|
"lineNumber": 22
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
|
|
"lineNumber": 23
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
|
|
"lineNumber": 24
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
|
|
"lineNumber": 47
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
|
|
"lineNumber": 48
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
|
|
"lineNumber": 42
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
|
|
"lineNumber": 43
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
|
|
"lineNumber": 44
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
|
|
"lineNumber": 54
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
|
|
"lineNumber": 55
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
|
|
"lineNumber": 159
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
|
|
"lineNumber": 161
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicenseJSON",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "PublicLicenseJSON",
|
|
"description": [
|
|
"\nSubset of license & features data considered as non-sensitive information.\nStructured as json to be passed to the client."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 74
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicenseJSON.license",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license",
|
|
"description": [],
|
|
"signature": [
|
|
"PublicLicense",
|
|
" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 75
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicenseJSON.features",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "features",
|
|
"description": [],
|
|
"signature": [
|
|
"Record<string, ",
|
|
"LicenseFeature",
|
|
"> | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 76
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicLicenseJSON.signature",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "signature",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 77
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LICENSE_TYPE",
|
|
"type": "Enum",
|
|
"tags": [],
|
|
"label": "LICENSE_TYPE",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 10
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.CheckLicense",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "CheckLicense",
|
|
"description": [],
|
|
"signature": [
|
|
"(license: ",
|
|
"ILicense",
|
|
") => { valid: false; message: string; } | { valid: true; message: null; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts",
|
|
"lineNumber": 13
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseCheckState",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "LicenseCheckState",
|
|
"description": [],
|
|
"signature": [
|
|
"\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 8
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseStatus",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "LicenseStatus",
|
|
"description": [],
|
|
"signature": [
|
|
"\"invalid\" | \"active\" | \"expired\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 23
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicenseType",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "LicenseType",
|
|
"description": [],
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 20
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.PublicFeatures",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "PublicFeatures",
|
|
"description": [
|
|
"\nProvides information about feature availability for the current license."
|
|
],
|
|
"signature": [
|
|
"{ [x: string]: ",
|
|
"LicenseFeature",
|
|
"; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/common/types.ts",
|
|
"lineNumber": 67
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicensingPluginSetup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 67
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginSetup.license$",
|
|
"type": "Object",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "license$",
|
|
"description": [
|
|
"\nSteam of licensing information {@link ILicense}."
|
|
],
|
|
"signature": [
|
|
"Observable",
|
|
"<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 72
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "spaces",
|
|
"link": {
|
|
"path": "x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts",
|
|
"lineNumber": 437
|
|
}
|
|
},
|
|
{
|
|
"plugin": "spaces",
|
|
"link": {
|
|
"path": "x-pack/plugins/spaces/server/plugin.ts",
|
|
"lineNumber": 139
|
|
}
|
|
},
|
|
{
|
|
"plugin": "spaces",
|
|
"link": {
|
|
"path": "x-pack/plugins/spaces/server/plugin.ts",
|
|
"lineNumber": 145
|
|
}
|
|
},
|
|
{
|
|
"plugin": "security",
|
|
"link": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 228
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/server/usage/reporting_usage_collector.ts",
|
|
"lineNumber": 49
|
|
}
|
|
},
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/server/core.ts",
|
|
"lineNumber": 226
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 169
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/plugin.ts",
|
|
"lineNumber": 170
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/server/plugin.ts",
|
|
"lineNumber": 134
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/server/plugin.ts",
|
|
"lineNumber": 139
|
|
}
|
|
},
|
|
{
|
|
"plugin": "fleet",
|
|
"link": {
|
|
"path": "x-pack/plugins/fleet/server/plugin.ts",
|
|
"lineNumber": 214
|
|
}
|
|
},
|
|
{
|
|
"plugin": "remoteClusters",
|
|
"link": {
|
|
"path": "x-pack/plugins/remote_clusters/server/plugin.ts",
|
|
"lineNumber": 73
|
|
}
|
|
},
|
|
{
|
|
"plugin": "graph",
|
|
"link": {
|
|
"path": "x-pack/plugins/graph/server/plugin.ts",
|
|
"lineNumber": 36
|
|
}
|
|
},
|
|
{
|
|
"plugin": "indexLifecycleManagement",
|
|
"link": {
|
|
"path": "x-pack/plugins/index_lifecycle_management/server/services/license.ts",
|
|
"lineNumber": 41
|
|
}
|
|
},
|
|
{
|
|
"plugin": "maps",
|
|
"link": {
|
|
"path": "x-pack/plugins/maps/server/plugin.ts",
|
|
"lineNumber": 167
|
|
}
|
|
},
|
|
{
|
|
"plugin": "painlessLab",
|
|
"link": {
|
|
"path": "x-pack/plugins/painless_lab/server/services/license.ts",
|
|
"lineNumber": 40
|
|
}
|
|
},
|
|
{
|
|
"plugin": "rollup",
|
|
"link": {
|
|
"path": "x-pack/plugins/rollup/server/services/license.ts",
|
|
"lineNumber": 37
|
|
}
|
|
},
|
|
{
|
|
"plugin": "searchprofiler",
|
|
"link": {
|
|
"path": "x-pack/plugins/searchprofiler/server/plugin.ts",
|
|
"lineNumber": 32
|
|
}
|
|
},
|
|
{
|
|
"plugin": "snapshotRestore",
|
|
"link": {
|
|
"path": "x-pack/plugins/snapshot_restore/server/services/license.ts",
|
|
"lineNumber": 40
|
|
}
|
|
},
|
|
{
|
|
"plugin": "transform",
|
|
"link": {
|
|
"path": "x-pack/plugins/transform/server/services/license.ts",
|
|
"lineNumber": 42
|
|
}
|
|
},
|
|
{
|
|
"plugin": "upgradeAssistant",
|
|
"link": {
|
|
"path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts",
|
|
"lineNumber": 506
|
|
}
|
|
},
|
|
{
|
|
"plugin": "spaces",
|
|
"link": {
|
|
"path": "x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.test.ts",
|
|
"lineNumber": 63
|
|
}
|
|
},
|
|
{
|
|
"plugin": "upgradeAssistant",
|
|
"link": {
|
|
"path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts",
|
|
"lineNumber": 79
|
|
}
|
|
},
|
|
{
|
|
"plugin": "upgradeAssistant",
|
|
"link": {
|
|
"path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts",
|
|
"lineNumber": 97
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/lib/license_state.test.ts",
|
|
"lineNumber": 32
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/lib/license_state.test.ts",
|
|
"lineNumber": 49
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/lib/license_state.test.ts",
|
|
"lineNumber": 32
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/lib/license_state.test.ts",
|
|
"lineNumber": 49
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginSetup.refresh",
|
|
"type": "Function",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "refresh",
|
|
"description": [
|
|
"\nTriggers licensing information re-fetch."
|
|
],
|
|
"signature": [
|
|
"() => Promise<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 77
|
|
},
|
|
"deprecated": true,
|
|
"references": [],
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginSetup.createLicensePoller",
|
|
"type": "Function",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "createLicensePoller",
|
|
"description": [
|
|
"\nCreates a license poller to retrieve a license data with.\nAllows a plugin to configure a cluster to retrieve data from at\ngiven polling frequency."
|
|
],
|
|
"signature": [
|
|
"(clusterClient: Pick<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.LegacyClusterClient",
|
|
"text": "LegacyClusterClient"
|
|
},
|
|
", \"callAsInternalUser\" | \"asScoped\">, pollingFrequency: number) => { license$: ",
|
|
"Observable",
|
|
"<",
|
|
"ILicense",
|
|
">; refresh(): Promise<",
|
|
"ILicense",
|
|
">; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 84
|
|
},
|
|
"deprecated": true,
|
|
"references": [],
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.clusterClient",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "clusterClient",
|
|
"description": [],
|
|
"signature": [
|
|
"{ callAsInternalUser: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.LegacyAPICaller",
|
|
"text": "LegacyAPICaller"
|
|
},
|
|
"; asScoped: (request?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any> | ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.LegacyRequest",
|
|
"text": "LegacyRequest"
|
|
},
|
|
" | ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.FakeRequest",
|
|
"text": "FakeRequest"
|
|
},
|
|
" | undefined) => Pick<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.LegacyScopedClusterClient",
|
|
"text": "LegacyScopedClusterClient"
|
|
},
|
|
", \"callAsCurrentUser\" | \"callAsInternalUser\">; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 85
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.pollingFrequency",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "pollingFrequency",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 86
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginSetup.featureUsage",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "featureUsage",
|
|
"description": [
|
|
"\nAPIs to register licensed feature usage."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "licensing",
|
|
"scope": "server",
|
|
"docId": "kibLicensingPluginApi",
|
|
"section": "def-server.FeatureUsageServiceSetup",
|
|
"text": "FeatureUsageServiceSetup"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 91
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
},
|
|
"start": {
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginStart",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LicensingPluginStart",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 95
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginStart.license$",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license$",
|
|
"description": [
|
|
"\nSteam of licensing information {@link ILicense}."
|
|
],
|
|
"signature": [
|
|
"Observable",
|
|
"<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 99
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginStart.refresh",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "refresh",
|
|
"description": [
|
|
"\nTriggers licensing information re-fetch."
|
|
],
|
|
"signature": [
|
|
"() => Promise<",
|
|
"ILicense",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 103
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginStart.createLicensePoller",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "createLicensePoller",
|
|
"description": [
|
|
"\nCreates a license poller to retrieve a license data with.\nAllows a plugin to configure a cluster to retrieve data from at\ngiven polling frequency."
|
|
],
|
|
"signature": [
|
|
"(clusterClient: Pick<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.LegacyClusterClient",
|
|
"text": "LegacyClusterClient"
|
|
},
|
|
", \"callAsInternalUser\" | \"asScoped\">, pollingFrequency: number) => { license$: ",
|
|
"Observable",
|
|
"<",
|
|
"ILicense",
|
|
">; refresh(): Promise<",
|
|
"ILicense",
|
|
">; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 109
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.clusterClient",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "clusterClient",
|
|
"description": [],
|
|
"signature": [
|
|
"{ callAsInternalUser: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.LegacyAPICaller",
|
|
"text": "LegacyAPICaller"
|
|
},
|
|
"; asScoped: (request?: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any> | ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.LegacyRequest",
|
|
"text": "LegacyRequest"
|
|
},
|
|
" | ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.FakeRequest",
|
|
"text": "FakeRequest"
|
|
},
|
|
" | undefined) => Pick<",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.LegacyScopedClusterClient",
|
|
"text": "LegacyScopedClusterClient"
|
|
},
|
|
", \"callAsCurrentUser\" | \"callAsInternalUser\">; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 110
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.pollingFrequency",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "pollingFrequency",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 111
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "licensing",
|
|
"id": "def-server.LicensingPluginStart.featureUsage",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "featureUsage",
|
|
"description": [
|
|
"\nAPIs to manage licensed feature usage."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "licensing",
|
|
"scope": "server",
|
|
"docId": "kibLicensingPluginApi",
|
|
"section": "def-server.FeatureUsageServiceStart",
|
|
"text": "FeatureUsageServiceStart"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/licensing/server/types.ts",
|
|
"lineNumber": 116
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"lifecycle": "start",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |