Skip to main content

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

NameRequired / OptionalTypeDescription
auth_typeRequiredStringAuthentication type. This is always token.
nameRequiredStringResource manager name
tokenRequiredStringToken value
typeRequiredStringType of resource manager. This value is always Schneider EcoStruxure IT.
urlRequiredStringResource manager URL

Outputs

None