AdConnectorOfficeSite

class AdConnectorOfficeSite : KotlinCustomResource

Provides a ECD Ad Connector Office Site resource. For information about ECD Ad Connector Office Site and how to use it, see What is Ad Connector Office Site.

NOTE: Available since v1.176.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.eds.AdConnectorOfficeSite;
import com.pulumi.alicloud.eds.AdConnectorOfficeSiteArgs;
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");
var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
.cenInstanceName(name)
.protectionLevel("REDUCED")
.build());
var defaultAdConnectorOfficeSite = new AdConnectorOfficeSite("defaultAdConnectorOfficeSite", AdConnectorOfficeSiteArgs.builder()
.adConnectorOfficeSiteName(name)
.bandwidth(100)
.cenId(defaultInstance.id())
.cidrBlock("10.0.0.0/12")
.desktopAccessType("INTERNET")
.dnsAddresses("127.0.0.2")
.domainName("corp.example.com")
.domainPassword("Example1234")
.domainUserName("sAMAccountName")
.enableAdminAccess(false)
.enableInternetAccess(false)
.mfaEnabled(false)
.subDomainDnsAddresses("127.0.0.3")
.subDomainName("child.example.com")
.build());
}
}

Import

ECD Ad Connector Office Site can be imported using the id, e.g.

$ pulumi import alicloud:eds/adConnectorOfficeSite:AdConnectorOfficeSite example <id>

Properties

Link copied to clipboard

The name of the workspace. The name must be 2 to 255 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain digits, colons (:), underscores (_), and hyphens (-).

Link copied to clipboard
val adHostname: Output<String>?

The ad hostname.

Link copied to clipboard
val bandwidth: Output<Int>?

The maximum public bandwidth value. Valid values: 0 to 200. If you do not specify this parameter or you set this parameter to 0, Internet access is disabled.

Link copied to clipboard
val cenId: Output<String>

The ID of the CEN instance.

Link copied to clipboard
val cenOwnerId: Output<String>?

The cen owner id.

Link copied to clipboard
val cidrBlock: Output<String>

Workspace Corresponds to the Security Office Network of IPv4 Segment.

Link copied to clipboard

The method that you use to connect to cloud desktops. Note: The VPC connection method is provided by Alibaba Cloud PrivateLink. You are not charged for PrivateLink. When you set this parameter to VPC or Any, PrivateLink is automatically activated. Default value: INTERNET. Valid values:

Link copied to clipboard
val dnsAddresses: Output<List<String>>

The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.

Link copied to clipboard
val domainName: Output<String>

The domain name of the enterprise AD system. You can register each domain name only once.

Link copied to clipboard
val domainPassword: Output<String>?

The password of the domain administrator. The password can be up to 64 characters in length.

Link copied to clipboard
val domainUserName: Output<String>?

The username of the domain administrator. The username can be up to 64 characters in length.

Link copied to clipboard

Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.

Link copied to clipboard

Specifies whether to enable Internet access.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val mfaEnabled: Output<Boolean>?

Specifies whether to enable multi-factor authentication (MFA).

Link copied to clipboard
val protocolType: Output<String>?

The protocol type. Valid values: ASP, HDX.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val specification: Output<Int>?

The AD Connector specifications. Valid values: 1, 2.

Link copied to clipboard
val status: Output<String>

The resource State.

Link copied to clipboard

The DNS address N of the enterprise AD subdomain. If you specify a value for the sub_domain_name parameter but you do not specify a value for this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.

Link copied to clipboard
val subDomainName: Output<String>?

The domain name of the enterprise AD subdomain.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val verifyCode: Output<String>?

The verification code. If the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, you must call the SendVerifyCode operation to obtain the verification code.