Skip to content

Wrap the CIM_AssociatedPowerManagementService service #377

@rgl

Description

@rgl

Wrap the CIM_AssociatedPowerManagementService service.

This service has more details about the power state of the system then the existing PowerManagementService, for example, it has the AvailableRequestedPowerStates property, which contains the set of states the system can transition to.

Further documentation about this CIM_AssociatedPowerManagementService service is available at:

It seems this repository already includes the required message type at https://github.com/open-amt-cloud-toolkit/go-wsman-messages/blob/v2.11.1/pkg/wsman/cim/models/types.go#L431-L434

I guess this should be wrapped in a similar way to PowerManagementService, which is used as:

messages := wsman.NewMessages(clientParameters)
response, err := messages.CIM.PowerManagementService.Get()

So, I guess, something like this is needed:

messages := wsman.NewMessages(clientParameters)
response, err := messages.CIM.AssociatedPowerManagementService.Get()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Future Items

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions