3.2.4.7 IWRMPolicy Interface

The IWRMPolicy interface defines the following methods.

Methods in RPC Opnum Order

Method

Description

GetPolicyInfo

Gets Policy or policies with specified policy ID.

Opnum: 7

CreatePolicy

Creates a new policy.

Opnum: 8

ModifyPolicy

Modifies an existing policy.

Opnum: 9

DeletePolicy

Deletes an existing policy.

Opnum: 10

RenameAllocationPolicy

Renames a name allocated to a policy.

Opnum: 11

MoveBefore

Moves a specified resource group before a reference resource group.

Opnum: 12

MoveAfter

Moves a specified resource group after a reference resource group.

Opnum: 13

SetCalDefaultPolicyName

Stores the ID of the default policy in the registry.

Opnum: 14

GetCalDefaultPolicyName

Get the name of the default policy from the registry.

Opnum: 15

GetProcessList

Gives the list of processes that will match to the policy.

Opnum: 16

GetCurrentPolicy

Gets the active policy in XML format.

Opnum: 17

SetCurrentPolicy

Sets the policy with the given ID as the current resource policy.

Opnum: 18

GetCurrentStateAndActivePolicyName

Gets the name of the current resource policy and the management state in which WSRM is currently available.

Opnum: 19

GetConditionalPolicy

Returns conditions from a specified resource policy.

Opnum: 20

SetConditionalPolicy

Loads specified conditions into the current resource policy.

Opnum: 21