Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.eds.getSimpleOfficeSites
Start a Neo task
Explain and create an alicloud.eds.getSimpleOfficeSites resource
This data source provides the Ecd Simple Office Sites of the current Alibaba Cloud user.
NOTE: Available in v1.140.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.eds.getSimpleOfficeSites({
ids: ["example_id"],
status: "REGISTERED",
});
export const desktopAccessType = _default.then(_default => _default.sites?.[0]?.desktopAccessType);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.eds.get_simple_office_sites(ids=["example_id"],
status="REGISTERED")
pulumi.export("desktopAccessType", default.sites[0].desktop_access_type)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := eds.GetSimpleOfficeSites(ctx, &eds.GetSimpleOfficeSitesArgs{
Ids: []string{
"example_id",
},
Status: pulumi.StringRef("REGISTERED"),
}, nil)
if err != nil {
return err
}
ctx.Export("desktopAccessType", _default.Sites[0].DesktopAccessType)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.Eds.GetSimpleOfficeSites.Invoke(new()
{
Ids = new[]
{
"example_id",
},
Status = "REGISTERED",
});
return new Dictionary<string, object?>
{
["desktopAccessType"] = @default.Apply(@default => @default.Apply(getSimpleOfficeSitesResult => getSimpleOfficeSitesResult.Sites[0]?.DesktopAccessType)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.EdsFunctions;
import com.pulumi.alicloud.eds.inputs.GetSimpleOfficeSitesArgs;
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 default = EdsFunctions.getSimpleOfficeSites(GetSimpleOfficeSitesArgs.builder()
.ids("example_id")
.status("REGISTERED")
.build());
ctx.export("desktopAccessType", default_.sites()[0].desktopAccessType());
}
}
variables:
default:
fn::invoke:
function: alicloud:eds:getSimpleOfficeSites
arguments:
ids:
- example_id
status: REGISTERED
outputs:
desktopAccessType: ${default.sites[0].desktopAccessType}
Using getSimpleOfficeSites
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSimpleOfficeSites(args: GetSimpleOfficeSitesArgs, opts?: InvokeOptions): Promise<GetSimpleOfficeSitesResult>
function getSimpleOfficeSitesOutput(args: GetSimpleOfficeSitesOutputArgs, opts?: InvokeOptions): Output<GetSimpleOfficeSitesResult>def get_simple_office_sites(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSimpleOfficeSitesResult
def get_simple_office_sites_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSimpleOfficeSitesResult]func GetSimpleOfficeSites(ctx *Context, args *GetSimpleOfficeSitesArgs, opts ...InvokeOption) (*GetSimpleOfficeSitesResult, error)
func GetSimpleOfficeSitesOutput(ctx *Context, args *GetSimpleOfficeSitesOutputArgs, opts ...InvokeOption) GetSimpleOfficeSitesResultOutput> Note: This function is named GetSimpleOfficeSites in the Go SDK.
public static class GetSimpleOfficeSites
{
public static Task<GetSimpleOfficeSitesResult> InvokeAsync(GetSimpleOfficeSitesArgs args, InvokeOptions? opts = null)
public static Output<GetSimpleOfficeSitesResult> Invoke(GetSimpleOfficeSitesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSimpleOfficeSitesResult> getSimpleOfficeSites(GetSimpleOfficeSitesArgs args, InvokeOptions options)
public static Output<GetSimpleOfficeSitesResult> getSimpleOfficeSites(GetSimpleOfficeSitesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:eds/getSimpleOfficeSites:getSimpleOfficeSites
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Simple Office Site IDs.
- Name
Regex string - A regex string to filter results by Simple Office Site name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- Workspace State. Valid values:
REGISTERED,REGISTERING.
- Ids []string
- A list of Simple Office Site IDs.
- Name
Regex string - A regex string to filter results by Simple Office Site name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- Workspace State. Valid values:
REGISTERED,REGISTERING.
- ids List<String>
- A list of Simple Office Site IDs.
- name
Regex String - A regex string to filter results by Simple Office Site name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- Workspace State. Valid values:
REGISTERED,REGISTERING.
- ids string[]
- A list of Simple Office Site IDs.
- name
Regex string - A regex string to filter results by Simple Office Site name.
- output
File string - File name where to save data source results (after running
pulumi preview). - status string
- Workspace State. Valid values:
REGISTERED,REGISTERING.
- ids Sequence[str]
- A list of Simple Office Site IDs.
- name_
regex str - A regex string to filter results by Simple Office Site name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - status str
- Workspace State. Valid values:
REGISTERED,REGISTERING.
- ids List<String>
- A list of Simple Office Site IDs.
- name
Regex String - A regex string to filter results by Simple Office Site name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- Workspace State. Valid values:
REGISTERED,REGISTERING.
getSimpleOfficeSites Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Sites
List<Pulumi.
Ali Cloud. Eds. Outputs. Get Simple Office Sites Site> - Name
Regex string - Output
File string - Status string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Sites
[]Get
Simple Office Sites Site - Name
Regex string - Output
File string - Status string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- sites
List<Get
Simple Office Sites Site> - name
Regex String - output
File String - status String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- sites
Get
Simple Office Sites Site[] - name
Regex string - output
File string - status string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- sites
Sequence[Get
Simple Office Sites Site] - name_
regex str - output_
file str - status str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- sites List<Property Map>
- name
Regex String - output
File String - status String
Supporting Types
GetSimpleOfficeSitesSite
- Bandwidth int
- The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
- Cen
Id string - Cloud Enterprise Network Instance Id.
- Cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Create
Time string - Workspace Creation Time.
- Custom
Security stringGroup Id - Security Group ID.
- Desktop
Access stringType - Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
- Desktop
Vpc stringEndpoint - The Desktop Vpc Endpoint.
- Dns
Addresses List<string> - Enterprise Ad Corresponding DNS Address.
- Dns
User stringName - Easy-to-Use DNS Name.
- Domain
Name string - Enterprise of Ad Domain Name.
- Domain
Password string - Domain of the User Who Will Administer This Target Application Password.
- Domain
User stringName - The Domain Administrator's Username.
- Enable
Admin boolAccess - Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
- Enable
Cross boolDesktop Access - Enable Cross-Desktop Access.
- Enable
Internet boolAccess - Whether the Open Internet Access Function.
- File
System List<string>Ids - NAS File System ID.
- Id string
- The ID of the Simple Office Site.
- Mfa
Enabled bool - Whether to Enable Multi-Factor Authentication MFA.
- Network
Package stringId - Internet Access ID.
- Office
Site stringId - The Workspace ID.
- Office
Site stringType - Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
- Simple
Office stringSite Name - The simple office site name.
- Sso
Enabled bool - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- Sso
Status bool - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- Status string
- Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
- Sub
Dns List<string>Addresses - AD Subdomain of the DNS Address.
- Sub
Domain stringName - AD Domain DNS Name.
- Trust
Password string - AD Trust Password.
- Vpc
Id string - Security Office VPC ID.
- Vswitch
Ids List<string> - The vswitch ids.
- Bandwidth int
- The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
- Cen
Id string - Cloud Enterprise Network Instance Id.
- Cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Create
Time string - Workspace Creation Time.
- Custom
Security stringGroup Id - Security Group ID.
- Desktop
Access stringType - Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
- Desktop
Vpc stringEndpoint - The Desktop Vpc Endpoint.
- Dns
Addresses []string - Enterprise Ad Corresponding DNS Address.
- Dns
User stringName - Easy-to-Use DNS Name.
- Domain
Name string - Enterprise of Ad Domain Name.
- Domain
Password string - Domain of the User Who Will Administer This Target Application Password.
- Domain
User stringName - The Domain Administrator's Username.
- Enable
Admin boolAccess - Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
- Enable
Cross boolDesktop Access - Enable Cross-Desktop Access.
- Enable
Internet boolAccess - Whether the Open Internet Access Function.
- File
System []stringIds - NAS File System ID.
- Id string
- The ID of the Simple Office Site.
- Mfa
Enabled bool - Whether to Enable Multi-Factor Authentication MFA.
- Network
Package stringId - Internet Access ID.
- Office
Site stringId - The Workspace ID.
- Office
Site stringType - Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
- Simple
Office stringSite Name - The simple office site name.
- Sso
Enabled bool - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- Sso
Status bool - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- Status string
- Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
- Sub
Dns []stringAddresses - AD Subdomain of the DNS Address.
- Sub
Domain stringName - AD Domain DNS Name.
- Trust
Password string - AD Trust Password.
- Vpc
Id string - Security Office VPC ID.
- Vswitch
Ids []string - The vswitch ids.
- bandwidth Integer
- The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
- cen
Id String - Cloud Enterprise Network Instance Id.
- cidr
Block String - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- create
Time String - Workspace Creation Time.
- custom
Security StringGroup Id - Security Group ID.
- desktop
Access StringType - Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
- desktop
Vpc StringEndpoint - The Desktop Vpc Endpoint.
- dns
Addresses List<String> - Enterprise Ad Corresponding DNS Address.
- dns
User StringName - Easy-to-Use DNS Name.
- domain
Name String - Enterprise of Ad Domain Name.
- domain
Password String - Domain of the User Who Will Administer This Target Application Password.
- domain
User StringName - The Domain Administrator's Username.
- enable
Admin BooleanAccess - Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
- enable
Cross BooleanDesktop Access - Enable Cross-Desktop Access.
- enable
Internet BooleanAccess - Whether the Open Internet Access Function.
- file
System List<String>Ids - NAS File System ID.
- id String
- The ID of the Simple Office Site.
- mfa
Enabled Boolean - Whether to Enable Multi-Factor Authentication MFA.
- network
Package StringId - Internet Access ID.
- office
Site StringId - The Workspace ID.
- office
Site StringType - Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
- simple
Office StringSite Name - The simple office site name.
- sso
Enabled Boolean - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- sso
Status Boolean - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- status String
- Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
- sub
Dns List<String>Addresses - AD Subdomain of the DNS Address.
- sub
Domain StringName - AD Domain DNS Name.
- trust
Password String - AD Trust Password.
- vpc
Id String - Security Office VPC ID.
- vswitch
Ids List<String> - The vswitch ids.
- bandwidth number
- The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
- cen
Id string - Cloud Enterprise Network Instance Id.
- cidr
Block string - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- create
Time string - Workspace Creation Time.
- custom
Security stringGroup Id - Security Group ID.
- desktop
Access stringType - Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
- desktop
Vpc stringEndpoint - The Desktop Vpc Endpoint.
- dns
Addresses string[] - Enterprise Ad Corresponding DNS Address.
- dns
User stringName - Easy-to-Use DNS Name.
- domain
Name string - Enterprise of Ad Domain Name.
- domain
Password string - Domain of the User Who Will Administer This Target Application Password.
- domain
User stringName - The Domain Administrator's Username.
- enable
Admin booleanAccess - Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
- enable
Cross booleanDesktop Access - Enable Cross-Desktop Access.
- enable
Internet booleanAccess - Whether the Open Internet Access Function.
- file
System string[]Ids - NAS File System ID.
- id string
- The ID of the Simple Office Site.
- mfa
Enabled boolean - Whether to Enable Multi-Factor Authentication MFA.
- network
Package stringId - Internet Access ID.
- office
Site stringId - The Workspace ID.
- office
Site stringType - Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
- simple
Office stringSite Name - The simple office site name.
- sso
Enabled boolean - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- sso
Status boolean - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- status string
- Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
- sub
Dns string[]Addresses - AD Subdomain of the DNS Address.
- sub
Domain stringName - AD Domain DNS Name.
- trust
Password string - AD Trust Password.
- vpc
Id string - Security Office VPC ID.
- vswitch
Ids string[] - The vswitch ids.
- bandwidth int
- The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
- cen_
id str - Cloud Enterprise Network Instance Id.
- cidr_
block str - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- create_
time str - Workspace Creation Time.
- custom_
security_ strgroup_ id - Security Group ID.
- desktop_
access_ strtype - Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
- desktop_
vpc_ strendpoint - The Desktop Vpc Endpoint.
- dns_
addresses Sequence[str] - Enterprise Ad Corresponding DNS Address.
- dns_
user_ strname - Easy-to-Use DNS Name.
- domain_
name str - Enterprise of Ad Domain Name.
- domain_
password str - Domain of the User Who Will Administer This Target Application Password.
- domain_
user_ strname - The Domain Administrator's Username.
- enable_
admin_ boolaccess - Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
- enable_
cross_ booldesktop_ access - Enable Cross-Desktop Access.
- enable_
internet_ boolaccess - Whether the Open Internet Access Function.
- file_
system_ Sequence[str]ids - NAS File System ID.
- id str
- The ID of the Simple Office Site.
- mfa_
enabled bool - Whether to Enable Multi-Factor Authentication MFA.
- network_
package_ strid - Internet Access ID.
- office_
site_ strid - The Workspace ID.
- office_
site_ strtype - Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
- simple_
office_ strsite_ name - The simple office site name.
- sso_
enabled bool - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- sso_
status bool - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- status str
- Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
- sub_
dns_ Sequence[str]addresses - AD Subdomain of the DNS Address.
- sub_
domain_ strname - AD Domain DNS Name.
- trust_
password str - AD Trust Password.
- vpc_
id str - Security Office VPC ID.
- vswitch_
ids Sequence[str] - The vswitch ids.
- bandwidth Number
- The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
- cen
Id String - Cloud Enterprise Network Instance Id.
- cidr
Block String - Workspace Corresponds to the Security Office Network of IPv4 Segment.
- create
Time String - Workspace Creation Time.
- custom
Security StringGroup Id - Security Group ID.
- desktop
Access StringType - Connect to the Cloud Desktop Allows the Use of the Access Mode of. Possible Values: the Internet: Only Allows the Client to Public Cloud Desktop. Virtual Private Cloud (VPC): Only Allows in the Virtual Private Cloud (VPC) in the Client to Connect to the Cloud Desktop. Any: Not by Way of Limitation. Use Client to Connect to the Cloud Desktop When It Is Possible to Choose the Connection.
- desktop
Vpc StringEndpoint - The Desktop Vpc Endpoint.
- dns
Addresses List<String> - Enterprise Ad Corresponding DNS Address.
- dns
User StringName - Easy-to-Use DNS Name.
- domain
Name String - Enterprise of Ad Domain Name.
- domain
Password String - Domain of the User Who Will Administer This Target Application Password.
- domain
User StringName - The Domain Administrator's Username.
- enable
Admin BooleanAccess - Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.
- enable
Cross BooleanDesktop Access - Enable Cross-Desktop Access.
- enable
Internet BooleanAccess - Whether the Open Internet Access Function.
- file
System List<String>Ids - NAS File System ID.
- id String
- The ID of the Simple Office Site.
- mfa
Enabled Boolean - Whether to Enable Multi-Factor Authentication MFA.
- network
Package StringId - Internet Access ID.
- office
Site StringId - The Workspace ID.
- office
Site StringType - Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.
- simple
Office StringSite Name - The simple office site name.
- sso
Enabled Boolean - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- sso
Status Boolean - Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- status String
- Workspace State. Possible Values: Registering: Registered in the Registered: Registered.
- sub
Dns List<String>Addresses - AD Subdomain of the DNS Address.
- sub
Domain StringName - AD Domain DNS Name.
- trust
Password String - AD Trust Password.
- vpc
Id String - Security Office VPC ID.
- vswitch
Ids List<String> - The vswitch ids.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
