• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Custom property validator on a simple type

Settings API - Custom Property-Validator on a simple type schema table

Custom Property-Validator on a simple type (builtin:example.custom-validation.property-validator-for-simple)

Showcase of Custom Property-Validators working on a simple property and executed in the cluster.

It will simply check that the entered number is even.

For the Java implementation check out ExamplePropertyValidatorForSimpleSchema.java

Schema IDSchema groupsScope
builtin:example.custom-validation.property-validator-for-simple
  • group:example
environment
environment-default
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-simple
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-simple
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-simple

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
startEveninteger

An even number.

required