alicloud logo
Alibaba Cloud v3.37.0, May 15 23

alicloud.eds.AdConnectorOfficeSite

Explore with Pulumi AI

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 in v1.176.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var defaultInstance = new AliCloud.Cen.Instance("defaultInstance", new()
    {
        CenInstanceName = @var.Name,
        ProtectionLevel = "REDUCED",
    });

    var defaultAdConnectorOfficeSite = new AliCloud.Eds.AdConnectorOfficeSite("defaultAdConnectorOfficeSite", new()
    {
        AdConnectorOfficeSiteName = @var.Name,
        Bandwidth = 100,
        CenId = defaultInstance.Id,
        CidrBlock = "10.0.0.0/12",
        DesktopAccessType = "INTERNET",
        DnsAddresses = new[]
        {
            "127.0.0.2",
        },
        DomainName = "example1234.com",
        DomainPassword = "YourPassword1234",
        DomainUserName = "Administrator",
        EnableAdminAccess = true,
        EnableInternetAccess = true,
        MfaEnabled = false,
        SubDomainDnsAddresses = new[]
        {
            "127.0.0.3",
        },
        SubDomainName = "child.example1234.com",
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"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 {
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", &cen.InstanceArgs{
			CenInstanceName: pulumi.Any(_var.Name),
			ProtectionLevel: pulumi.String("REDUCED"),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewAdConnectorOfficeSite(ctx, "defaultAdConnectorOfficeSite", &eds.AdConnectorOfficeSiteArgs{
			AdConnectorOfficeSiteName: pulumi.Any(_var.Name),
			Bandwidth:                 pulumi.Int(100),
			CenId:                     defaultInstance.ID(),
			CidrBlock:                 pulumi.String("10.0.0.0/12"),
			DesktopAccessType:         pulumi.String("INTERNET"),
			DnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.2"),
			},
			DomainName:           pulumi.String("example1234.com"),
			DomainPassword:       pulumi.String("YourPassword1234"),
			DomainUserName:       pulumi.String("Administrator"),
			EnableAdminAccess:    pulumi.Bool(true),
			EnableInternetAccess: pulumi.Bool(true),
			MfaEnabled:           pulumi.Bool(false),
			SubDomainDnsAddresses: pulumi.StringArray{
				pulumi.String("127.0.0.3"),
			},
			SubDomainName: pulumi.String("child.example1234.com"),
		})
		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.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) {
        var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()        
            .cenInstanceName(var_.name())
            .protectionLevel("REDUCED")
            .build());

        var defaultAdConnectorOfficeSite = new AdConnectorOfficeSite("defaultAdConnectorOfficeSite", AdConnectorOfficeSiteArgs.builder()        
            .adConnectorOfficeSiteName(var_.name())
            .bandwidth(100)
            .cenId(defaultInstance.id())
            .cidrBlock("10.0.0.0/12")
            .desktopAccessType("INTERNET")
            .dnsAddresses("127.0.0.2")
            .domainName("example1234.com")
            .domainPassword("YourPassword1234")
            .domainUserName("Administrator")
            .enableAdminAccess(true)
            .enableInternetAccess(true)
            .mfaEnabled(false)
            .subDomainDnsAddresses("127.0.0.3")
            .subDomainName("child.example1234.com")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default_instance = alicloud.cen.Instance("defaultInstance",
    cen_instance_name=var["name"],
    protection_level="REDUCED")
default_ad_connector_office_site = alicloud.eds.AdConnectorOfficeSite("defaultAdConnectorOfficeSite",
    ad_connector_office_site_name=var["name"],
    bandwidth=100,
    cen_id=default_instance.id,
    cidr_block="10.0.0.0/12",
    desktop_access_type="INTERNET",
    dns_addresses=["127.0.0.2"],
    domain_name="example1234.com",
    domain_password="YourPassword1234",
    domain_user_name="Administrator",
    enable_admin_access=True,
    enable_internet_access=True,
    mfa_enabled=False,
    sub_domain_dns_addresses=["127.0.0.3"],
    sub_domain_name="child.example1234.com")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultInstance = new alicloud.cen.Instance("defaultInstance", {
    cenInstanceName: _var.name,
    protectionLevel: "REDUCED",
});
const defaultAdConnectorOfficeSite = new alicloud.eds.AdConnectorOfficeSite("defaultAdConnectorOfficeSite", {
    adConnectorOfficeSiteName: _var.name,
    bandwidth: 100,
    cenId: defaultInstance.id,
    cidrBlock: "10.0.0.0/12",
    desktopAccessType: "INTERNET",
    dnsAddresses: ["127.0.0.2"],
    domainName: "example1234.com",
    domainPassword: "YourPassword1234",
    domainUserName: "Administrator",
    enableAdminAccess: true,
    enableInternetAccess: true,
    mfaEnabled: false,
    subDomainDnsAddresses: ["127.0.0.3"],
    subDomainName: "child.example1234.com",
});
resources:
  defaultInstance:
    type: alicloud:cen:Instance
    properties:
      cenInstanceName: ${var.name}
      protectionLevel: REDUCED
  defaultAdConnectorOfficeSite:
    type: alicloud:eds:AdConnectorOfficeSite
    properties:
      adConnectorOfficeSiteName: ${var.name}
      bandwidth: 100
      cenId: ${defaultInstance.id}
      cidrBlock: 10.0.0.0/12
      desktopAccessType: INTERNET
      dnsAddresses:
        - 127.0.0.2
      domainName: example1234.com
      domainPassword: YourPassword1234
      domainUserName: Administrator
      enableAdminAccess: true
      enableInternetAccess: true
      mfaEnabled: false
      subDomainDnsAddresses:
        - 127.0.0.3
      subDomainName: child.example1234.com

Create AdConnectorOfficeSite Resource

new AdConnectorOfficeSite(name: string, args: AdConnectorOfficeSiteArgs, opts?: CustomResourceOptions);
@overload
def AdConnectorOfficeSite(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          ad_connector_office_site_name: Optional[str] = None,
                          ad_hostname: Optional[str] = None,
                          bandwidth: Optional[int] = None,
                          cen_id: Optional[str] = None,
                          cen_owner_id: Optional[str] = None,
                          cidr_block: Optional[str] = None,
                          desktop_access_type: 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,
                          enable_internet_access: Optional[bool] = None,
                          mfa_enabled: Optional[bool] = None,
                          protocol_type: Optional[str] = None,
                          specification: Optional[int] = None,
                          sub_domain_dns_addresses: Optional[Sequence[str]] = None,
                          sub_domain_name: Optional[str] = None,
                          verify_code: Optional[str] = None)
@overload
def AdConnectorOfficeSite(resource_name: str,
                          args: AdConnectorOfficeSiteArgs,
                          opts: Optional[ResourceOptions] = None)
func NewAdConnectorOfficeSite(ctx *Context, name string, args AdConnectorOfficeSiteArgs, opts ...ResourceOption) (*AdConnectorOfficeSite, error)
public AdConnectorOfficeSite(string name, AdConnectorOfficeSiteArgs args, CustomResourceOptions? opts = null)
public AdConnectorOfficeSite(String name, AdConnectorOfficeSiteArgs args)
public AdConnectorOfficeSite(String name, AdConnectorOfficeSiteArgs args, CustomResourceOptions options)
type: alicloud:eds:AdConnectorOfficeSite
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AdConnectorOfficeSiteArgs
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 AdConnectorOfficeSiteArgs
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 AdConnectorOfficeSiteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AdConnectorOfficeSiteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AdConnectorOfficeSiteArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AdConnectorOfficeSite 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 AdConnectorOfficeSite resource accepts the following input properties:

AdConnectorOfficeSiteName string

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 (-).

CenId string

The ID of the CEN instance.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

DnsAddresses List<string>

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

DomainName string

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

AdHostname string

The ad hostname.

Bandwidth 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.

CenOwnerId string

The cen owner id.

DesktopAccessType string

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:

DomainPassword string

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

DomainUserName string

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

EnableAdminAccess bool

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

EnableInternetAccess bool

Specifies whether to enable Internet access.

MfaEnabled bool

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

ProtocolType string

The protocol type. Valid values: ASP, HDX.

Specification int

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

SubDomainDnsAddresses List<string>

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.

SubDomainName string

The domain name of the enterprise AD subdomain.

VerifyCode 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.

AdConnectorOfficeSiteName string

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 (-).

CenId string

The ID of the CEN instance.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

DnsAddresses []string

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

DomainName string

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

AdHostname string

The ad hostname.

Bandwidth 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.

CenOwnerId string

The cen owner id.

DesktopAccessType string

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:

DomainPassword string

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

DomainUserName string

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

EnableAdminAccess bool

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

EnableInternetAccess bool

Specifies whether to enable Internet access.

MfaEnabled bool

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

ProtocolType string

The protocol type. Valid values: ASP, HDX.

Specification int

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

SubDomainDnsAddresses []string

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.

SubDomainName string

The domain name of the enterprise AD subdomain.

VerifyCode 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.

adConnectorOfficeSiteName String

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 (-).

cenId String

The ID of the CEN instance.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

dnsAddresses List<String>

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

domainName String

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

adHostname String

The ad hostname.

bandwidth Integer

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.

cenOwnerId String

The cen owner id.

desktopAccessType String

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:

domainPassword String

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

domainUserName String

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

enableAdminAccess Boolean

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

enableInternetAccess Boolean

Specifies whether to enable Internet access.

mfaEnabled Boolean

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

protocolType String

The protocol type. Valid values: ASP, HDX.

specification Integer

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

subDomainDnsAddresses List<String>

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.

subDomainName String

The domain name of the enterprise AD subdomain.

verifyCode 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.

adConnectorOfficeSiteName string

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 (-).

cenId string

The ID of the CEN instance.

cidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

dnsAddresses string[]

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

domainName string

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

adHostname string

The ad hostname.

bandwidth number

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.

cenOwnerId string

The cen owner id.

desktopAccessType string

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:

domainPassword string

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

domainUserName string

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

enableAdminAccess boolean

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

enableInternetAccess boolean

Specifies whether to enable Internet access.

mfaEnabled boolean

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

protocolType string

The protocol type. Valid values: ASP, HDX.

specification number

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

subDomainDnsAddresses string[]

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.

subDomainName string

The domain name of the enterprise AD subdomain.

verifyCode 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.

ad_connector_office_site_name str

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 (-).

cen_id str

The ID of the CEN instance.

cidr_block str

Workspace Corresponds to the Security Office Network of IPv4 Segment.

dns_addresses Sequence[str]

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

domain_name str

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

ad_hostname str

The ad hostname.

bandwidth 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.

cen_owner_id str

The cen owner id.

desktop_access_type str

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:

domain_password str

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

domain_user_name str

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

enable_admin_access bool

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

enable_internet_access bool

Specifies whether to enable Internet access.

mfa_enabled bool

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

protocol_type str

The protocol type. Valid values: ASP, HDX.

specification int

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

sub_domain_dns_addresses Sequence[str]

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.

sub_domain_name str

The domain name of the enterprise AD subdomain.

verify_code str

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.

adConnectorOfficeSiteName String

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 (-).

cenId String

The ID of the CEN instance.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

dnsAddresses List<String>

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

domainName String

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

adHostname String

The ad hostname.

bandwidth Number

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.

cenOwnerId String

The cen owner id.

desktopAccessType String

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:

domainPassword String

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

domainUserName String

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

enableAdminAccess Boolean

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

enableInternetAccess Boolean

Specifies whether to enable Internet access.

mfaEnabled Boolean

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

protocolType String

The protocol type. Valid values: ASP, HDX.

specification Number

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

subDomainDnsAddresses List<String>

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.

subDomainName String

The domain name of the enterprise AD subdomain.

verifyCode 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.

Outputs

All input properties are implicitly available as output properties. Additionally, the AdConnectorOfficeSite resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string

The resource State.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The resource State.

id String

The provider-assigned unique ID for this managed resource.

status String

The resource State.

id string

The provider-assigned unique ID for this managed resource.

status string

The resource State.

id str

The provider-assigned unique ID for this managed resource.

status str

The resource State.

id String

The provider-assigned unique ID for this managed resource.

status String

The resource State.

Look up Existing AdConnectorOfficeSite Resource

Get an existing AdConnectorOfficeSite 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?: AdConnectorOfficeSiteState, opts?: CustomResourceOptions): AdConnectorOfficeSite
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ad_connector_office_site_name: Optional[str] = None,
        ad_hostname: Optional[str] = None,
        bandwidth: Optional[int] = None,
        cen_id: Optional[str] = None,
        cen_owner_id: Optional[str] = None,
        cidr_block: Optional[str] = None,
        desktop_access_type: 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,
        enable_internet_access: Optional[bool] = None,
        mfa_enabled: Optional[bool] = None,
        protocol_type: Optional[str] = None,
        specification: Optional[int] = None,
        status: Optional[str] = None,
        sub_domain_dns_addresses: Optional[Sequence[str]] = None,
        sub_domain_name: Optional[str] = None,
        verify_code: Optional[str] = None) -> AdConnectorOfficeSite
func GetAdConnectorOfficeSite(ctx *Context, name string, id IDInput, state *AdConnectorOfficeSiteState, opts ...ResourceOption) (*AdConnectorOfficeSite, error)
public static AdConnectorOfficeSite Get(string name, Input<string> id, AdConnectorOfficeSiteState? state, CustomResourceOptions? opts = null)
public static AdConnectorOfficeSite get(String name, Output<String> id, AdConnectorOfficeSiteState 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.
The following state arguments are supported:
AdConnectorOfficeSiteName string

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 (-).

AdHostname string

The ad hostname.

Bandwidth 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.

CenId string

The ID of the CEN instance.

CenOwnerId string

The cen owner id.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

DesktopAccessType string

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:

DnsAddresses List<string>

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

DomainName string

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

DomainPassword string

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

DomainUserName string

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

EnableAdminAccess bool

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

EnableInternetAccess bool

Specifies whether to enable Internet access.

MfaEnabled bool

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

ProtocolType string

The protocol type. Valid values: ASP, HDX.

Specification int

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

Status string

The resource State.

SubDomainDnsAddresses List<string>

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.

SubDomainName string

The domain name of the enterprise AD subdomain.

VerifyCode 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.

AdConnectorOfficeSiteName string

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 (-).

AdHostname string

The ad hostname.

Bandwidth 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.

CenId string

The ID of the CEN instance.

CenOwnerId string

The cen owner id.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

DesktopAccessType string

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:

DnsAddresses []string

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

DomainName string

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

DomainPassword string

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

DomainUserName string

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

EnableAdminAccess bool

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

EnableInternetAccess bool

Specifies whether to enable Internet access.

MfaEnabled bool

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

ProtocolType string

The protocol type. Valid values: ASP, HDX.

Specification int

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

Status string

The resource State.

SubDomainDnsAddresses []string

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.

SubDomainName string

The domain name of the enterprise AD subdomain.

VerifyCode 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.

adConnectorOfficeSiteName String

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 (-).

adHostname String

The ad hostname.

bandwidth Integer

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.

cenId String

The ID of the CEN instance.

cenOwnerId String

The cen owner id.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktopAccessType String

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:

dnsAddresses List<String>

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

domainName String

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

domainPassword String

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

domainUserName String

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

enableAdminAccess Boolean

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

enableInternetAccess Boolean

Specifies whether to enable Internet access.

mfaEnabled Boolean

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

protocolType String

The protocol type. Valid values: ASP, HDX.

specification Integer

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

status String

The resource State.

subDomainDnsAddresses List<String>

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.

subDomainName String

The domain name of the enterprise AD subdomain.

verifyCode 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.

adConnectorOfficeSiteName string

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 (-).

adHostname string

The ad hostname.

bandwidth number

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.

cenId string

The ID of the CEN instance.

cenOwnerId string

The cen owner id.

cidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktopAccessType string

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:

dnsAddresses string[]

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

domainName string

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

domainPassword string

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

domainUserName string

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

enableAdminAccess boolean

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

enableInternetAccess boolean

Specifies whether to enable Internet access.

mfaEnabled boolean

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

protocolType string

The protocol type. Valid values: ASP, HDX.

specification number

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

status string

The resource State.

subDomainDnsAddresses string[]

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.

subDomainName string

The domain name of the enterprise AD subdomain.

verifyCode 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.

ad_connector_office_site_name str

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 (-).

ad_hostname str

The ad hostname.

bandwidth 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.

cen_id str

The ID of the CEN instance.

cen_owner_id str

The cen owner id.

cidr_block str

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktop_access_type str

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:

dns_addresses Sequence[str]

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

domain_name str

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

domain_password str

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

domain_user_name str

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

enable_admin_access bool

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

enable_internet_access bool

Specifies whether to enable Internet access.

mfa_enabled bool

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

protocol_type str

The protocol type. Valid values: ASP, HDX.

specification int

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

status str

The resource State.

sub_domain_dns_addresses Sequence[str]

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.

sub_domain_name str

The domain name of the enterprise AD subdomain.

verify_code str

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.

adConnectorOfficeSiteName String

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 (-).

adHostname String

The ad hostname.

bandwidth Number

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.

cenId String

The ID of the CEN instance.

cenOwnerId String

The cen owner id.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktopAccessType String

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:

dnsAddresses List<String>

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

domainName String

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

domainPassword String

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

domainUserName String

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

enableAdminAccess Boolean

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

enableInternetAccess Boolean

Specifies whether to enable Internet access.

mfaEnabled Boolean

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

protocolType String

The protocol type. Valid values: ASP, HDX.

specification Number

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

status String

The resource State.

subDomainDnsAddresses List<String>

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.

subDomainName String

The domain name of the enterprise AD subdomain.

verifyCode 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.

Import

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

 $ pulumi import alicloud:eds/adConnectorOfficeSite:AdConnectorOfficeSite 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.