Skip to main content

Extensions 2.0

  • Reference

Documentation of Extensions 2.0 API.

Latest (V3)
npm install @dynatrace-sdk/client-extensions-v2

discoveryClient

import { discoveryClient } from '@dynatrace-sdk/client-extensions-v2';

getJmxProcess

discoveryClient.getJmxProcess(config): Promise<JavaProcessDetails>

Retrieves details of a specified Java process discovered in the environment for JMX metric collection. | maturity=EARLY_ADOPTER

Required scope: extensions:discovery.jmx:read

Parameters

NameTypeDescription
config.filterstring

The filter parameter, as explained here.

Filtering is supported on the following field:

  • hostId - the ID of the host the process is running on, in the form HOST-XXXXXXXXXXXXXXXX.

If the parameter is omitted, all processes are returned.

Example: hostId = 'HOST-1234ABCD5678EFAB'

config.processId*requiredstringId of the Java process discovered in the environment for JMX metric collection.

Returns

Return typeStatus codeDescription
JavaProcessDetails200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorFailed. Agent data isn't yet available. Try again in a few seconds. | Failed. Agent communication timeout. | Client error. | Server error.

Code example

import { discoveryClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await discoveryClient.getJmxProcess({
processId: "...",
});

listJmxProcesses

discoveryClient.listJmxProcesses(config): Promise<JavaProcessContainerList>

Lists all Java processes discovered in the environment that are available for JMX metric collection. | maturity=EARLY_ADOPTER

Required scope: extensions:discovery.jmx:read

Parameters

NameTypeDescription
config.filterstring

The filter parameter, as explained here.

Filtering is supported on the following field:

  • hostId - the ID of the host the process is running on, in the form HOST-XXXXXXXXXXXXXXXX.

If the parameter is omitted, all processes are returned.

Example: hostId = 'HOST-1234ABCD5678EFAB'

Returns

Return typeStatus codeDescription
JavaProcessContainerList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { discoveryClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await discoveryClient.listJmxProcesses();

extensionsClient

import { extensionsClient } from '@dynatrace-sdk/client-extensions-v2';

activateExtensionEnvironmentConfiguration

extensionsClient.activateExtensionEnvironmentConfiguration(config): Promise<ExtensionEnvironmentConfigurationVersion>

Activates the environment configuration for a specified version of Extension 2.0.

Required scope: extensions:definitions:write

Parameters

NameTypeDescription
config.body*requiredExtensionEnvironmentConfigurationVersion
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
ExtensionEnvironmentConfigurationVersion200Success. Environment configuration created.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.activateExtensionEnvironmentConfiguration(
{ extensionName: "...", body: { version: "1.2.3" } },
);

createExtensionMonitoringConfiguration

extensionsClient.createExtensionMonitoringConfiguration(config): Promise<MonitoringConfigurationResponse>

Creates a new monitoring configuration for Extension 2.0.

Required scope: extensions:configurations:write

Parameters

NameTypeDescription
config.body*requiredMonitoringConfiguration
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
MonitoringConfigurationResponse201Created.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.createExtensionMonitoringConfiguration(
{
extensionName: "...",
body: { scope: "HOST-D3A3C5A146830A79" },
},
);

deleteExtensionEnvironmentConfiguration

extensionsClient.deleteExtensionEnvironmentConfiguration(config): Promise<void>

Deactivates the environment configuration for Extension 2.0.

Required scope: extensions:definitions:write

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
void204Success. Environment configuration deactivated. Response doesn't have a body.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.deleteExtensionEnvironmentConfiguration(
{ extensionName: "..." },
);

deleteExtensionMonitoringConfiguration

extensionsClient.deleteExtensionMonitoringConfiguration(config): Promise<void>

Deletes a specified monitoring configuration for Extension 2.0.

Required scope: extensions:configurations:write

Parameters

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.deleteExtensionMonitoringConfiguration(
{ extensionName: "...", configurationId: "..." },
);

deleteExtensionVersion

extensionsClient.deleteExtensionVersion(config): Promise<Extension>

Deletes a specified version of Extension 2.0.

Required scope: extensions:definitions:write

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.extensionVersion*requiredstringThe version of the requested Extension 2.0

Returns

Return typeStatus codeDescription
Extension202Accepted.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.deleteExtensionVersion({
extensionName: "...",
extensionVersion: "...",
});

executeExtensionMonitoringConfigurationActions

extensionsClient.executeExtensionMonitoringConfigurationActions(config): Promise<ExecuteActionsResponse>

Executes data source actions on ActiveGate or Host for a specified monitoring configuration of Extension 2.0.

Required scope: extensions:configuration.actions:write

Parameters

NameTypeDescription
config.body*requiredExecuteActions
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
ExecuteActionsResponse202Accepted.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.executeExtensionMonitoringConfigurationActions(
{
extensionName: "...",
configurationId: "...",
body: {},
},
);

getActiveExtensionEnvironmentConfiguration

extensionsClient.getActiveExtensionEnvironmentConfiguration(config): Promise<EnvironmentConfiguration>

Retrieves the active environment configuration version for Extension 2.0.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.addFieldsstring

Comma separated list of additional fields to include in the response. Available fields:

  • assets - includes assets of the Extension 2.0 in the environment.
  • status - includes installation status of assets of the Extension 2.0 in the environment.
  • errors - includes installation errors of assets of the Extension 2.0 in the environment.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
EnvironmentConfiguration200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.getActiveExtensionEnvironmentConfiguration(
{ extensionName: "..." },
);

getActiveGateGroups

extensionsClient.getActiveGateGroups(config): Promise<ActiveGateGroupInfoList>

Lists all ActiveGate groups available for Extension 2.0.

Required scope: extensions:configurations:read

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.extensionVersion*requiredstringThe version of the requested Extension 2.0

Returns

Return typeStatus codeDescription
ActiveGateGroupInfoList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.getActiveGateGroups({
extensionName: "...",
extensionVersion: "...",
});

getAlertTemplate

extensionsClient.getAlertTemplate(config): Promise<AlertTemplate>

Retrieves the alert template for a specified asset of the active environment configuration for Extension 2.0.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.alertTemplateId*requiredstringID of the requested asset.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
AlertTemplate200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.getAlertTemplate({
extensionName: "...",
alertTemplateId: "...",
});

getExtensionConfigurationSchema

extensionsClient.getExtensionConfigurationSchema(config): Promise<SchemaDefinitionRestDto>

Retrieves the configuration schema for a specified version of Extension 2.0.

One of the following scopes is required:

  • extensions:definitions:read
  • extensions:configurations:read

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.extensionVersion*requiredstringThe version of the requested Extension 2.0

Returns

Return typeStatus codeDescription
SchemaDefinitionRestDto200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.getExtensionConfigurationSchema({
extensionName: "...",
extensionVersion: "...",
});

getExtensionDetails

extensionsClient.getExtensionDetails(config): Promise<Extension>

Retrieves details of a specified version of Extension 2.0.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8"
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.extensionVersion*requiredstringThe version of the requested Extension 2.0

Returns

Return typeStatus codeDescription
void200Success.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.getExtensionDetails({
acceptType: "application/json; charset=utf-8",
extensionName: "...",
extensionVersion: "...",
});
extensionsClient.getExtensionDetails(config): Promise<Binary>

Parameters

NameTypeDescription
config.acceptType*required"application/octet-stream" | "application/yaml"
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.extensionVersion*requiredstringThe version of the requested Extension 2.0

Returns

Return typeStatus codeDescription
void200Success.

getExtensionMonitoringConfigurationAudit

extensionsClient.getExtensionMonitoringConfigurationAudit(config): Promise<AuditLog>

Retrieves the audit logs for a specified monitoring configuration of Extension 2.0.

Required scope: extensions:configurations:read

Parameters

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.pageKeystring

The cursor for the next page of results. You can find it in the next-page-key field of the previous response.

The first page is always returned if you don't specify the page-key query parameter.

When the page-key is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

config.sort*requiredstring

The sorting of audit log entries:

  • timestamp: Oldest first.
  • -timestamp: Newest first.

If not set, the newest first sorting is applied.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns

Return typeStatus codeDescription
AuditLog200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.getExtensionMonitoringConfigurationAudit(
{
extensionName: "...",
configurationId: "...",
sort: "-timestamp",
},
);

getExtensionMonitoringConfigurationDetails

extensionsClient.getExtensionMonitoringConfigurationDetails(config): Promise<ExtensionMonitoringConfiguration>

Retrieves details of a specified monitoring configuration for Extension 2.0.

Required scope: extensions:configurations:read

Parameters

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
ExtensionMonitoringConfiguration200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.getExtensionMonitoringConfigurationDetails(
{ extensionName: "...", configurationId: "..." },
);

getExtensionMonitoringConfigurationStatus

extensionsClient.getExtensionMonitoringConfigurationStatus(config): Promise<ExtensionStatus>

Retrieves the most recent execution status of a specified monitoring configuration for Extension 2.0.

Required scope: extensions:configurations:read

Parameters

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
ExtensionStatus200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.getExtensionMonitoringConfigurationStatus(
{ extensionName: "...", configurationId: "..." },
);

getExtensionMonitoringConfigurationStatuses

extensionsClient.getExtensionMonitoringConfigurationStatuses(config): Promise<ExtensionStatusWithIdList>

Retrieves the most recent execution statuses of monitoring configurations for Extension 2.0.

Required scope: extensions:configurations:read

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
ExtensionStatusWithIdList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.getExtensionMonitoringConfigurationStatuses(
{ extensionName: "..." },
);

installExtension

extensionsClient.installExtension(config): Promise<RegisteredExtensionResult>

Installs an Extension 2.0 from the Hub.

Required scope: extensions:definitions:write

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.versionstringThe version of Extension 2.0 to install. If not specified, the recommended version from the Dynatrace Hub shall be installed.

Returns

Return typeStatus codeDescription
RegisteredExtensionResult202Accepted.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.installExtension({
extensionName: "...",
});

listExtensionMonitoringConfigurations

extensionsClient.listExtensionMonitoringConfigurations(config): Promise<ExtensionMonitoringConfigurationList>

Lists all monitoring configurations for Extension 2.0.

Required scope: extensions:configurations:read

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.filterstring

The filter parameter, as explained here.

Filtering is supported on the following fields:

  • version
  • active or enabled (both keywords are supported and interchangeable)
  • description
  • activationContext
config.pageKeystring

The cursor for the next page of results. You can find it in the next-page-key field of the previous response.

The first page is always returned if you don't specify the page-key query parameter.

When the page-key is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of monitoring configurations in a single response payload.

The maximal allowed page size is 500.

If not set, 20 is used.

Returns

Return typeStatus codeDescription
ExtensionMonitoringConfigurationList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.listExtensionMonitoringConfigurations(
{ extensionName: "..." },
);

listExtensionVersions

extensionsClient.listExtensionVersions(config): Promise<ExtensionList>

Lists all versions of an Extension 2.0.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.extensionName*requiredstringThe name of the requested Extension 2.0.
config.pageKeystring

The cursor for the next page of results. You can find it in the next-page-key field of the previous response.

The first page is always returned if you don't specify the page-key query parameter.

When the page-key is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns

Return typeStatus codeDescription
ExtensionList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.listExtensionVersions({
extensionName: "...",
});

listExtensions

extensionsClient.listExtensions(config): Promise<ExtensionInfoList>

Lists all Extensions 2.0 available in the environment.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.addFieldsstring

Comma separated list of additional fields to include in the response. Available fields:

  • activeVersion - includes the active version of the Extension 2.0 in the environment.
  • keywords - includes the keywords of the Extension 2.0.
  • markedForDeletion - includes the markedForDeletion flag of the Extension 2.0 in the environment, which indicates that the extension is being deleted and cannot be updated or installed until the deletion process is completed.
config.filterstring

The filter parameter, as explained here.

Filtering is supported on the following fields:

  • name
  • markedForDeletion

This filter supports all type operators as well as logical operators 'AND' and 'OR'. 'NOT' operator and parentheses aren't supported.

config.pageKeystring

The cursor for the next page of results. You can find it in the next-page-key field of the previous response.

The first page is always returned if you don't specify the page-key query parameter.

When the page-key is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns

Return typeStatus codeDescription
ExtensionInfoList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.listExtensions();

updateExtensionEnvironmentConfiguration

extensionsClient.updateExtensionEnvironmentConfiguration(config): Promise<ExtensionEnvironmentConfigurationVersion>

Updates the active environment configuration version for Extension 2.0.

Required scope: extensions:definitions:write

Parameters

NameTypeDescription
config.body*requiredExtensionEnvironmentConfigurationVersion
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
ExtensionEnvironmentConfigurationVersion200Success. Environment configuration updated.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.updateExtensionEnvironmentConfiguration(
{ extensionName: "...", body: { version: "1.2.3" } },
);

updateExtensionMonitoringConfiguration

extensionsClient.updateExtensionMonitoringConfiguration(config): Promise<MonitoringConfigurationResponse>

Updates a specified monitoring configuration for Extension 2.0.

Required scope: extensions:configurations:write

Parameters

NameTypeDescription
config.body*requiredMonitoringConfigurationUpdate
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested Extension 2.0.

Returns

Return typeStatus codeDescription
MonitoringConfigurationResponse200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data =
await extensionsClient.updateExtensionMonitoringConfiguration(
{
extensionName: "...",
configurationId: "...",
body: {},
},
);

uploadExtension

extensionsClient.uploadExtension(config): Promise<ExtensionUploadResponse>

Uploads a new Extension 2.0.

Required scope: extensions:definitions:write

Parameters

NameType
config.body*requiredBlob

Returns

Return typeStatus codeDescription
ExtensionUploadResponse201Success. Extension 2.0 has been uploaded.

Throws

Error TypeError Message
ErrorEnvelopeErrorFailed. The input file is invalid. | Upload isn't possible yet. Try again in a few seconds. | Client error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.uploadExtension({
body: new Blob(),
});

validateExtension

extensionsClient.validateExtension(config): Promise<void>

Verifies a new Extension 2.0 for lack of any errors. Performs the same set of operations as upload but doesn't persist the changes.

Required scope: extensions:definitions:write

Parameters

NameType
config.body*requiredBlob

Returns

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { extensionsClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await extensionsClient.validateExtension({
body: new Blob(),
});

schemasClient

import { schemasClient } from '@dynatrace-sdk/client-extensions-v2';

getSchemaVersionFile

schemasClient.getSchemaVersionFile(config): Promise<JsonNode>

Retrieves the schema file for a specified schema version of Extension 2.0.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.fileName*requiredstringThe name of the schema file.
config.schemaVersion*requiredstringThe version of the schema.

Returns

Return typeStatus codeDescription
JsonNode200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { schemasClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await schemasClient.getSchemaVersionFile({
schemaVersion: "...",
fileName: "...",
});

listSchemaVersionFiles

schemasClient.listSchemaVersionFiles(config): Promise<SchemaFileList>

Lists all schema files for a specified schema version of Extension 2.0.

Required scope: extensions:definitions:read

Parameters

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8"
config.schemaVersion*requiredstringThe version of the schema.

Returns

Return typeStatus codeDescription
void200Success.

Code example

import { schemasClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await schemasClient.listSchemaVersionFiles({
acceptType: "application/json; charset=utf-8",
schemaVersion: "...",
});
schemasClient.listSchemaVersionFiles(config): Promise<Binary>

Parameters

NameTypeDescription
config.acceptType*required"application/octet-stream"
config.schemaVersion*requiredstringThe version of the schema.

Returns

Return typeStatus codeDescription
void200Success.

listSchemaVersions

schemasClient.listSchemaVersions(config): Promise<SchemaVersionList>

Lists all schema versions of Extension 2.0 available in the environment.

Required scope: extensions:definitions:read

Returns

Return typeStatus codeDescription
SchemaVersionList200Success.

Throws

Error TypeError Message
ErrorEnvelopeErrorClient error. | Server error.

Code example

import { schemasClient } from "@dynatrace-sdk/client-extensions-v2";

const data = await schemasClient.listSchemaVersions();

Types

ActiveGateGroupInfo

Metadata for each ActiveGate group.

NameTypeDescription
activeGates*requiredArray<ActiveGateInfo>ActiveGates in group.
availableActiveGates*requirednumberNumber of ActiveGates in group available for extension.
groupName*requiredstringActiveGate group name.

ActiveGateGroupInfoList

ActiveGate groups metadata for extensions.

NameTypeDescription
items*requiredArray<ActiveGateGroupInfo>Metadata for each ActiveGate group.

ActiveGateInfo

ActiveGates in group.

NameTypeDescription
errors*requiredArray<string>List of errors if Extension can't be run on the ActiveGate
id*requiredstringActiveGate ID.

AlertTemplate

NameType
templateJsonstring

AssetInfo

Metadata for an extension asset.

NameTypeDescription
assetSchemaDetailsAssetSchemaDetailsSettings schema details for asset
displayNamestringUser-friendly name of the asset.
idstringID of the asset. Identifies the asset in REST API and/or UI (where applicable).
type"ALERT" | "ALERT_TEMPLATE" | "AWS_SERVICE" | "CUSTOM_CARDS" | "DASHBOARD" | "DECLARATIVE_PROCESSES" | "DOCUMENT_DASHBOARD" | "DQL_LOG_METRIC" | "DQL_LOG_PROCESSING_RULE" | "GENERIC_RELATIONSHIP" | "GENERIC_TYPE" | "LIST_SCREEN_FILTERS" | "LIST_SCREEN_INJECTIONS" | "LIST_SCREEN_LAYOUT" | "LOG_EVENT" | "LOG_METRIC" | "LOG_PROCESSING_RULE" | "LQL_LOG_METRIC" | "LQL_LOG_PROCESSING_RULE" | "METRIC_METADATA" | "METRIC_QUERY" | "OPEN_PIPELINE" | "PROCESS_GROUPING_RULES" | "SCREEN_ACTIONS" | "SCREEN_CHART_GROUPS" | "SCREEN_DQL_TABLE" | "SCREEN_ENTITIES_LISTS" | "SCREEN_EVENTS_CARDS" | "SCREEN_FILTERS" | "SCREEN_HEALTH_CARDS" | "SCREEN_INJECTIONS" | "SCREEN_LAYOUT" | "SCREEN_LOGS_CARDS" | "SCREEN_MESSAGE_CARDS" | "SCREEN_METRIC_TABLES" | "SCREEN_PROBLEMS" | "SCREEN_PROPERTIES"The type of the asset.

AssetSchemaDetails

Settings schema details for asset

NameTypeDescription
keystringAsset key
schemaIdstringAsset schema id
scopestringAsset configuration scope

AuditLog

The audit log of your environment.

NameTypeDescription
auditLogsArray<AuditLogEntry>A list of audit log entries ordered by the creation timestamp.
nextPageKeystring

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.

pageSizenumberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

AuditLogEntry

An entry of the audit log.

NameTypeDescription
category*required"ACTIVEGATE_TOKEN" | "BUILD_UNIT_V2" | "CONFIG" | "MANUAL_TAGGING_SERVICE" | "TENANT_LIFECYCLE" | "TOKEN" | "WEB_UI"The category of the recorded operation.
dt.settings.keystringThe key of the affected object of a setting for entries of category CONFIG.
dt.settings.object_idstringThe ID of the affected object of a setting for entries of category CONFIG.
dt.settings.object_summarystringThe value summary for entries of category CONFIG.
dt.settings.schema_idstringThe schema ID or config ID for entries of category CONFIG.
dt.settings.scope_idstringThe persistence scope for entries of category CONFIG, e.g. an ME identifier.
dt.settings.scope_namestringThe display name of the scope for entries of category CONFIG.
entityIdstring

The ID of an entity from the category.

For example, it can be config ID for the CONFIG category or token ID for the TOKEN category.

environmentId*requiredstringThe ID of the Dynatrace environment where the recorded operation occurred.
eventType*required"CREATE" | "DELETE" | "LOGIN" | "LOGOUT" | "REORDER" | "REVOKE" | "TAG_ADD" | "TAG_REMOVE" | "TAG_UPDATE" | "UPDATE"

The type of the recorded operation.

  • LOGIN -> A user logged in
  • LOGOUT -> A user logged out
  • CREATE -> An object was created
  • UPDATE -> An object was updated
  • DELETE -> An object was deleted
  • REVOKE -> An Active Gate token was revoked
  • TAG_ADD -> A manual tag was added
  • TAG_REMOVE -> A manual tag was removed
  • TAG_UPDATE -> A manual tag was updated
  • REMOTE_CONFIGURATION_MANAGEMENT -> A Remote Configuration Management related operation occurred
logId*requiredstringThe ID of the log entry.
messagestringThe logged message.
patchany

The patch of the recorded operation as the JSON representation.

The format is an enhanced RFC 6902. The patch also carries the previous value in the oldValue field.

success*requiredbooleanThe recorded operation is successful (true) or failed (false).
timestamp*requirednumberThe timestamp of the record creation, in UTC milliseconds.
user*requiredstringThe ID of the user who performed the recorded operation.
userOriginstringThe origin and the IP address of the user.
userType*required"PUBLIC_TOKEN_IDENTIFIER" | "SERVICE_NAME" | "TOKEN_HASH" | "USER_NAME"

The type of the authentication of the user.

  • USER_NAME -> User was logged in the UI
  • TOKEN_HASH -> URL Token or DevOps Token, the hash of the token is logged
  • SERVICE_NAME -> No authenticated user at all, this action was performed by a system service automatically
  • PUBLIC_TOKEN_IDENTIFIER -> API Token, the public token id is logged

Author

Extension author

NameTypeDescription
namestringAuthor name

ComplexConstraint

A constraint on the values accepted for a complex settings property.

NameTypeDescription
checkAllPropertiesbooleanDefines if modification of any property triggers secret resubmission check.
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.
maximumPropertyCountnumberThe maximum number of properties that can be set.
minimumPropertyCountnumberThe minimum number of properties that must be set.
propertiesArray<string>A list of properties (defined by IDs) that are used to check the constraint.
skipAsyncValidationbooleanWhether to skip validation on a change made from the UI.
timeoutnumberThe maximum time in seconds the custom validator is allowed to run.
type*required"CUSTOM_VALIDATOR_REF" | "GREATER_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN" | "LESS_THAN_OR_EQUAL" | "PROPERTY_COUNT_RANGE" | "SECRET_RESUBMISSION" | "UNKNOWN"The type of the constraint.

Constraint

A constraint on the values accepted for a settings property.

NameTypeDescription
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.
disallowDangerousRegexbooleanWhether to disallow usage of dangerous regexes
maxLengthnumberThe maximum allowed length of string values.
maximumnumberThe maximum allowed value.
minLengthnumberThe minimum required length of string values.
minimumnumberThe minimum allowed value.
patternstringThe regular expression pattern for valid string values.
skipAsyncValidationbooleanWhether to skip validation on a change made from the UI.
timeoutnumberThe maximum time in seconds the custom validator is allowed to run.
type*required"CUSTOM_VALIDATOR_REF" | "UNKNOWN" | "LENGTH" | "NOT_BLANK" | "NOT_EMPTY" | "NO_WHITESPACE" | "PATTERN" | "RANGE" | "REGEX" | "TRIMMED" | "UNIQUE"The type of the constraint.
uniquePropertiesArray<string>A list of properties for which the combination of values must be unique.

ConstraintViolation

A list of constraint violations.

NameType
locationstring
messagestring
parameterLocation"HEADER" | "PATH" | "PAYLOAD_BODY" | "QUERY"
pathstring

DatasourceDefinition

Configuration of a datasource for a property.

NameTypeDescription
filterProperties*requiredArray<string>The properties to filter the datasource options on.
fullContext*requiredbooleanWhether this datasource expects full setting payload as the context.
identifier*requiredstringThe identifier of a custom data source of the property's value.
resetValue"ALWAYS" | "INVALID_ONLY" | "NEVER"When to reset datasource value in the UI on filter change.
useApiSearch*requiredbooleanIf true, the datasource should use the api to filter the results instead of client-side filtering.
validate*requiredbooleanWhether to validate input to only allow values returned by the datasource.

DeletionConstraint

A constraint on the values that are going to be deleted.

NameTypeDescription
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.
schemaIdsArray<string>
timeoutnumberThe maximum time in seconds the custom validator is allowed to run.
type*required"CUSTOM_VALIDATOR_REF" | "UNKNOWN" | "REFERENTIAL_INTEGRITY"The type of the deletion constraint.

EnumType

Definition of an enum property.

NameTypeDescription
description*requiredstringA short description of the property.
displayNamestringThe display name of the property.
documentation*requiredstringAn extended description and/or links to documentation.
enumClassstringAn existing Java enum class that holds the allowed values of the enum.
items*requiredArray<EnumValue>A list of allowed values of the enum.
type*required"enum"The type of the property.

EnumValue

An allowed value for an enum property.

NameTypeDescription
descriptionstringA short description of the value.
displayName*requiredstringThe display name of the value.
enumInstancestringThe name of the value in an existing Java enum class.
iconstringThe icon of the value.
value*requiredanyThe allowed value of the enum.

EnvironmentConfiguration

List of assets imported with the active extension environment configuration.

NameTypeDescription
assets*requiredArray<AssetInfo>The list of the imported assets.
errors*requiredArray<string>List of errors during asset import
status*required"PENDING" | "UP_TO_DATE"The status of the assets list.
version*requiredstringVersion of the active extension environment configuration.
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Error

NameTypeDescription
codenumberThe HTTP status code.
detailsErrorDetailsThe error details.
messagestringThe error message.

ErrorDetails

The error details.

NameTypeDescription
constraintViolationsArray<ConstraintViolation>A list of constraint violations.

ErrorEnvelope

NameType
errorError

ExecuteActions

NameTypeDescription
actionsExecuteActionsActionsData Source defined action objects

ExecuteActionsActions

Data Source defined action objects

type: Record<string, JsonNode>

ExecuteActionsResponse

NameTypeDescription
activeGateIdDEPRECATEDstringActive Gate id for actions execution
activeGateIdsArray<string>Active Gate ids for actions execution
activeGateNameDEPRECATEDstringActive Gate name for actions execution

Extension

NameTypeDescription
author*requiredAuthorExtension author
dataSources*requiredArray<string>Data sources that extension uses to gather data
extensionName*requiredstringExtension name
featureSets*requiredArray<string>Available feature sets
featureSetsDetails*requiredExtensionFeatureSetsDetailsDetails of feature sets
fileHash*requiredstringSHA-256 hash of uploaded Extension file
minDynatraceVersion*requiredstringMinimal Dynatrace version that works with the extension
minEECVersion*requiredstringMinimal Extension Execution Controller version that works with the extension
variables*requiredArray<string>Custom variables used in extension configuration
version*requiredstringExtension version
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionEnvironmentConfigurationVersion

NameTypeDescription
version*requiredstringExtension version
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionFeatureSetsDetails

Details of feature sets

type: Record<string, FeatureSetDetails>

ExtensionInfo

A list of extensions with additional metadata.

NameTypeDescription
activeVersionnull | stringActive version in the environment (null if none is active)
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?
extensionName*requiredstringExtension name
keywords*requiredArray<string>Extension keywords for the highest version
markedForDeletionnull | booleanIndicates if the extension is marked for deletion
version*requiredstringHighest installed version
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionInfoList

A list of extensions with additional metadata.

NameTypeDescription
items*requiredArray<ExtensionInfo>A list of extensions with additional metadata.
nextPageKeystring

The cursor for the next page of results. Has the value of null on the last page.

Use it in the page-key query parameter to obtain subsequent pages of the result.

pageSizenumberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ExtensionList

A list of extensions.

NameTypeDescription
items*requiredArray<MinimalExtension>A list of extensions.
nextPageKeystring

The cursor for the next page of results. Has the value of null on the last page.

Use it in the page-key query parameter to obtain subsequent pages of the result.

pageSizenumberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ExtensionMonitoringConfiguration

A list of extension monitoring configurations.

NameTypeDescription
modificationInfo*requiredModificationInfoAudit information about the creation and modification of this resource
objectId*requiredstringConfiguration id
scope*requiredstringConfiguration scope
value*requiredExtensionMonitoringConfigurationValueConfiguration

ExtensionMonitoringConfigurationList

NameTypeDescription
items*requiredArray<ExtensionMonitoringConfiguration>A list of extension monitoring configurations.
nextPageKeystring

The cursor for the next page of results. Has the value of null on the last page.

Use it in the page-key query parameter to obtain subsequent pages of the result.

pageSizenumberThe number of entries per page.
totalCount*requirednumber

ExtensionStatus

NameTypeDescription
status*required"UNKNOWN" | "PENDING" | "ERROR" | "OK" | "WARNING"Latest status of given configuration.
timestampstringTimestamp of the latest status of given configuration.

ExtensionStatusWithId

NameTypeDescription
configurationId*requiredstringUnique ID of the configuration.
status*required"UNKNOWN" | "PENDING" | "ERROR" | "OK" | "WARNING"Latest status of given configuration.
timestampstringTimestamp of the latest status of given configuration.

ExtensionStatusWithIdList

NameType
items*requiredArray<ExtensionStatusWithId>

ExtensionUploadResponse

NameTypeDescription
assetsInfo*requiredArray<UploadResponseAssetInfo>Information about extension assets included
author*requiredAuthorExtension author
dataSources*requiredArray<string>Data sources that extension uses to gather data
extensionName*requiredstringExtension name
featureSets*requiredArray<string>Available feature sets
featureSetsDetails*requiredExtensionUploadResponseFeatureSetsDetailsDetails of feature sets
fileHash*requiredstringSHA-256 hash of uploaded Extension file
minDynatraceVersion*requiredstringMinimal Dynatrace version that works with the extension
minEECVersion*requiredstringMinimal Extension Execution Controller version that works with the extension
variables*requiredArray<string>Custom variables used in extension configuration
version*requiredstringExtension version
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionUploadResponseFeatureSetsDetails

Details of feature sets

type: Record<string, FeatureSetDetails>

FeatureSetDetails

Additional information about a Feature Set

NameTypeDescription
descriptionstringOptional description for the feature set
displayNamestringOptional display name of the feature set
isRecommended*requiredbooleanMarks the feature set as recommended (selected by default during activation)
metricsArray<Metric>Feature set metrics

InsertPosition

The position where the button should be shown relative to a property in the UI

NameTypeDescription
after*requiredstringThe path of a property after which the button should be shown in the UI

Item

An item of a collection property.

NameTypeDescription
constraintsArray<Constraint>A list of constraints limiting the values to be accepted.
datasourceDatasourceDefinitionConfiguration of a datasource for a property.
descriptionstringA short description of the item.
displayNamestringThe display name of the item.
documentationstringAn extended description and/or links to documentation.
metadataItemMetadataMetadata of the items.
referencedTypestringThe type referenced by the item's value.
subTypestringThe subtype of the item's value.
type*requiredstring | RefPointerThe type of the item's value.
uiCustomizationUiCustomizationCustomization for UI elements

ItemMetadata

Metadata of the items.

type: Record<string, string>

JavaProcessContainer

NameType
agentVersionstring
idstring
namestring
propertiesJavaProcessContainerProperties

JavaProcessContainerList

NameType
items*requiredArray<JavaProcessContainer>

JavaProcessContainerProperties

type: Record<string, string[]>

Metric

Metric gathered by an extension

NameTypeDescription
keystringMetric key
metadataMetricMetadataMetric metadata

MetricMetadata

Metric metadata

NameTypeDescription
descriptionstringA short description of the metric
displayNamestringThe name of the metric in the user interface
unitstringThe unit of the metric

MinimalExtension

A list of extensions.

NameTypeDescription
extensionName*requiredstringExtension name
version*requiredstringExtension version
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ModificationInfo

Audit information about the creation and modification of this resource

NameTypeDescription
createdBystringUser who created the configuration
createdTimestringTimestamp when the resource was last modified in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
lastModifiedBystringUser who last modified the configuration
lastModifiedTimestringTimestamp when the resource was last modified in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

MonitoringConfiguration

NameTypeDescription
scope*requiredstringThe scope this monitoring configuration will be defined for
valueJsonNodeThe monitoring configuration

MonitoringConfigurationResponse

NameTypeDescription
code*requirednumberThe HTTP Status code
objectId*requiredstringThe identifier of the new configuration

MonitoringConfigurationUpdate

NameTypeDescription
valueJsonNodeThe monitoring configuration

Precondition

A precondition for visibility of a property.

NameTypeDescription
expectedValueany

The expected value of the property.

Only applicable to properties of the EQUALS type.

expectedValuesArray<any>

A list of valid values of the property.

Only applicable to properties of the IN type.

patternstring

The Regular expression which is matched against the property.

Only applicable to properties of the REGEX_MATCH type.

preconditionPreconditionA precondition for visibility of a property.
preconditionsArray<Precondition>

A list of child preconditions to be evaluated.

Only applicable to properties of the AND and OR types.

propertystringThe property to be evaluated.
type*required"AND" | "EQUALS" | "IN" | "NOT" | "NULL" | "OR" | "REGEX_MATCH"The type of the precondition.

PropertyDefinition

Configuration of a property in a settings schema.

NameTypeDescription
constraintsArray<Constraint>A list of constraints limiting the values to be accepted.
datasourceDatasourceDefinitionConfiguration of a datasource for a property.
defaultany

The default value to be used when no value is provided.

If a non-singleton has the value of null, it means an empty collection.

descriptionstringA short description of the property.
displayNamestringThe display name of the property.
documentationstringAn extended description and/or links to documentation.
forceSecretResubmissionbooleanDefines if value is allowed to be modified when secret properties are not
itemsItemAn item of a collection property.
maxObjects*requirednumber

The maximum number of objects in a collection property.

Has the value of 1 for singletons.

metadataPropertyDefinitionMetadataMetadata of the property.
migrationPatternstringPattern with references to properties to create a new value.
minObjectsnumberThe minimum number of objects in a collection property.
modificationPolicy"ALWAYS" | "NEVER" | "DEFAULT"Modification policy of the property.
nullable*requiredbooleanThe value can (true) or can't (false) be null.
preconditionPreconditionA precondition for visibility of a property.
referencedTypestringThe type referenced by the property value
subTypestringThe subtype of the property's value.
type*requiredstring | RefPointerThe type of the property's value.
uiCustomizationUiCustomizationCustomization for UI elements

PropertyDefinitionMetadata

Metadata of the property.

type: Record<string, string>

RefPointer

Object with a pointer to a JSON object

NameTypeDescription
$ref*requiredstringPointer to a JSON object this object should be logically replaced with.

RegisteredExtensionResult

NameTypeDescription
extensionNamestringFQN of the extension registered in the tenant.
extensionVersionstringVersion number of the extension.

SchemaConstraintRestDto

NameTypeDescription
byteLimitnumberThe maximum allowed size in bytes for the sum over all persisted values for the schema
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.
flattenCollectionsbooleanWhether to flatten collection properties when checking for uniqueness, so only disjoint collections are considered unique
skipAsyncValidationbooleanWhether to skip validation on a change made from the UI.
type*required"CUSTOM_VALIDATOR_REF" | "UNKNOWN" | "UNIQUE" | "BYTE_SIZE_LIMIT" | "MULTI_SCOPE_CUSTOM_VALIDATOR_REF" | "MULTI_SCOPE_UNIQUE"The type of the schema constraint.
uniquePropertiesArray<string>The list of properties for which the combination of values needs to be unique

SchemaDefinitionRestDto

NameTypeDescription
allowedScopes*requiredArray<string>A list of scopes where the schema can be used.
constraintsArray<ComplexConstraint>A list of constrains limiting the values to be accepted by the schema.
deletionConstraintsArray<DeletionConstraint>Constraints limiting the values to be deleted.
description*requiredstringA short description of the schema.
displayName*requiredstringThe display name of the schema.
documentationstringAn extended description of the schema and/or links to documentation.
dynatrace*requiredstringThe version of the data format.
enums*requiredSchemaDefinitionRestDtoEnumsA list of definitions of enum properties.
keyPropertystringName of the key property in this schema.
maturity"EARLY_ADOPTER" | "GENERAL_AVAILABILITY" | "PREVIEW"

The maturity of the schema. Possible values:

  • PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
  • EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
  • GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.

In any case, automations should make use of the schemaVersion field when writing settings objects.

maxObjects*requirednumber

The maximum amount of objects per scope.

Only applicable when multiObject is set to true.

metadataSchemaDefinitionRestDtoMetadataMetadata of the setting.
multiObject*requiredbooleanMultiple (true) objects per scope are permitted or a single (false) object per scope is permitted.
orderedboolean

If true the order of objects has semantic significance.

Only applicable when multiObject is set to true.

properties*requiredSchemaDefinitionRestDtoPropertiesA list of schema's properties.
schemaConstraintsArray<SchemaConstraintRestDto>Constraints limiting the values as a whole to be accepted in this configuration element.
schemaGroupsArray<string>Names of the groups, which the schema belongs to.
schemaId*requiredstringThe ID of the schema.
tableColumnsSchemaDefinitionRestDtoTableColumnsTable column definitions for use in the ui.
types*requiredSchemaDefinitionRestDtoTypes

A list of definitions of types.

A type is a complex property that contains its own set of subproperties.

uiCustomizationUiCustomizationCustomization for UI elements
version*requiredstringThe version of the schema.

SchemaDefinitionRestDtoEnums

A list of definitions of enum properties.

type: Record<string, EnumType>

SchemaDefinitionRestDtoMetadata

Metadata of the setting.

type: Record<string, string>

SchemaDefinitionRestDtoProperties

A list of schema's properties.

type: Record<string, PropertyDefinition>

SchemaDefinitionRestDtoTableColumns

Table column definitions for use in the ui.

type: Record<string, TableColumn>

SchemaDefinitionRestDtoTypes

A list of definitions of types.

A type is a complex property that contains its own set of subproperties.

type: Record<string, SchemaType>

SchemaFileList

A list of schema files.

NameTypeDescription
items*requiredArray<string>A list of schema files.

SchemaType

A list of definitions of types.

A type is a complex property that contains its own set of subproperties.

NameTypeDescription
constraintsArray<ComplexConstraint>A list of constraints limiting the values to be accepted.
description*requiredstringA short description of the property.
displayNamestringThe display name of the property.
documentation*requiredstringAn extended description and/or links to documentation.
properties*requiredSchemaTypePropertiesDefinition of properties that can be persisted.
searchPatternstringThe pattern for the summary search(for example, "Alert after X minutes.") of the configuration in the UI.
summaryPattern*requiredstringThe pattern for the summary (for example, "Alert after X minutes.") of the configuration in the UI.
type*required"object"Type of the reference type.
version*requiredstringThe version of the type.
versionInfostringA short description of the version.

SchemaTypeProperties

Definition of properties that can be persisted.

type: Record<string, PropertyDefinition>

SchemaVersionList

A list of available schema versions.

NameTypeDescription
items*requiredArray<string>A list of schema versions.

TableColumn

The definition of a table column to be used in the ui.

NameTypeDescription
pattern*requiredstringPattern with references to properties to create a single value for the column.

UiButtonCustomization

UI customization for defining a button that calls a function when pressed

NameTypeDescription
descriptionstringThe description to be shown in a tooltip when hovering over the button
displayName*requiredstringThe label of the button
identifier*requiredstringThe identifier of the function to be called when the button is pressed
insert*requiredstring | InsertPositionThe position where the button should be shown in the UI

UiCallbackCustomization

UI customization options for defining custom callbacks

NameTypeDescription
buttonsArray<UiButtonCustomization>UI customization for defining buttons that call functions when pressed

UiCustomization

Customization for UI elements

NameTypeDescription
callbackUiCallbackCustomizationUI customization options for defining custom callbacks
expandableUiExpandableCustomizationUI customization for expandable section
tableUiTableCustomizationCustomization for UI tables
tabsUiTabsCustomizationUI customization for tabs

UiEmptyStateCustomization

UI customization for empty state in a table

NameTypeDescription
textstringThe text to be shown in the empty state

UiExpandableCustomization

UI customization for expandable section

NameTypeDescription
displayNamestringThe display name
expandedbooleanDefines if the item should be expanded by default
sectionsArray<UiExpandableSectionCustomization>A list of sections

UiExpandableSectionCustomization

Expandable section customization for UI

NameTypeDescription
descriptionstringThe description
displayName*requiredstringThe display name
expandedbooleanDefines if the section should be expanded by default
properties*requiredArray<string>A list of properties

UiTabGroupCustomization

Tab group customization for UI

NameTypeDescription
descriptionstringThe description
displayName*requiredstringThe display name
properties*requiredArray<string>A list of properties

UiTableColumnCustomization

Customization for UI table columns

NameTypeDescription
builtinColumnRefstringThe ui specific builtin column-implementation for this column.
columnRefstringThe referenced column from the 'tableColumns' property of the schema for this column.
displayNamestringThe display name for this column.
idstringThe id for this column used for filtering. Required for conflicting or pathed columns - otherwise the ref is used.
itemsArray<UiTableColumnItemCustomization>The possible items of this column.
propertyRefstringThe referenced property for this column.
typestringThe ui specific type for this column.
widthstringThe width this column should take up on the table.

UiTableColumnItemCustomization

Customization for UI table column items

NameTypeDescription
displayNamestringThe display name of this item.
iconstringThe icon of this item.
value*requiredstringThe value of this item.

UiTableCustomization

Customization for UI tables

NameTypeDescription
columnsArray<UiTableColumnCustomization>A list of columns for the UI table
emptyStateUiEmptyStateCustomizationUI customization for empty state in a table

UiTabsCustomization

UI customization for tabs

NameTypeDescription
groupsArray<UiTabGroupCustomization>A list of groups

UploadResponseAssetInfo

Information about extension assets included

NameType
assetTypestring
countnumber

Enums

AssetInfoType

⚠️ Deprecated Use literal values.

The type of the asset.

Enum keys

Alert | AlertTemplate | AwsService | CustomCards | Dashboard | DeclarativeProcesses | DocumentDashboard | DqlLogMetric | DqlLogProcessingRule | GenericRelationship | GenericType | ListScreenFilters | ListScreenInjections | ListScreenLayout | LogEvent | LogMetric | LogProcessingRule | LqlLogMetric | LqlLogProcessingRule | MetricMetadata | MetricQuery | OpenPipeline | ProcessGroupingRules | ScreenActions | ScreenChartGroups | ScreenDqlTable | ScreenEntitiesLists | ScreenEventsCards | ScreenFilters | ScreenHealthCards | ScreenInjections | ScreenLayout | ScreenLogsCards | ScreenMessageCards | ScreenMetricTables | ScreenProblems | ScreenProperties

AuditLogEntryCategory

⚠️ Deprecated Use literal values.

The category of the recorded operation.

Enum keys

ActivegateToken | BuildUnitV2 | Config | ManualTaggingService | TenantLifecycle | Token | WebUi

AuditLogEntryEventType

⚠️ Deprecated Use literal values.

The type of the recorded operation.

  • LOGIN -> A user logged in
  • LOGOUT -> A user logged out
  • CREATE -> An object was created
  • UPDATE -> An object was updated
  • DELETE -> An object was deleted
  • REVOKE -> An Active Gate token was revoked
  • TAG_ADD -> A manual tag was added
  • TAG_REMOVE -> A manual tag was removed
  • TAG_UPDATE -> A manual tag was updated
  • REMOTE_CONFIGURATION_MANAGEMENT -> A Remote Configuration Management related operation occurred

Enum keys

Create | Delete | Login | Logout | Reorder | Revoke | TagAdd | TagRemove | TagUpdate | Update

AuditLogEntryUserType

⚠️ Deprecated Use literal values.

The type of the authentication of the user.

  • USER_NAME -> User was logged in the UI
  • TOKEN_HASH -> URL Token or DevOps Token, the hash of the token is logged
  • SERVICE_NAME -> No authenticated user at all, this action was performed by a system service automatically
  • PUBLIC_TOKEN_IDENTIFIER -> API Token, the public token id is logged

Enum keys

PublicTokenIdentifier | ServiceName | TokenHash | UserName

ComplexConstraintType

⚠️ Deprecated Use literal values.

The type of the constraint.

Enum keys

CustomValidatorRef | GreaterThan | GreaterThanOrEqual | LessThan | LessThanOrEqual | PropertyCountRange | SecretResubmission | Unknown

ConstraintType

⚠️ Deprecated Use literal values.

The type of the constraint.

Enum keys

CustomValidatorRef | Length | NoWhitespace | NotBlank | NotEmpty | Pattern | Range | Regex | Trimmed | Unique | Unknown

ConstraintViolationParameterLocation

⚠️ Deprecated Use literal values.

Enum keys

Header | Path | PayloadBody | Query

DatasourceDefinitionResetValue

⚠️ Deprecated Use literal values.

When to reset datasource value in the UI on filter change.

Enum keys

Always | InvalidOnly | Never

DeletionConstraintType

⚠️ Deprecated Use literal values.

The type of the deletion constraint.

Enum keys

CustomValidatorRef | ReferentialIntegrity | Unknown

EnumTypeType

⚠️ Deprecated Use literal values.

The type of the property.

Enum keys

Enum

EnvironmentConfigurationStatus

⚠️ Deprecated Use literal values.

The status of the assets list.

Enum keys

Pending | UpToDate

ExtensionStatusStatus

⚠️ Deprecated Use literal values.

Latest status of given configuration.

Enum keys

Error | Ok | Pending | Unknown | Warning

ExtensionStatusWithIdStatus

⚠️ Deprecated Use literal values.

Latest status of given configuration.

Enum keys

Error | Ok | Pending | Unknown | Warning

PreconditionType

⚠️ Deprecated Use literal values.

The type of the precondition.

Enum keys

And | Equals | In | Not | Null | Or | RegexMatch

PropertyDefinitionModificationPolicy

⚠️ Deprecated Use literal values.

Modification policy of the property.

Enum keys

Always | Default | Never

SchemaConstraintRestDtoType

⚠️ Deprecated Use literal values.

The type of the schema constraint.

Enum keys

ByteSizeLimit | CustomValidatorRef | MultiScopeCustomValidatorRef | MultiScopeUnique | Unique | Unknown

SchemaDefinitionRestDtoMaturity

⚠️ Deprecated Use literal values.

The maturity of the schema. Possible values:

  • PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
  • EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
  • GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.

In any case, automations should make use of the schemaVersion field when writing settings objects.

Enum keys

EarlyAdopter | GeneralAvailability | Preview

SchemaTypeType

⚠️ Deprecated Use literal values.

Type of the reference type.

Enum keys

Object

Still have questions?
Find answers in the Dynatrace Community