cpm_power_info
Get the Power Information of a WTI device
Collection: wti.remote
Full Name: wti.remote.cpm_power_info
Synopsis
Get the Power Information of a WTI device
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| cpm_url | string | yes | WTI device host or host:port | |
| cpm_username | string | yes | WTI username; an empty username selects an API token | |
| cpm_password | string | yes | WTI password or API token | |
| cpm_startdate | string | Inclusive power history start date | ||
| cpm_enddate | string | Inclusive power history end date | ||
| use_https | bool | true | Use HTTPS instead of HTTP | |
| validate_certs | bool | true | Validate the device TLS certificate | |
| use_proxy | bool | false | Observe HTTP proxy environment variables |
Example
yaml
- name: Get the Power Information of a WTI device
wti.remote.cpm_power_info:
cpm_url: nonexist.wti.com
cpm_username: super
cpm_password: super
use_https: true
validate_certs: false