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 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:
- Ad
Connector stringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - Cen
Id string - The ID of the CEN instance.
- Cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Dns
Addresses List<string> - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- Domain
Name string - The domain name of the enterprise AD system. You can register each domain name only once.
- Ad
Hostname 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.
- Cen
Owner stringId - The cen owner id.
- Desktop
Access stringType - 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 string - The password of the domain administrator. The password can be up to 64 characters in length.
- Domain
User stringName - The username of the domain administrator. The username can be up to 64 characters in length.
- Enable
Admin boolAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- Enable
Internet boolAccess - Specifies whether to enable Internet access.
- Mfa
Enabled bool - Specifies whether to enable multi-factor authentication (MFA).
- Protocol
Type string - The protocol type. Valid values:
ASP
,HDX
. - Specification int
- The AD Connector specifications. Valid values:
1
,2
. - Sub
Domain List<string>Dns Addresses - 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 stringName - The domain name of the enterprise AD subdomain.
- Verify
Code 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 stringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - Cen
Id string - The ID of the CEN instance.
- Cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Dns
Addresses []string - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- Domain
Name string - The domain name of the enterprise AD system. You can register each domain name only once.
- Ad
Hostname 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.
- Cen
Owner stringId - The cen owner id.
- Desktop
Access stringType - 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 string - The password of the domain administrator. The password can be up to 64 characters in length.
- Domain
User stringName - The username of the domain administrator. The username can be up to 64 characters in length.
- Enable
Admin boolAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- Enable
Internet boolAccess - Specifies whether to enable Internet access.
- Mfa
Enabled bool - Specifies whether to enable multi-factor authentication (MFA).
- Protocol
Type string - The protocol type. Valid values:
ASP
,HDX
. - Specification int
- The AD Connector specifications. Valid values:
1
,2
. - Sub
Domain []stringDns Addresses - 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 stringName - The domain name of the enterprise AD subdomain.
- Verify
Code 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 StringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - cen
Id String - The ID of the CEN instance.
- cidr
Block String - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- dns
Addresses List<String> - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- domain
Name String - The domain name of the enterprise AD system. You can register each domain name only once.
- ad
Hostname 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.
- cen
Owner StringId - The cen owner id.
- desktop
Access StringType - 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 String - The password of the domain administrator. The password can be up to 64 characters in length.
- domain
User StringName - The username of the domain administrator. The username can be up to 64 characters in length.
- enable
Admin BooleanAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable
Internet BooleanAccess - Specifies whether to enable Internet access.
- mfa
Enabled Boolean - Specifies whether to enable multi-factor authentication (MFA).
- protocol
Type String - The protocol type. Valid values:
ASP
,HDX
. - specification Integer
- The AD Connector specifications. Valid values:
1
,2
. - sub
Domain List<String>Dns Addresses - 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 StringName - The domain name of the enterprise AD subdomain.
- verify
Code 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 stringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - cen
Id string - The ID of the CEN instance.
- cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- dns
Addresses string[] - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- domain
Name string - The domain name of the enterprise AD system. You can register each domain name only once.
- ad
Hostname 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.
- cen
Owner stringId - The cen owner id.
- desktop
Access stringType - 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 string - The password of the domain administrator. The password can be up to 64 characters in length.
- domain
User stringName - The username of the domain administrator. The username can be up to 64 characters in length.
- enable
Admin booleanAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable
Internet booleanAccess - Specifies whether to enable Internet access.
- mfa
Enabled boolean - Specifies whether to enable multi-factor authentication (MFA).
- protocol
Type string - The protocol type. Valid values:
ASP
,HDX
. - specification number
- The AD Connector specifications. Valid values:
1
,2
. - sub
Domain string[]Dns Addresses - 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 stringName - The domain name of the enterprise AD subdomain.
- verify
Code 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_ stroffice_ site_ name - 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://
orhttps://
. 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_ strid - The cen owner id.
- desktop_
access_ strtype - 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_ strname - The username of the domain administrator. The username can be up to 64 characters in length.
- enable_
admin_ boolaccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable_
internet_ boolaccess - 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_ Sequence[str]dns_ addresses - 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_ strname - 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.
- ad
Connector StringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - cen
Id String - The ID of the CEN instance.
- cidr
Block String - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- dns
Addresses List<String> - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- domain
Name String - The domain name of the enterprise AD system. You can register each domain name only once.
- ad
Hostname 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.
- cen
Owner StringId - The cen owner id.
- desktop
Access StringType - 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 String - The password of the domain administrator. The password can be up to 64 characters in length.
- domain
User StringName - The username of the domain administrator. The username can be up to 64 characters in length.
- enable
Admin BooleanAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable
Internet BooleanAccess - Specifies whether to enable Internet access.
- mfa
Enabled Boolean - Specifies whether to enable multi-factor authentication (MFA).
- protocol
Type String - The protocol type. Valid values:
ASP
,HDX
. - specification Number
- The AD Connector specifications. Valid values:
1
,2
. - sub
Domain List<String>Dns Addresses - 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 StringName - The domain name of the enterprise AD subdomain.
- verify
Code 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:
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.
- Ad
Connector stringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - Ad
Hostname 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.
- Cen
Id string - The ID of the CEN instance.
- Cen
Owner stringId - The cen owner id.
- Cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Desktop
Access stringType - 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 List<string> - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- Domain
Name string - The domain name of the enterprise AD system. You can register each domain name only once.
- Domain
Password string - The password of the domain administrator. The password can be up to 64 characters in length.
- Domain
User stringName - The username of the domain administrator. The username can be up to 64 characters in length.
- Enable
Admin boolAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- Enable
Internet boolAccess - Specifies whether to enable Internet access.
- Mfa
Enabled bool - Specifies whether to enable multi-factor authentication (MFA).
- Protocol
Type string - The protocol type. Valid values:
ASP
,HDX
. - Specification int
- The AD Connector specifications. Valid values:
1
,2
. - Status string
- The resource State.
- Sub
Domain List<string>Dns Addresses - 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 stringName - The domain name of the enterprise AD subdomain.
- Verify
Code 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 stringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - Ad
Hostname 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.
- Cen
Id string - The ID of the CEN instance.
- Cen
Owner stringId - The cen owner id.
- Cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Desktop
Access stringType - 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 []string - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- Domain
Name string - The domain name of the enterprise AD system. You can register each domain name only once.
- Domain
Password string - The password of the domain administrator. The password can be up to 64 characters in length.
- Domain
User stringName - The username of the domain administrator. The username can be up to 64 characters in length.
- Enable
Admin boolAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- Enable
Internet boolAccess - Specifies whether to enable Internet access.
- Mfa
Enabled bool - Specifies whether to enable multi-factor authentication (MFA).
- Protocol
Type string - The protocol type. Valid values:
ASP
,HDX
. - Specification int
- The AD Connector specifications. Valid values:
1
,2
. - Status string
- The resource State.
- Sub
Domain []stringDns Addresses - 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 stringName - The domain name of the enterprise AD subdomain.
- Verify
Code 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 StringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - ad
Hostname 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.
- cen
Id String - The ID of the CEN instance.
- cen
Owner StringId - The cen owner id.
- cidr
Block String - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop
Access StringType - 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 List<String> - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- domain
Name String - The domain name of the enterprise AD system. You can register each domain name only once.
- domain
Password String - The password of the domain administrator. The password can be up to 64 characters in length.
- domain
User StringName - The username of the domain administrator. The username can be up to 64 characters in length.
- enable
Admin BooleanAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable
Internet BooleanAccess - Specifies whether to enable Internet access.
- mfa
Enabled Boolean - Specifies whether to enable multi-factor authentication (MFA).
- protocol
Type String - The protocol type. Valid values:
ASP
,HDX
. - specification Integer
- The AD Connector specifications. Valid values:
1
,2
. - status String
- The resource State.
- sub
Domain List<String>Dns Addresses - 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 StringName - The domain name of the enterprise AD subdomain.
- verify
Code 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 stringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - ad
Hostname 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.
- cen
Id string - The ID of the CEN instance.
- cen
Owner stringId - The cen owner id.
- cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop
Access stringType - 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 string[] - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- domain
Name string - The domain name of the enterprise AD system. You can register each domain name only once.
- domain
Password string - The password of the domain administrator. The password can be up to 64 characters in length.
- domain
User stringName - The username of the domain administrator. The username can be up to 64 characters in length.
- enable
Admin booleanAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable
Internet booleanAccess - Specifies whether to enable Internet access.
- mfa
Enabled boolean - Specifies whether to enable multi-factor authentication (MFA).
- protocol
Type string - The protocol type. Valid values:
ASP
,HDX
. - specification number
- The AD Connector specifications. Valid values:
1
,2
. - status string
- The resource State.
- sub
Domain string[]Dns Addresses - 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 stringName - The domain name of the enterprise AD subdomain.
- verify
Code 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_ stroffice_ site_ name - 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://
orhttps://
. 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_ strid - The cen owner id.
- cidr_
block str - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop_
access_ strtype - 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_ strname - The username of the domain administrator. The username can be up to 64 characters in length.
- enable_
admin_ boolaccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable_
internet_ boolaccess - 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_ Sequence[str]dns_ addresses - 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_ strname - 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.
- ad
Connector StringOffice Site Name - 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://
orhttps://
. It can contain digits, colons (:), underscores (_), and hyphens (-). - ad
Hostname 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.
- cen
Id String - The ID of the CEN instance.
- cen
Owner StringId - The cen owner id.
- cidr
Block String - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop
Access StringType - 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 List<String> - The IP address N of the DNS server of the enterprise AD system. You can specify only one IP address.
- domain
Name String - The domain name of the enterprise AD system. You can register each domain name only once.
- domain
Password String - The password of the domain administrator. The password can be up to 64 characters in length.
- domain
User StringName - The username of the domain administrator. The username can be up to 64 characters in length.
- enable
Admin BooleanAccess - Specifies whether to grant the permissions of the local administrator to the desktop users. Default value: true.
- enable
Internet BooleanAccess - Specifies whether to enable Internet access.
- mfa
Enabled Boolean - Specifies whether to enable multi-factor authentication (MFA).
- protocol
Type String - The protocol type. Valid values:
ASP
,HDX
. - specification Number
- The AD Connector specifications. Valid values:
1
,2
. - status String
- The resource State.
- sub
Domain List<String>Dns Addresses - 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 StringName - The domain name of the enterprise AD subdomain.
- verify
Code 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.