ParameterizedMonitor

A ParameterizedMonitor is a description of a browser test that contains substitution parameters. This element appears in a GetParameterizedTestsResponse and in an AddOrUpdateSubstitutionParametersRequest. In the first context, it describes a configuration of an existing browser test (one that has substitution parameter definitions). In the second context, it describes the manner in which existing global substitution parameters are to be updated and/or the manner in which site-level substitution parameters are to be created, updated or deleted.

Derived by

Restricting anyType

Attributes

Name Type Required? Default Description
monitorId string Yes A monitorId uniquely identifies a test within the Dynatrace Portal.
createDate dateTime No The date on which the test was created.
modifyDate dateTime No The date on which the test was last modified.
monitorStatus MonitorStatusType No The current status of the test (Active or Inactive).

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE 1..1
SubstitutionParameters SubstitutionParametersType 0..1 No A SubstitutionParameters collection. A SubstitutionParameters collection will only be present in methods dealing with SubstitutionParameters and not in a GetTests() response or a GetSites() response. See SubstitutionParameter for more details.
MonitorSites anyType (restriction) 0..1 No The MonitorSites element is a container of MonitorSite elements. See MonitorSite for more information.

Referenced by

Example

Here is a ParameterizedMonitor as it appears in a GetParameterizedTestsResponse:

<GetParameterizedTestsResponse
    xmlns="http://www.gomeznetworks.com/schemas/provisioning">
    <ResponseStatus>SUCCESS</ResponseStatus>
    <!-- 0 to many of these ParameterizedMonitor elements may be returned -->
    <ParameterizedMonitor monitorId="328430" createDate="2012-11-13T21:27:29.513"
        modifyDate="2012-11-21T18:57:53.393" monitorStatus="Active">
        <SubstitutionParameters>
            <SubstitutionParameter id="0" name="UserName"
                value="Updated User 11/05/2012 2:56:05 PM" />
            <SubstitutionParameter id="1" name="Password" value="erics" />
        </SubstitutionParameters>
        <MonitorSites>
            <MonitorSite siteId="865">
                <SubstitutionParameters>
                    <SubstitutionParameter id="0" name="UserName" value="user2" />
                    <SubstitutionParameter id="1" name="Password" value="password2" />
                </SubstitutionParameters>
            </MonitorSite>
            <MonitorSite siteId="880">
                <SubstitutionParameters>
                    <SubstitutionParameter id="0" name="UserName" value="user3" />
                    <SubstitutionParameter id="1" name="Password" value="password3" />
                </SubstitutionParameters>
            </MonitorSite>
            <MonitorSite siteId="886" />
        </MonitorSites>
    </ParameterizedMonitor>
</GetParameterizedTestsResponse>

Here is a ParameterizedMonitor as it appears in an AddOrUpdateSubstitutionParametersRequest:

<prov:AddOrUpdateSubstitutionParametersRequest
    xmlns="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <!--1 or more repetitions: -->
    <prov:ParameterizedMonitor monitorId="328430">
        <prov:MonitorSites> <!--Zero or more repetitions: -->
            <prov:MonitorSite siteId="865">
                <prov:SubstitutionParameters>
                    <prov:SubstitutionParameter id="0" name="UserName" value="user2" />
                    <prov:SubstitutionParameter id="1" name="Password" value="password2" />
                </prov:SubstitutionParameters>
            </prov:MonitorSite>
            <prov:MonitorSite siteId="880">
                <prov:SubstitutionParameters>
                    <prov:SubstitutionParameter id="0" name="UserName" value="user3" />
                    <prov:SubstitutionParameter id="1" name="Password" value="password3" />
                </prov:SubstitutionParameters>
            </prov:MonitorSite>
        </prov:MonitorSites>
    </prov:ParameterizedMonitor>
</prov:AddOrUpdateSubstitutionParametersRequest>