alicloud.eds.AdConnectorDirectory
Explore with Pulumi AI
Provides a ECD Ad Connector Directory resource.
For information about ECD Ad Connector Directory and how to use it, see What is Ad Connector Directory.
NOTE: Available since v1.174.0.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultZones = AliCloud.Eds.GetZones.Invoke();
var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
{
VpcName = name,
CidrBlock = "172.16.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Ids[0]),
VswitchName = name,
});
var defaultAdConnectorDirectory = new AliCloud.Eds.AdConnectorDirectory("defaultAdConnectorDirectory", new()
{
DirectoryName = name,
DesktopAccessType = "INTERNET",
DnsAddresses = new[]
{
"127.0.0.2",
},
DomainName = "corp.example.com",
DomainPassword = "Example1234",
DomainUserName = "sAMAccountName",
EnableAdminAccess = false,
MfaEnabled = false,
Specification = 1,
SubDomainDnsAddresses = new[]
{
"127.0.0.3",
},
SubDomainName = "child.example.com",
VswitchIds = new[]
{
defaultSwitch.Id,
},
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultZones, err := eds.GetZones(ctx, nil, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: *pulumi.String(defaultZones.Ids[0]),
VswitchName: pulumi.String(name),
})
if err != nil {
return err
}
_, err = eds.NewAdConnectorDirectory(ctx, "defaultAdConnectorDirectory", &eds.AdConnectorDirectoryArgs{
DirectoryName: pulumi.String(name),
DesktopAccessType: pulumi.String("INTERNET"),
DnsAddresses: pulumi.StringArray{
pulumi.String("127.0.0.2"),
},
DomainName: pulumi.String("corp.example.com"),
DomainPassword: pulumi.String("Example1234"),
DomainUserName: pulumi.String("sAMAccountName"),
EnableAdminAccess: pulumi.Bool(false),
MfaEnabled: pulumi.Bool(false),
Specification: pulumi.Int(1),
SubDomainDnsAddresses: pulumi.StringArray{
pulumi.String("127.0.0.3"),
},
SubDomainName: pulumi.String("child.example.com"),
VswitchIds: pulumi.StringArray{
defaultSwitch.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
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.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.eds.AdConnectorDirectory;
import com.pulumi.alicloud.eds.AdConnectorDirectoryArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var defaultZones = EdsFunctions.getZones();
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("172.16.0.0/16")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vpcId(defaultNetwork.id())
.cidrBlock("172.16.0.0/24")
.zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.ids()[0]))
.vswitchName(name)
.build());
var defaultAdConnectorDirectory = new AdConnectorDirectory("defaultAdConnectorDirectory", AdConnectorDirectoryArgs.builder()
.directoryName(name)
.desktopAccessType("INTERNET")
.dnsAddresses("127.0.0.2")
.domainName("corp.example.com")
.domainPassword("Example1234")
.domainUserName("sAMAccountName")
.enableAdminAccess(false)
.mfaEnabled(false)
.specification(1)
.subDomainDnsAddresses("127.0.0.3")
.subDomainName("child.example.com")
.vswitchIds(defaultSwitch.id())
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default_zones = alicloud.eds.get_zones()
default_network = alicloud.vpc.Network("defaultNetwork",
vpc_name=name,
cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("defaultSwitch",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default_zones.ids[0],
vswitch_name=name)
default_ad_connector_directory = alicloud.eds.AdConnectorDirectory("defaultAdConnectorDirectory",
directory_name=name,
desktop_access_type="INTERNET",
dns_addresses=["127.0.0.2"],
domain_name="corp.example.com",
domain_password="Example1234",
domain_user_name="sAMAccountName",
enable_admin_access=False,
mfa_enabled=False,
specification=1,
sub_domain_dns_addresses=["127.0.0.3"],
sub_domain_name="child.example.com",
vswitch_ids=[default_switch.id])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultZones = alicloud.eds.getZones({});
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
vpcName: name,
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/24",
zoneId: defaultZones.then(defaultZones => defaultZones.ids?.[0]),
vswitchName: name,
});
const defaultAdConnectorDirectory = new alicloud.eds.AdConnectorDirectory("defaultAdConnectorDirectory", {
directoryName: name,
desktopAccessType: "INTERNET",
dnsAddresses: ["127.0.0.2"],
domainName: "corp.example.com",
domainPassword: "Example1234",
domainUserName: "sAMAccountName",
enableAdminAccess: false,
mfaEnabled: false,
specification: 1,
subDomainDnsAddresses: ["127.0.0.3"],
subDomainName: "child.example.com",
vswitchIds: [defaultSwitch.id],
});
configuration:
name:
type: string
default: terraform-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
properties:
vpcName: ${name}
cidrBlock: 172.16.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/24
zoneId: ${defaultZones.ids[0]}
vswitchName: ${name}
defaultAdConnectorDirectory:
type: alicloud:eds:AdConnectorDirectory
properties:
directoryName: ${name}
desktopAccessType: INTERNET
dnsAddresses:
- 127.0.0.2
domainName: corp.example.com
domainPassword: Example1234
domainUserName: sAMAccountName
enableAdminAccess: false
mfaEnabled: false
specification: 1
subDomainDnsAddresses:
- 127.0.0.3
subDomainName: child.example.com
vswitchIds:
- ${defaultSwitch.id}
variables:
defaultZones:
fn::invoke:
Function: alicloud:eds:getZones
Arguments: {}
Create AdConnectorDirectory Resource
new AdConnectorDirectory(name: string, args: AdConnectorDirectoryArgs, opts?: CustomResourceOptions);
@overload
def AdConnectorDirectory(resource_name: str,
opts: Optional[ResourceOptions] = None,
desktop_access_type: Optional[str] = None,
directory_name: Optional[str] = None,
dns_addresses: Optional[Sequence[str]] = None,
domain_name: Optional[str] = None,
domain_password: Optional[str] = None,
domain_user_name: Optional[str] = None,
enable_admin_access: Optional[bool] = None,
mfa_enabled: Optional[bool] = None,
specification: Optional[int] = None,
sub_domain_dns_addresses: Optional[Sequence[str]] = None,
sub_domain_name: Optional[str] = None,
vswitch_ids: Optional[Sequence[str]] = None)
@overload
def AdConnectorDirectory(resource_name: str,
args: AdConnectorDirectoryArgs,
opts: Optional[ResourceOptions] = None)
func NewAdConnectorDirectory(ctx *Context, name string, args AdConnectorDirectoryArgs, opts ...ResourceOption) (*AdConnectorDirectory, error)
public AdConnectorDirectory(string name, AdConnectorDirectoryArgs args, CustomResourceOptions? opts = null)
public AdConnectorDirectory(String name, AdConnectorDirectoryArgs args)
public AdConnectorDirectory(String name, AdConnectorDirectoryArgs args, CustomResourceOptions options)
type: alicloud:eds:AdConnectorDirectory
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdConnectorDirectoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AdConnectorDirectoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AdConnectorDirectoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdConnectorDirectoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdConnectorDirectoryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AdConnectorDirectory Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AdConnectorDirectory resource accepts the following input properties:
- Directory
Name string The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- Dns
Addresses List<string> The DNS address list.
- Domain
Name string The name of the domain.
- Domain
Password string The user password of the domain administrator. The maximum number of English characters is 64.
- Domain
User stringName The username of the domain administrator. The maximum number of English characters is 64.
- Vswitch
Ids List<string> List of VSwitch IDs in the directory.
- Desktop
Access stringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- Enable
Admin boolAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- Specification int
The AD Connector specifications. Valid values:
1
,2
.- Sub
Domain List<string>Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- Directory
Name string The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- Dns
Addresses []string The DNS address list.
- Domain
Name string The name of the domain.
- Domain
Password string The user password of the domain administrator. The maximum number of English characters is 64.
- Domain
User stringName The username of the domain administrator. The maximum number of English characters is 64.
- Vswitch
Ids []string List of VSwitch IDs in the directory.
- Desktop
Access stringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- Enable
Admin boolAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- Specification int
The AD Connector specifications. Valid values:
1
,2
.- Sub
Domain []stringDns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- directory
Name String The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns
Addresses List<String> The DNS address list.
- domain
Name String The name of the domain.
- domain
Password String The user password of the domain administrator. The maximum number of English characters is 64.
- domain
User StringName The username of the domain administrator. The maximum number of English characters is 64.
- vswitch
Ids List<String> List of VSwitch IDs in the directory.
- desktop
Access StringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- enable
Admin BooleanAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification Integer
The AD Connector specifications. Valid values:
1
,2
.- sub
Domain List<String>Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- directory
Name string The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns
Addresses string[] The DNS address list.
- domain
Name string The name of the domain.
- domain
Password string The user password of the domain administrator. The maximum number of English characters is 64.
- domain
User stringName The username of the domain administrator. The maximum number of English characters is 64.
- vswitch
Ids string[] List of VSwitch IDs in the directory.
- desktop
Access stringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- enable
Admin booleanAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification number
The AD Connector specifications. Valid values:
1
,2
.- sub
Domain string[]Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- directory_
name str The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns_
addresses Sequence[str] The DNS address list.
- domain_
name str The name of the domain.
- domain_
password str The user password of the domain administrator. The maximum number of English characters is 64.
- domain_
user_ strname The username of the domain administrator. The maximum number of English characters is 64.
- vswitch_
ids Sequence[str] List of VSwitch IDs in the directory.
- desktop_
access_ strtype The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- enable_
admin_ boolaccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification int
The AD Connector specifications. Valid values:
1
,2
.- sub_
domain_ Sequence[str]dns_ addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- directory
Name String The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns
Addresses List<String> The DNS address list.
- domain
Name String The name of the domain.
- domain
Password String The user password of the domain administrator. The maximum number of English characters is 64.
- domain
User StringName The username of the domain administrator. The maximum number of English characters is 64.
- vswitch
Ids List<String> List of VSwitch IDs in the directory.
- desktop
Access StringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- enable
Admin BooleanAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification Number
The AD Connector specifications. Valid values:
1
,2
.- sub
Domain List<String>Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AdConnectorDirectory resource produces the following output properties:
Look up Existing AdConnectorDirectory Resource
Get an existing AdConnectorDirectory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AdConnectorDirectoryState, opts?: CustomResourceOptions): AdConnectorDirectory
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
desktop_access_type: Optional[str] = None,
directory_name: Optional[str] = None,
dns_addresses: Optional[Sequence[str]] = None,
domain_name: Optional[str] = None,
domain_password: Optional[str] = None,
domain_user_name: Optional[str] = None,
enable_admin_access: Optional[bool] = None,
mfa_enabled: Optional[bool] = None,
specification: Optional[int] = None,
status: Optional[str] = None,
sub_domain_dns_addresses: Optional[Sequence[str]] = None,
sub_domain_name: Optional[str] = None,
vswitch_ids: Optional[Sequence[str]] = None) -> AdConnectorDirectory
func GetAdConnectorDirectory(ctx *Context, name string, id IDInput, state *AdConnectorDirectoryState, opts ...ResourceOption) (*AdConnectorDirectory, error)
public static AdConnectorDirectory Get(string name, Input<string> id, AdConnectorDirectoryState? state, CustomResourceOptions? opts = null)
public static AdConnectorDirectory get(String name, Output<String> id, AdConnectorDirectoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Desktop
Access stringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- Directory
Name string The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- Dns
Addresses List<string> The DNS address list.
- Domain
Name string The name of the domain.
- Domain
Password string The user password of the domain administrator. The maximum number of English characters is 64.
- Domain
User stringName The username of the domain administrator. The maximum number of English characters is 64.
- Enable
Admin boolAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- Specification int
The AD Connector specifications. Valid values:
1
,2
.- Status string
The status of directory.
- Sub
Domain List<string>Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- Vswitch
Ids List<string> List of VSwitch IDs in the directory.
- Desktop
Access stringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- Directory
Name string The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- Dns
Addresses []string The DNS address list.
- Domain
Name string The name of the domain.
- Domain
Password string The user password of the domain administrator. The maximum number of English characters is 64.
- Domain
User stringName The username of the domain administrator. The maximum number of English characters is 64.
- Enable
Admin boolAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- Specification int
The AD Connector specifications. Valid values:
1
,2
.- Status string
The status of directory.
- Sub
Domain []stringDns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- Vswitch
Ids []string List of VSwitch IDs in the directory.
- desktop
Access StringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- directory
Name String The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns
Addresses List<String> The DNS address list.
- domain
Name String The name of the domain.
- domain
Password String The user password of the domain administrator. The maximum number of English characters is 64.
- domain
User StringName The username of the domain administrator. The maximum number of English characters is 64.
- enable
Admin BooleanAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification Integer
The AD Connector specifications. Valid values:
1
,2
.- status String
The status of directory.
- sub
Domain List<String>Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- vswitch
Ids List<String> List of VSwitch IDs in the directory.
- desktop
Access stringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- directory
Name string The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns
Addresses string[] The DNS address list.
- domain
Name string The name of the domain.
- domain
Password string The user password of the domain administrator. The maximum number of English characters is 64.
- domain
User stringName The username of the domain administrator. The maximum number of English characters is 64.
- enable
Admin booleanAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification number
The AD Connector specifications. Valid values:
1
,2
.- status string
The status of directory.
- sub
Domain string[]Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- vswitch
Ids string[] List of VSwitch IDs in the directory.
- desktop_
access_ strtype The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- directory_
name str The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns_
addresses Sequence[str] The DNS address list.
- domain_
name str The name of the domain.
- domain_
password str The user password of the domain administrator. The maximum number of English characters is 64.
- domain_
user_ strname The username of the domain administrator. The maximum number of English characters is 64.
- enable_
admin_ boolaccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification int
The AD Connector specifications. Valid values:
1
,2
.- status str
The status of directory.
- sub_
domain_ Sequence[str]dns_ addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- vswitch_
ids Sequence[str] List of VSwitch IDs in the directory.
- desktop
Access StringType The desktop access type. Valid values:
VPC
,INTERNET
,ANY
.- directory
Name String The name of the directory. The name must be 2 to 255 characters in length. It must start with a letter but cannot start with
http://
orhttps://
. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).- dns
Addresses List<String> The DNS address list.
- domain
Name String The name of the domain.
- domain
Password String The user password of the domain administrator. The maximum number of English characters is 64.
- domain
User StringName The username of the domain administrator. The maximum number of English characters is 64.
- enable
Admin BooleanAccess Whether to grant local administrator rights to users who use cloud desktops.
- 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. NOTE: The MFA device needs to be bound when logging in for the first time.
- specification Number
The AD Connector specifications. Valid values:
1
,2
.- status String
The status of directory.
- sub
Domain List<String>Dns Addresses The Enterprise already has the DNS address of the AD subdomain. If
sub_domain_name
is set and this parameter is not set, the child Domain DNS is considered consistent with the parent domain.- 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.
- vswitch
Ids List<String> List of VSwitch IDs in the directory.
Import
ECD Ad Connector Directory can be imported using the id, e.g.
$ pulumi import alicloud:eds/adConnectorDirectory:AdConnectorDirectory example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.