Dela via


Data - Retrieve Rule Configuration

Hämtar regelkonfigurationen för det angivna regel-ID:t.

GET http://<Servername>/OperationsManager/data/ruleConfiguration/{id}

URI-parametrar

Name I Obligatorisk Typ Description
id
path True

string

Ange regel-ID

Svar

Name Typ Description
200 OK

string

Okej. Regelkonfigurationen har hämtats

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Exempel

RetrieveRuleConfiguration

Sample Request

GET http://<Servername>/OperationsManager/data/ruleConfiguration/E86293C0-D842-58CF-20AA-315267B0934C

Sample Response

[
  "<Name>$Target/Host/Property[Type=\"Microsoft.SystemCenter.Apm.ApplicationInstanceBase\"]/ApplicationName$</Name><AspectType>applicationfailure</AspectType><RootName>$Target/Property[Type=\"Microsoft.SystemCenter.Apm.WcfTransaction\"]/ClassName$/$Target/Property[Type=\"Microsoft.SystemCenter.Apm.WcfTransaction\"]/MethodName$</RootName>"
]