Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.61 KB

managed_device.md

File metadata and controls

71 lines (52 loc) · 1.61 KB
page_title subcategory description
citrixadm_managed_device Resource - terraform-provider-citrixadm
Configuration for Managed Device resource

citrixadm_managed_device (Resource)

Configuration for Managed Device resource

Example Usage

data "citrixadm_mps_agent" "agent1" {
  name = "10.0.1.91"
}

resource "citrixadm_ns_device_profile" "profile1" {
  name       = "tf_ns_profile"
  username   = "nsroot"
  password   = "verysecretpassword"
  http_port  = "80"
  https_port = "443"
}

resource "citrixadm_managed_device" "device1" {
  ip_address    = "10.0.1.166"
  profile_name  = citrixadm_ns_device_profile.profile1.name
  datacenter_id = data.citrixadm_mps_agent.agent1.datacenter_id
  agent_id      = data.citrixadm_mps_agent.agent1.id

  entity_tag {
    prop_key   = "project"
    prop_value = "demo"
  }
  entity_tag {
    prop_key   = "environment"
    prop_value = "test"
  }
}

Schema

Required

  • agent_id (String) Agent Id
  • datacenter_id (String) Datacenter Id is system generated key for data center
  • ip_address (String) IP Address for this managed device
  • profile_name (String) Device Profile Name that is attached with this managed device

Optional

Read-Only

  • id (String) The ID of this resource.

Nested Schema for entity_tag

Optional:

  • prop_key (String) Property key
  • prop_value (String) Property value