Modify conflict and unauthorized access policy, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 275: Returned result, Interface uri access method returned result

Advertising
background image

Modify Conflict and Unauthorized Access Policy

Modify the conflict and unauthorized access policy.

Interface URI

/res/access/strategy/conflict

Access Method

HTTP

PUT

Parameters

None

Message body

<accessStrategy>
<sendFaultType>1</sendFaultType>
<closeIfType>2</closeIfType>
<openIfType>1</openIfType>
<closeIfDelay>180</closeIfDelay>
<openIfDelay>180</openIfDelay>
</accessStrategy>

Elements

accessStrategy sub-elements

Whether or not to send alarms. 0 for no. 1 for yes.

sendFaultType

Integer type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Interface shutdown type. 0 for no shutdown. 1 for immediate shutdown. 2 for delayed shutdown.

closeIfType

Integer type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Whether or not to bring up the interface after it is shut down. 0 for no. 1 for yes.

openIfType

Integer type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Time delay before shutting down the interface, in seconds.

closeIfDelay

Integer type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Time delay before bringing up the interface, in seconds.

openIfDelay

Integer type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Returned Result

Status codes

204 (No Content): Success.

404 (Not Found): No data is found with the ID.

409 (Conflict): Failure. See

Error Codes

.”

Modify Conflict and Unauthorized Access Policy 275

Advertising