Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.eds.getAdConnectorDirectories
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.eds.getAdConnectorDirectories({
ids: ["example_id"],
});
export const ecdAdConnectorDirectoryId1 = ids.then(ids => ids.directories?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.eds.get_ad_connector_directories(ids=["example_id"])
pulumi.export("ecdAdConnectorDirectoryId1", ids.directories[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ids, err := eds.GetAdConnectorDirectories(ctx, &eds.GetAdConnectorDirectoriesArgs{
Ids: []string{
"example_id",
},
}, nil)
if err != nil {
return err
}
ctx.Export("ecdAdConnectorDirectoryId1", ids.Directories[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Eds.GetAdConnectorDirectories.Invoke(new()
{
Ids = new[]
{
"example_id",
},
});
return new Dictionary<string, object?>
{
["ecdAdConnectorDirectoryId1"] = ids.Apply(getAdConnectorDirectoriesResult => getAdConnectorDirectoriesResult.Directories[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.EdsFunctions;
import com.pulumi.alicloud.eds.inputs.GetAdConnectorDirectoriesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = EdsFunctions.getAdConnectorDirectories(GetAdConnectorDirectoriesArgs.builder()
.ids("example_id")
.build());
ctx.export("ecdAdConnectorDirectoryId1", ids.applyValue(getAdConnectorDirectoriesResult -> getAdConnectorDirectoriesResult.directories()[0].id()));
}
}
variables:
ids:
fn::invoke:
function: alicloud:eds:getAdConnectorDirectories
arguments:
ids:
- example_id
outputs:
ecdAdConnectorDirectoryId1: ${ids.directories[0].id}
Using getAdConnectorDirectories
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAdConnectorDirectories(args: GetAdConnectorDirectoriesArgs, opts?: InvokeOptions): Promise<GetAdConnectorDirectoriesResult>
function getAdConnectorDirectoriesOutput(args: GetAdConnectorDirectoriesOutputArgs, opts?: InvokeOptions): Output<GetAdConnectorDirectoriesResult>
def get_ad_connector_directories(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAdConnectorDirectoriesResult
def get_ad_connector_directories_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAdConnectorDirectoriesResult]
func GetAdConnectorDirectories(ctx *Context, args *GetAdConnectorDirectoriesArgs, opts ...InvokeOption) (*GetAdConnectorDirectoriesResult, error)
func GetAdConnectorDirectoriesOutput(ctx *Context, args *GetAdConnectorDirectoriesOutputArgs, opts ...InvokeOption) GetAdConnectorDirectoriesResultOutput
> Note: This function is named GetAdConnectorDirectories
in the Go SDK.
public static class GetAdConnectorDirectories
{
public static Task<GetAdConnectorDirectoriesResult> InvokeAsync(GetAdConnectorDirectoriesArgs args, InvokeOptions? opts = null)
public static Output<GetAdConnectorDirectoriesResult> Invoke(GetAdConnectorDirectoriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAdConnectorDirectoriesResult> getAdConnectorDirectories(GetAdConnectorDirectoriesArgs args, InvokeOptions options)
public static Output<GetAdConnectorDirectoriesResult> getAdConnectorDirectories(GetAdConnectorDirectoriesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:eds/getAdConnectorDirectories:getAdConnectorDirectories
arguments:
# arguments dictionary
The following arguments are supported:
- Ids
Changes to this property will trigger replacement.
- A list of Ad Connector Directory IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Ad Connector Directory name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- Ids
Changes to this property will trigger replacement.
- A list of Ad Connector Directory IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Ad Connector Directory name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids
Changes to this property will trigger replacement.
- A list of Ad Connector Directory IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Ad Connector Directory name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids
Changes to this property will trigger replacement.
- A list of Ad Connector Directory IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Ad Connector Directory name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids
Changes to this property will trigger replacement.
- A list of Ad Connector Directory IDs.
- name_
regex Changes to this property will trigger replacement.
- A regex string to filter results by Ad Connector Directory name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids
Changes to this property will trigger replacement.
- A list of Ad Connector Directory IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Ad Connector Directory name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
getAdConnectorDirectories Result
The following output properties are available:
- Directories
List<Pulumi.
Ali Cloud. Eds. Outputs. Get Ad Connector Directories Directory> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Name
Regex string - Output
File string - Status string
- Directories
[]Get
Ad Connector Directories Directory - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Name
Regex string - Output
File string - Status string
- directories
List<Get
Ad Connector Directories Directory> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- name
Regex String - output
File String - status String
- directories
Get
Ad Connector Directories Directory[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- name
Regex string - output
File string - status string
- directories
Sequence[Get
Ad Connector Directories Directory] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- name_
regex str - output_
file str - status str
- directories List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- name
Regex String - output
File String - status String
Supporting Types
GetAdConnectorDirectoriesDirectory
- Ad
Connector Directory Id This property is required. string - The ID of the ad connector directory.
- Ad
Connectors This property is required. List<Pulumi.Ali Cloud. Eds. Inputs. Get Ad Connector Directories Directory Ad Connector> - The AD connectors.
- Create
Time This property is required. string - The CreateTime of resource.
- Custom
Security Group Id This property is required. string - The ID of the security group.
- Directory
Name This property is required. string - The name of directory.
- Directory
Type This property is required. string - The name of the domain.
- Dns
Addresses This property is required. List<string> - The address of DNSAddress.
- Dns
User Name This property is required. string - The username of DNS.
- Domain
Name This property is required. string - The name of the domain.
- Domain
User Name This property is required. string - domain admin user name.
- Enable
Admin Access This property is required. bool - Whether to grant local administrator rights to users who use cloud desktops.
- Id
This property is required. string - The ID of the Ad Connector Directory.
- Mfa
Enabled This property is required. bool - 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
This property is required. string - The status of directory.
- Sub
Dns Addresses This property is required. List<string> - The Enterprise already has the DNS address of the AD subdomain.
- Sub
Domain Name This property is required. string - 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 This property is required. string - The trust password.
- Vpc
Id This property is required. string - The ID of the vpc.
- Vswitch
Ids This property is required. List<string> - List of vSwitch IDs in the directory.
- Ad
Connector Directory Id This property is required. string - The ID of the ad connector directory.
- Ad
Connectors This property is required. []GetAd Connector Directories Directory Ad Connector - The AD connectors.
- Create
Time This property is required. string - The CreateTime of resource.
- Custom
Security Group Id This property is required. string - The ID of the security group.
- Directory
Name This property is required. string - The name of directory.
- Directory
Type This property is required. string - The name of the domain.
- Dns
Addresses This property is required. []string - The address of DNSAddress.
- Dns
User Name This property is required. string - The username of DNS.
- Domain
Name This property is required. string - The name of the domain.
- Domain
User Name This property is required. string - domain admin user name.
- Enable
Admin Access This property is required. bool - Whether to grant local administrator rights to users who use cloud desktops.
- Id
This property is required. string - The ID of the Ad Connector Directory.
- Mfa
Enabled This property is required. bool - 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
This property is required. string - The status of directory.
- Sub
Dns Addresses This property is required. []string - The Enterprise already has the DNS address of the AD subdomain.
- Sub
Domain Name This property is required. string - 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 This property is required. string - The trust password.
- Vpc
Id This property is required. string - The ID of the vpc.
- Vswitch
Ids This property is required. []string - List of vSwitch IDs in the directory.
- ad
Connector Directory Id This property is required. String - The ID of the ad connector directory.
- ad
Connectors This property is required. List<GetAd Connector Directories Directory Ad Connector> - The AD connectors.
- create
Time This property is required. String - The CreateTime of resource.
- custom
Security Group Id This property is required. String - The ID of the security group.
- directory
Name This property is required. String - The name of directory.
- directory
Type This property is required. String - The name of the domain.
- dns
Addresses This property is required. List<String> - The address of DNSAddress.
- dns
User Name This property is required. String - The username of DNS.
- domain
Name This property is required. String - The name of the domain.
- domain
User Name This property is required. String - domain admin user name.
- enable
Admin Access This property is required. Boolean - Whether to grant local administrator rights to users who use cloud desktops.
- id
This property is required. String - The ID of the Ad Connector Directory.
- mfa
Enabled This property is required. Boolean - 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
This property is required. String - The status of directory.
- sub
Dns Addresses This property is required. List<String> - The Enterprise already has the DNS address of the AD subdomain.
- sub
Domain Name This property is required. String - 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 This property is required. String - The trust password.
- vpc
Id This property is required. String - The ID of the vpc.
- vswitch
Ids This property is required. List<String> - List of vSwitch IDs in the directory.
- ad
Connector Directory Id This property is required. string - The ID of the ad connector directory.
- ad
Connectors This property is required. GetAd Connector Directories Directory Ad Connector[] - The AD connectors.
- create
Time This property is required. string - The CreateTime of resource.
- custom
Security Group Id This property is required. string - The ID of the security group.
- directory
Name This property is required. string - The name of directory.
- directory
Type This property is required. string - The name of the domain.
- dns
Addresses This property is required. string[] - The address of DNSAddress.
- dns
User Name This property is required. string - The username of DNS.
- domain
Name This property is required. string - The name of the domain.
- domain
User Name This property is required. string - domain admin user name.
- enable
Admin Access This property is required. boolean - Whether to grant local administrator rights to users who use cloud desktops.
- id
This property is required. string - The ID of the Ad Connector Directory.
- mfa
Enabled This property is required. boolean - 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
This property is required. string - The status of directory.
- sub
Dns Addresses This property is required. string[] - The Enterprise already has the DNS address of the AD subdomain.
- sub
Domain Name This property is required. string - 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 This property is required. string - The trust password.
- vpc
Id This property is required. string - The ID of the vpc.
- vswitch
Ids This property is required. string[] - List of vSwitch IDs in the directory.
- ad_
connector_ directory_ id This property is required. str - The ID of the ad connector directory.
- ad_
connectors This property is required. Sequence[GetAd Connector Directories Directory Ad Connector] - The AD connectors.
- create_
time This property is required. str - The CreateTime of resource.
- custom_
security_ group_ id This property is required. str - The ID of the security group.
- directory_
name This property is required. str - The name of directory.
- directory_
type This property is required. str - The name of the domain.
- dns_
addresses This property is required. Sequence[str] - The address of DNSAddress.
- dns_
user_ name This property is required. str - The username of DNS.
- domain_
name This property is required. str - The name of the domain.
- domain_
user_ name This property is required. str - domain admin user name.
- enable_
admin_ access This property is required. bool - Whether to grant local administrator rights to users who use cloud desktops.
- id
This property is required. str - The ID of the Ad Connector Directory.
- mfa_
enabled This property is required. bool - 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
This property is required. str - The status of directory.
- sub_
dns_ addresses This property is required. Sequence[str] - The Enterprise already has the DNS address of the AD subdomain.
- sub_
domain_ name This property is required. str - 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 This property is required. str - The trust password.
- vpc_
id This property is required. str - The ID of the vpc.
- vswitch_
ids This property is required. Sequence[str] - List of vSwitch IDs in the directory.
- ad
Connector Directory Id This property is required. String - The ID of the ad connector directory.
- ad
Connectors This property is required. List<Property Map> - The AD connectors.
- create
Time This property is required. String - The CreateTime of resource.
- custom
Security Group Id This property is required. String - The ID of the security group.
- directory
Name This property is required. String - The name of directory.
- directory
Type This property is required. String - The name of the domain.
- dns
Addresses This property is required. List<String> - The address of DNSAddress.
- dns
User Name This property is required. String - The username of DNS.
- domain
Name This property is required. String - The name of the domain.
- domain
User Name This property is required. String - domain admin user name.
- enable
Admin Access This property is required. Boolean - Whether to grant local administrator rights to users who use cloud desktops.
- id
This property is required. String - The ID of the Ad Connector Directory.
- mfa
Enabled This property is required. Boolean - 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
This property is required. String - The status of directory.
- sub
Dns Addresses This property is required. List<String> - The Enterprise already has the DNS address of the AD subdomain.
- sub
Domain Name This property is required. String - 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 This property is required. String - The trust password.
- vpc
Id This property is required. String - The ID of the vpc.
- vswitch
Ids This property is required. List<String> - List of vSwitch IDs in the directory.
GetAdConnectorDirectoriesDirectoryAdConnector
- Ad
Connector Address This property is required. string - The address of AD connector.
- Connector
Status This property is required. string - The status of connector.
- Network
Interface Id This property is required. string - The ID of the network interface.
- Specification
This property is required. string - The AD Connector specifications.
- Trust
Key This property is required. string - The AD Connector control trust password.
- Vswitch
Id This property is required. string - The ID of vSwitch.
- Ad
Connector Address This property is required. string - The address of AD connector.
- Connector
Status This property is required. string - The status of connector.
- Network
Interface Id This property is required. string - The ID of the network interface.
- Specification
This property is required. string - The AD Connector specifications.
- Trust
Key This property is required. string - The AD Connector control trust password.
- Vswitch
Id This property is required. string - The ID of vSwitch.
- ad
Connector Address This property is required. String - The address of AD connector.
- connector
Status This property is required. String - The status of connector.
- network
Interface Id This property is required. String - The ID of the network interface.
- specification
This property is required. String - The AD Connector specifications.
- trust
Key This property is required. String - The AD Connector control trust password.
- vswitch
Id This property is required. String - The ID of vSwitch.
- ad
Connector Address This property is required. string - The address of AD connector.
- connector
Status This property is required. string - The status of connector.
- network
Interface Id This property is required. string - The ID of the network interface.
- specification
This property is required. string - The AD Connector specifications.
- trust
Key This property is required. string - The AD Connector control trust password.
- vswitch
Id This property is required. string - The ID of vSwitch.
- ad_
connector_ address This property is required. str - The address of AD connector.
- connector_
status This property is required. str - The status of connector.
- network_
interface_ id This property is required. str - The ID of the network interface.
- specification
This property is required. str - The AD Connector specifications.
- trust_
key This property is required. str - The AD Connector control trust password.
- vswitch_
id This property is required. str - The ID of vSwitch.
- ad
Connector Address This property is required. String - The address of AD connector.
- connector
Status This property is required. String - The status of connector.
- network
Interface Id This property is required. String - The ID of the network interface.
- specification
This property is required. String - The AD Connector specifications.
- trust
Key This property is required. String - The AD Connector control trust password.
- vswitch
Id This property is required. String - The ID of vSwitch.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.