文档

alicloud_ecd_ad_connector_directories

更新时间:
一键部署

This data source provides the Ecd Ad Connector Directories of the current Alibaba Cloud user.

-> NOTE: Available in v1.174.0+.

Example Usage

Basic Usage

data "alicloud_ecd_ad_connector_directories" "ids" {
  ids = ["example_id"]
}
output "ecd_ad_connector_directory_id_1" {
  value = data.alicloud_ecd_ad_connector_directories.ids.directories.0.id
}

Argument Reference

The following arguments are supported:

  • name_regex - (Optional, ForceNew) A regex string to filter results by Ad Connector Directory name.
  • ids - (Optional, ForceNew, Computed) A list of Ad Connector Directory IDs.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).
  • status - (Optional, ForceNew) The status of directory. Valid values: REGISTERING, REGISTERED, DEREGISTERING, NEEDCONFIGTRUST, CONFIGTRUSTFAILED, DEREGISTERED, ERROR, CONFIGTRUSTING, NEEDCONFIGUSER.

Argument Reference

The following attributes are exported in addition to the arguments listed above:

  • names - A list of Ecd Ad Connector Directory names.
  • directories - A list of Ecd Ad Connector Directories. Each element contains the following attributes:
    • ad_connector_directory_id - The ID of the ad connector directory.
    • create_time - The CreateTime of resource.
    • custom_security_group_id - The ID of the security group.
    • directory_name - The name of directory.
    • directory_type - The name of the domain.
    • dns_address - The address of DNSAddress.
    • dns_user_name - The username of DNS.
    • domain_name - The name of the domain.
    • domain_user_name - domain admin user name.
    • enable_admin_access - Whether to grant local administrator rights to users who use cloud desktops.
    • id - The ID of the Ad Connector Directory.
    • mfa_enabled - Whether MFA authentication is enabled. After all AD users in this directory log on to the cloud desktop, enter the correct password and then enter the dynamic verification code generated by the MFA device.
    • status - The status of directory.
    • sub_dns_address - The Enterprise already has the DNS address of the AD subdomain.
    • sub_domain_name - The Enterprise already has a fully qualified domain name (FQDN) of an AD subdomain, with both a host name and a domain name.
    • trust_password - The trust password.
    • vpc_id - The ID of the vpc.
    • vswitch_ids - List of VSwitch IDs in the directory.
    • ad_connectors - The AD connectors.
      • ad_connector_address - The address of AD connector.
      • connector_status - The status of connector.
      • network_interface_id - The ID of the network interface.
      • vswitch_id - The ID of VSwitch.
      • trust_key - The AD Connector control trust password.
      • specification - The AD Connector specifications.

  • 本页导读 (0)