Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:eds/getAdConnectorDirectories:getAdConnectorDirectories
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
- A list of Ad Connector Directory IDs.
- Name
Regex string - 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 string
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- Ids []string
- A list of Ad Connector Directory IDs.
- Name
Regex string - 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 string
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids List<String>
- A list of Ad Connector Directory IDs.
- name
Regex String - 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 String
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids string[]
- A list of Ad Connector Directory IDs.
- name
Regex string - 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 string
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids Sequence[str]
- A list of Ad Connector Directory IDs.
- name_
regex str - 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 str
- The status of directory. Valid values:
REGISTERING
,REGISTERED
,DEREGISTERING
,NEEDCONFIGTRUST
,CONFIGTRUSTFAILED
,DEREGISTERED
,ERROR
,CONFIGTRUSTING
,NEEDCONFIGUSER
.
- ids List<String>
- A list of Ad Connector Directory IDs.
- name
Regex String - 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 String
- 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 stringDirectory Id - The ID of the ad connector directory.
- Ad
Connectors List<Pulumi.Ali Cloud. Eds. Inputs. Get Ad Connector Directories Directory Ad Connector> - The AD connectors.
- Create
Time string - The CreateTime of resource.
- Custom
Security stringGroup Id - The ID of the security group.
- Directory
Name string - The name of directory.
- Directory
Type string - The name of the domain.
- Dns
Addresses List<string> - The address of DNSAddress.
- Dns
User stringName - The username of DNS.
- Domain
Name string - The name of the domain.
- Domain
User stringName - domain admin user name.
- Enable
Admin boolAccess - Whether to grant local administrator rights to users who use cloud desktops.
- Id string
- The ID of the Ad Connector Directory.
- Mfa
Enabled 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 string
- The status of directory.
- Sub
Dns List<string>Addresses - The Enterprise already has the DNS address of the AD subdomain.
- Sub
Domain stringName - 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 string - The trust password.
- Vpc
Id string - The ID of the vpc.
- Vswitch
Ids List<string> - List of vSwitch IDs in the directory.
- Ad
Connector stringDirectory Id - The ID of the ad connector directory.
- Ad
Connectors []GetAd Connector Directories Directory Ad Connector - The AD connectors.
- Create
Time string - The CreateTime of resource.
- Custom
Security stringGroup Id - The ID of the security group.
- Directory
Name string - The name of directory.
- Directory
Type string - The name of the domain.
- Dns
Addresses []string - The address of DNSAddress.
- Dns
User stringName - The username of DNS.
- Domain
Name string - The name of the domain.
- Domain
User stringName - domain admin user name.
- Enable
Admin boolAccess - Whether to grant local administrator rights to users who use cloud desktops.
- Id string
- The ID of the Ad Connector Directory.
- Mfa
Enabled 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 string
- The status of directory.
- Sub
Dns []stringAddresses - The Enterprise already has the DNS address of the AD subdomain.
- Sub
Domain stringName - 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 string - The trust password.
- Vpc
Id string - The ID of the vpc.
- Vswitch
Ids []string - List of vSwitch IDs in the directory.
- ad
Connector StringDirectory Id - The ID of the ad connector directory.
- ad
Connectors List<GetAd Connector Directories Directory Ad Connector> - The AD connectors.
- create
Time String - The CreateTime of resource.
- custom
Security StringGroup Id - The ID of the security group.
- directory
Name String - The name of directory.
- directory
Type String - The name of the domain.
- dns
Addresses List<String> - The address of DNSAddress.
- dns
User StringName - The username of DNS.
- domain
Name String - The name of the domain.
- domain
User StringName - domain admin user name.
- enable
Admin BooleanAccess - Whether to grant local administrator rights to users who use cloud desktops.
- id String
- The ID of the Ad Connector Directory.
- mfa
Enabled 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 String
- The status of directory.
- sub
Dns List<String>Addresses - The Enterprise already has the DNS address of the AD subdomain.
- sub
Domain StringName - 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 String - The trust password.
- vpc
Id String - The ID of the vpc.
- vswitch
Ids List<String> - List of vSwitch IDs in the directory.
- ad
Connector stringDirectory Id - The ID of the ad connector directory.
- ad
Connectors GetAd Connector Directories Directory Ad Connector[] - The AD connectors.
- create
Time string - The CreateTime of resource.
- custom
Security stringGroup Id - The ID of the security group.
- directory
Name string - The name of directory.
- directory
Type string - The name of the domain.
- dns
Addresses string[] - The address of DNSAddress.
- dns
User stringName - The username of DNS.
- domain
Name string - The name of the domain.
- domain
User stringName - domain admin user name.
- enable
Admin booleanAccess - Whether to grant local administrator rights to users who use cloud desktops.
- id string
- The ID of the Ad Connector Directory.
- mfa
Enabled 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 string
- The status of directory.
- sub
Dns string[]Addresses - The Enterprise already has the DNS address of the AD subdomain.
- sub
Domain stringName - 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 string - The trust password.
- vpc
Id string - The ID of the vpc.
- vswitch
Ids string[] - List of vSwitch IDs in the directory.
- ad_
connector_ strdirectory_ id - The ID of the ad connector directory.
- ad_
connectors Sequence[GetAd Connector Directories Directory Ad Connector] - The AD connectors.
- create_
time str - The CreateTime of resource.
- custom_
security_ strgroup_ id - The ID of the security group.
- directory_
name str - The name of directory.
- directory_
type str - The name of the domain.
- dns_
addresses Sequence[str] - The address of DNSAddress.
- dns_
user_ strname - The username of DNS.
- domain_
name str - The name of the domain.
- domain_
user_ strname - domain admin user name.
- enable_
admin_ boolaccess - Whether to grant local administrator rights to users who use cloud desktops.
- id str
- The ID of the Ad Connector Directory.
- mfa_
enabled 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 str
- The status of directory.
- sub_
dns_ Sequence[str]addresses - The Enterprise already has the DNS address of the AD subdomain.
- sub_
domain_ strname - 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 str - The trust password.
- vpc_
id str - The ID of the vpc.
- vswitch_
ids Sequence[str] - List of vSwitch IDs in the directory.
- ad
Connector StringDirectory Id - The ID of the ad connector directory.
- ad
Connectors List<Property Map> - The AD connectors.
- create
Time String - The CreateTime of resource.
- custom
Security StringGroup Id - The ID of the security group.
- directory
Name String - The name of directory.
- directory
Type String - The name of the domain.
- dns
Addresses List<String> - The address of DNSAddress.
- dns
User StringName - The username of DNS.
- domain
Name String - The name of the domain.
- domain
User StringName - domain admin user name.
- enable
Admin BooleanAccess - Whether to grant local administrator rights to users who use cloud desktops.
- id String
- The ID of the Ad Connector Directory.
- mfa
Enabled 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 String
- The status of directory.
- sub
Dns List<String>Addresses - The Enterprise already has the DNS address of the AD subdomain.
- sub
Domain StringName - 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 String - The trust password.
- vpc
Id String - The ID of the vpc.
- vswitch
Ids List<String> - List of vSwitch IDs in the directory.
GetAdConnectorDirectoriesDirectoryAdConnector
- Ad
Connector stringAddress - The address of AD connector.
- Connector
Status string - The status of connector.
- Network
Interface stringId - The ID of the network interface.
- Specification string
- The AD Connector specifications.
- Trust
Key string - The AD Connector control trust password.
- Vswitch
Id string - The ID of vSwitch.
- Ad
Connector stringAddress - The address of AD connector.
- Connector
Status string - The status of connector.
- Network
Interface stringId - The ID of the network interface.
- Specification string
- The AD Connector specifications.
- Trust
Key string - The AD Connector control trust password.
- Vswitch
Id string - The ID of vSwitch.
- ad
Connector StringAddress - The address of AD connector.
- connector
Status String - The status of connector.
- network
Interface StringId - The ID of the network interface.
- specification String
- The AD Connector specifications.
- trust
Key String - The AD Connector control trust password.
- vswitch
Id String - The ID of vSwitch.
- ad
Connector stringAddress - The address of AD connector.
- connector
Status string - The status of connector.
- network
Interface stringId - The ID of the network interface.
- specification string
- The AD Connector specifications.
- trust
Key string - The AD Connector control trust password.
- vswitch
Id string - The ID of vSwitch.
- ad_
connector_ straddress - The address of AD connector.
- connector_
status str - The status of connector.
- network_
interface_ strid - The ID of the network interface.
- specification str
- The AD Connector specifications.
- trust_
key str - The AD Connector control trust password.
- vswitch_
id str - The ID of vSwitch.
- ad
Connector StringAddress - The address of AD connector.
- connector
Status String - The status of connector.
- network
Interface StringId - The ID of the network interface.
- specification String
- The AD Connector specifications.
- trust
Key String - The AD Connector control trust password.
- vswitch
Id 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.