1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. eds
  5. AdConnectorOfficeSite
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.eds.AdConnectorOfficeSite

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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

    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 _default = new alicloud.cen.Instance("default", {
        cenInstanceName: name,
        protectionLevel: "REDUCED",
    });
    const defaultAdConnectorOfficeSite = new alicloud.eds.AdConnectorOfficeSite("default", {
        adConnectorOfficeSiteName: name,
        bandwidth: 100,
        cenId: _default.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",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.cen.Instance("default",
        cen_instance_name=name,
        protection_level="REDUCED")
    default_ad_connector_office_site = alicloud.eds.AdConnectorOfficeSite("default",
        ad_connector_office_site_name=name,
        bandwidth=100,
        cen_id=default.id,
        cidr_block="10.0.0.0/12",
        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,
        enable_internet_access=False,
        mfa_enabled=False,
        sub_domain_dns_addresses=["127.0.0.3"],
        sub_domain_name="child.example.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"
    	"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
    		}
    		_, err := cen.NewInstance(ctx, "default", &cen.InstanceArgs{
    			CenInstanceName: pulumi.String(name),
    			ProtectionLevel: pulumi.String("REDUCED"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = eds.NewAdConnectorOfficeSite(ctx, "default", &eds.AdConnectorOfficeSiteArgs{
    			AdConnectorOfficeSiteName: pulumi.String(name),
    			Bandwidth:                 pulumi.Int(100),
    			CenId:                     _default.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("corp.example.com"),
    			DomainPassword:       pulumi.String("Example1234"),
    			DomainUserName:       pulumi.String("sAMAccountName"),
    			EnableAdminAccess:    pulumi.Bool(false),
    			EnableInternetAccess: pulumi.Bool(false),
    			MfaEnabled:           pulumi.Bool(false),
    			SubDomainDnsAddresses: pulumi.StringArray{
    				pulumi.String("127.0.0.3"),
    			},
    			SubDomainName: pulumi.String("child.example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 @default = new AliCloud.Cen.Instance("default", new()
        {
            CenInstanceName = name,
            ProtectionLevel = "REDUCED",
        });
    
        var defaultAdConnectorOfficeSite = new AliCloud.Eds.AdConnectorOfficeSite("default", new()
        {
            AdConnectorOfficeSiteName = name,
            Bandwidth = 100,
            CenId = @default.Id,
            CidrBlock = "10.0.0.0/12",
            DesktopAccessType = "INTERNET",
            DnsAddresses = new[]
            {
                "127.0.0.2",
            },
            DomainName = "corp.example.com",
            DomainPassword = "Example1234",
            DomainUserName = "sAMAccountName",
            EnableAdminAccess = false,
            EnableInternetAccess = false,
            MfaEnabled = false,
            SubDomainDnsAddresses = new[]
            {
                "127.0.0.3",
            },
            SubDomainName = "child.example.com",
        });
    
    });
    
    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 default_ = new Instance("default", InstanceArgs.builder()
                .cenInstanceName(name)
                .protectionLevel("REDUCED")
                .build());
    
            var defaultAdConnectorOfficeSite = new AdConnectorOfficeSite("defaultAdConnectorOfficeSite", AdConnectorOfficeSiteArgs.builder()
                .adConnectorOfficeSiteName(name)
                .bandwidth(100)
                .cenId(default_.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());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:cen:Instance
        properties:
          cenInstanceName: ${name}
          protectionLevel: REDUCED
      defaultAdConnectorOfficeSite:
        type: alicloud:eds:AdConnectorOfficeSite
        name: default
        properties:
          adConnectorOfficeSiteName: ${name}
          bandwidth: 100
          cenId: ${default.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
    

    Create AdConnectorOfficeSite Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AdConnectorOfficeSite(name: string, args: AdConnectorOfficeSiteArgs, opts?: CustomResourceOptions);
    @overload
    def AdConnectorOfficeSite(resource_name: str,
                              args: AdConnectorOfficeSiteArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def AdConnectorOfficeSite(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              cidr_block: Optional[str] = None,
                              domain_name: Optional[str] = None,
                              dns_addresses: Optional[Sequence[str]] = None,
                              cen_id: Optional[str] = None,
                              ad_connector_office_site_name: Optional[str] = None,
                              cen_owner_id: Optional[str] = None,
                              enable_internet_access: Optional[bool] = None,
                              bandwidth: Optional[int] = None,
                              ad_hostname: Optional[str] = None,
                              domain_password: Optional[str] = None,
                              domain_user_name: Optional[str] = None,
                              enable_admin_access: Optional[bool] = None,
                              desktop_access_type: Optional[str] = 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)
    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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var adConnectorOfficeSiteResource = new AliCloud.Eds.AdConnectorOfficeSite("adConnectorOfficeSiteResource", new()
    {
        CidrBlock = "string",
        DomainName = "string",
        DnsAddresses = new[]
        {
            "string",
        },
        CenId = "string",
        AdConnectorOfficeSiteName = "string",
        CenOwnerId = "string",
        EnableInternetAccess = false,
        Bandwidth = 0,
        AdHostname = "string",
        DomainPassword = "string",
        DomainUserName = "string",
        EnableAdminAccess = false,
        DesktopAccessType = "string",
        MfaEnabled = false,
        ProtocolType = "string",
        Specification = 0,
        SubDomainDnsAddresses = new[]
        {
            "string",
        },
        SubDomainName = "string",
        VerifyCode = "string",
    });
    
    example, err := eds.NewAdConnectorOfficeSite(ctx, "adConnectorOfficeSiteResource", &eds.AdConnectorOfficeSiteArgs{
    	CidrBlock:  pulumi.String("string"),
    	DomainName: pulumi.String("string"),
    	DnsAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CenId:                     pulumi.String("string"),
    	AdConnectorOfficeSiteName: pulumi.String("string"),
    	CenOwnerId:                pulumi.String("string"),
    	EnableInternetAccess:      pulumi.Bool(false),
    	Bandwidth:                 pulumi.Int(0),
    	AdHostname:                pulumi.String("string"),
    	DomainPassword:            pulumi.String("string"),
    	DomainUserName:            pulumi.String("string"),
    	EnableAdminAccess:         pulumi.Bool(false),
    	DesktopAccessType:         pulumi.String("string"),
    	MfaEnabled:                pulumi.Bool(false),
    	ProtocolType:              pulumi.String("string"),
    	Specification:             pulumi.Int(0),
    	SubDomainDnsAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SubDomainName: pulumi.String("string"),
    	VerifyCode:    pulumi.String("string"),
    })
    
    var adConnectorOfficeSiteResource = new AdConnectorOfficeSite("adConnectorOfficeSiteResource", AdConnectorOfficeSiteArgs.builder()
        .cidrBlock("string")
        .domainName("string")
        .dnsAddresses("string")
        .cenId("string")
        .adConnectorOfficeSiteName("string")
        .cenOwnerId("string")
        .enableInternetAccess(false)
        .bandwidth(0)
        .adHostname("string")
        .domainPassword("string")
        .domainUserName("string")
        .enableAdminAccess(false)
        .desktopAccessType("string")
        .mfaEnabled(false)
        .protocolType("string")
        .specification(0)
        .subDomainDnsAddresses("string")
        .subDomainName("string")
        .verifyCode("string")
        .build());
    
    ad_connector_office_site_resource = alicloud.eds.AdConnectorOfficeSite("adConnectorOfficeSiteResource",
        cidr_block="string",
        domain_name="string",
        dns_addresses=["string"],
        cen_id="string",
        ad_connector_office_site_name="string",
        cen_owner_id="string",
        enable_internet_access=False,
        bandwidth=0,
        ad_hostname="string",
        domain_password="string",
        domain_user_name="string",
        enable_admin_access=False,
        desktop_access_type="string",
        mfa_enabled=False,
        protocol_type="string",
        specification=0,
        sub_domain_dns_addresses=["string"],
        sub_domain_name="string",
        verify_code="string")
    
    const adConnectorOfficeSiteResource = new alicloud.eds.AdConnectorOfficeSite("adConnectorOfficeSiteResource", {
        cidrBlock: "string",
        domainName: "string",
        dnsAddresses: ["string"],
        cenId: "string",
        adConnectorOfficeSiteName: "string",
        cenOwnerId: "string",
        enableInternetAccess: false,
        bandwidth: 0,
        adHostname: "string",
        domainPassword: "string",
        domainUserName: "string",
        enableAdminAccess: false,
        desktopAccessType: "string",
        mfaEnabled: false,
        protocolType: "string",
        specification: 0,
        subDomainDnsAddresses: ["string"],
        subDomainName: "string",
        verifyCode: "string",
    });
    
    type: alicloud:eds:AdConnectorOfficeSite
    properties:
        adConnectorOfficeSiteName: string
        adHostname: string
        bandwidth: 0
        cenId: string
        cenOwnerId: string
        cidrBlock: string
        desktopAccessType: string
        dnsAddresses:
            - string
        domainName: string
        domainPassword: string
        domainUserName: string
        enableAdminAccess: false
        enableInternetAccess: false
        mfaEnabled: false
        protocolType: string
        specification: 0
        subDomainDnsAddresses:
            - string
        subDomainName: string
        verifyCode: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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:

    • INTERNET: connects clients to cloud desktops only over the Internet.
    • VPC: connects clients to cloud desktops only over a VPC.
    • ANY: connects clients to cloud desktops over the Internet or a VPC. You can select a connection method when you use a client to connect to the cloud desktop.
    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>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi