ParameterizedTestFilter

A ParameterizedTestFilter element is included in a GetParameterizedTestsRequest to limit the output of the GetParameterizedTests query. The output can be limited by monitor ID (only monitors whose ids are listed in the filter can be returned) or by monitor status.

Derived by

Restricting anyType

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE   1..1    
MonitorId [element ParameterizedTestFilter] string 0..1 No A monitor ID uniquely identifies a test in the Dynatrace Portal. When a MonitorId element appears in a ParameterizedTestFilter, it restricts the GetParameterizedTests output to that monitor ID. However, there will be output if and only if specified monitor has substitution parameters defined for it.
MonitorStatus [element ParameterizedTestFilter] MonitorStatusType 0..1 No The status of a test (may be Active or Inactive when included in a ParameterizedTestFilter).

Referenced by

Example

The following example limits the output by monitor ID:

<prov:GetMaintenanceWindowsRequest
    xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <prov:MaintenanceWindowFilter>
        <prov:MaintenanceWindowType>RECURRING</prov:MaintenanceWindowType>
        <prov:MonitorIds>
            <prov:MonitorId>326334</prov:MonitorId>
            <prov:MonitorId>328141</prov:MonitorId>
            <prov:MonitorId>328196</prov:MonitorId>
        </prov:MonitorIds>
    </prov:MaintenanceWindowFilter>
</prov:GetMaintenanceWindowsRequest>

The next example limits the output by monitor status:

<prov:GetParameterizedTestsRequest
    xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <prov:ParameterizedTestFilter>
        <prov:MonitorStatus>Active</prov:MonitorStatus>
    </prov:ParameterizedTestFilter>
</prov:GetParameterizedTestsRequest>