Skip to main content

Connecting an XClarity Administrator resource manager

Use this definition to connect (add) a Lenovo XClarity Administrator resource manager to Lenovo XClarity Orchestrator.

Usage

resource "lxco_manager_resource" "string" {
auth_type = "string"
enabledriveanalytics = Boolean
hostname = "string"
password = "string"
port = integer
type = "string"
username = "string"
}

Example

The following example connects an XClarity Administrator 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 XClarity Administrator resource manager
resource "lxco_manager_resource" "LXCA_1" {
auth_type = "basic"
enabledriveanalytics = true
hostname = "109.0.2.10"
password = "********"
port = 443
type = "XClarity Administrator"
username = "userid"
}

Inputs

NameRequired / OptionalTypeDescription
auth_typeRequiredStringAuthentication type. This is always basic.
enabledriveanalyticsRequiredStringIndicates whether to enable collecting drive-analytics data daily for ThinkSystem and ThinkAgile devices. Drive analytics data is used for and is used for predictive analytics. This can be one of the following values.
  • true. Collect drive-analytics data daily.
  • false. Do not collect drive-analytics data.
hostnameRequiredStringResource manager host name
passwordRequiredStringPassword to use for basic authentication
portRequiredIntegerResource manager port
typeRequiredStringType of resource manager. This value is always XClarity Administrator.
usernameRequiredStringUser name to use for basic authentication
uuidRequiredStringResource manager UUID

Outputs

None