Connecting a Schneider Electric EcoStruxure IT Expert resource manager
Use this definition to connect (add) a Schneider Electric EcoStruxure IT Expert resource manager to Lenovo XClarity Orchestrator.
Usage
resource "lxco_manager_resource" "string" {
auth_type = string
name = string
token = string
type = string
url = string
}
Example
The following example connects an EcoStruxure IT Expert resource manager.
terraform {
required_providers {
lxco = {
version = "0.1"
source = "lenovo.com/xclarity/lxco"
}
}
}
provider "lxco" {
host = "192.0.2.0"
# username = ""
# password = ""
}
# Connect an EcoStruxure IT Expert resource manager
resource "lxco_manager_resource" "ECO_1" {
auth_type = "token"
name = "RM_1"
token = "AK1/2sixskmmc06wj/1i6v3epcz5c25rc29jv1t00hce1pjahyobux63"
type = "Schneider EcoStruxure IT"
url = "https://api.ecostruxureit.com/rest/v1/organizations"
}
Inputs
Name | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
auth_type | Required | String | Authentication type. This is always token. | ||
name | Required | String | Resource manager name | ||
token | Required | String | Token value | ||
type | Required | String | Type of resource manager. This value is always Schneider EcoStruxure IT. | ||
url | Required | String | Resource manager URL |
Outputs
None
Give documentation feedback