getNotificationPolicy
指定された通知ポリシー ID を使用している通知ポリシーを取得します。
Cloud および 統合アプライアンス に適用されます。
パラメーター:
- policyId
- 通知ポリシーの指定された ID。
- 戻り:
- 通知ポリシー。
例:
以下の例は、通知を取得するための SOAP 要求です。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:log="http://www.approuter.com/schemas/2008/1/lognotif">
<soapenv:Header>
<log:sessionId>910D9A7B441C97AC2FCC54E3F1274AA7</log:sessionId>
</soapenv:Header>
<soapenv:Body>
<log:getNotificationPolicy>
<log:policyId>688129</log:policyId>
</log:getNotificationPolicy>
</soapenv:Body>
</soapenv:Envelope>
以下は、要求に対する SOAP 応答の例です。
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getNotificationPolicyResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/lognotif" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
lognotif/types">
<ns2:notificationPolicy>
<emailAddresses>user@mydomain.com</emailAddresses>
<id>688129</id>
<logComponent>orchestration</logComponent>
<logLevel>error</logLevel>
<name>TestNotif</name>
<snmp>false</snmp>
</ns2:notificationPolicy>
</ns2:getNotificationPolicyResponse>
</S:Body>
</S:Envelope>