AdConnectorOfficeSiteArgs

data class AdConnectorOfficeSiteArgs(val adConnectorOfficeSiteName: Output<String>? = null, val adHostname: Output<String>? = null, val bandwidth: Output<Int>? = null, val cenId: Output<String>? = null, val cenOwnerId: Output<String>? = null, val cidrBlock: Output<String>? = null, val desktopAccessType: Output<String>? = null, val dnsAddresses: Output<List<String>>? = null, val domainName: Output<String>? = null, val domainPassword: Output<String>? = null, val domainUserName: Output<String>? = null, val enableAdminAccess: Output<Boolean>? = null, val enableInternetAccess: Output<Boolean>? = null, val mfaEnabled: Output<Boolean>? = null, val protocolType: Output<String>? = null, val specification: Output<Int>? = null, val subDomainDnsAddresses: Output<List<String>>? = null, val subDomainName: Output<String>? = null, val verifyCode: Output<String>? = null) : ConvertibleToJava<AdConnectorOfficeSiteArgs>

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>

Constructors

Link copied to clipboard
fun AdConnectorOfficeSiteArgs(adConnectorOfficeSiteName: Output<String>? = null, adHostname: Output<String>? = null, bandwidth: Output<Int>? = null, cenId: Output<String>? = null, cenOwnerId: Output<String>? = null, cidrBlock: Output<String>? = null, desktopAccessType: Output<String>? = null, dnsAddresses: Output<List<String>>? = null, domainName: Output<String>? = null, domainPassword: Output<String>? = null, domainUserName: Output<String>? = null, enableAdminAccess: Output<Boolean>? = null, enableInternetAccess: Output<Boolean>? = null, mfaEnabled: Output<Boolean>? = null, protocolType: Output<String>? = null, specification: Output<Int>? = null, subDomainDnsAddresses: Output<List<String>>? = null, subDomainName: Output<String>? = null, verifyCode: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AdConnectorOfficeSiteArgs

Properties

Link copied to clipboard
val adConnectorOfficeSiteName: Output<String>? = null

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>? = null

The ad hostname.

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

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>? = null

The ID of the CEN instance.

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

The cen owner id.

Link copied to clipboard
val cidrBlock: Output<String>? = null

Workspace Corresponds to the Security Office Network of IPv4 Segment.

Link copied to clipboard
val desktopAccessType: Output<String>? = null

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>>? = null

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>? = null

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

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

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

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

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

Link copied to clipboard
val enableAdminAccess: Output<Boolean>? = null

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

Link copied to clipboard
val enableInternetAccess: Output<Boolean>? = null

Specifies whether to enable Internet access.

Link copied to clipboard
val mfaEnabled: Output<Boolean>? = null

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

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

The protocol type. Valid values: ASP, HDX.

Link copied to clipboard
val specification: Output<Int>? = null

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

Link copied to clipboard
val subDomainDnsAddresses: Output<List<String>>? = null

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>? = null

The domain name of the enterprise AD subdomain.

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

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.