Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.26.0 published on Friday, Jul 29, 2022 by Pulumi

getSimpleOfficeSites

This data source provides the Ecd Simple Office Sites of the current Alibaba Cloud user.

NOTE: Available in v1.140.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var @default = Output.Create(AliCloud.Eds.GetSimpleOfficeSites.InvokeAsync(new AliCloud.Eds.GetSimpleOfficeSitesArgs
        {
            Ids = 
            {
                "example_id",
            },
            Status = "REGISTERED",
        }));
        this.DesktopAccessType = @default.Apply(@default => @default.Sites?[0]?.DesktopAccessType);
    }

    [Output("desktopAccessType")]
    public Output<string> DesktopAccessType { get; set; }
}
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
	})
}

Coming soon!

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)
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);

Coming soon!

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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:eds/getSimpleOfficeSites:getSimpleOfficeSites
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Ids List<string>

A list of Simple Office Site IDs.

NameRegex string

A regex string to filter results by Simple Office Site name.

OutputFile string
Status string

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

Ids []string

A list of Simple Office Site IDs.

NameRegex string

A regex string to filter results by Simple Office Site name.

OutputFile string
Status string

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

ids List<String>

A list of Simple Office Site IDs.

nameRegex String

A regex string to filter results by Simple Office Site name.

outputFile String
status String

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

ids string[]

A list of Simple Office Site IDs.

nameRegex string

A regex string to filter results by Simple Office Site name.

outputFile string
status string

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

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
status str

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

ids List<String>

A list of Simple Office Site IDs.

nameRegex String

A regex string to filter results by Simple Office Site name.

outputFile String
status String

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

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.AliCloud.Eds.Outputs.GetSimpleOfficeSitesSite>
NameRegex string
OutputFile string
Status string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Names []string
Sites []GetSimpleOfficeSitesSite
NameRegex string
OutputFile string
Status string
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
sites List<GetSimpleOfficeSitesSite>
nameRegex String
outputFile String
status String
id string

The provider-assigned unique ID for this managed resource.

ids string[]
names string[]
sites GetSimpleOfficeSitesSite[]
nameRegex string
outputFile string
status string
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
names Sequence[str]
sites Sequence[GetSimpleOfficeSitesSite]
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>
nameRegex String
outputFile 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.

Deprecated:

Field 'bandwidth' has been deprecated from provider version 1.142.0.

CenId string

Cloud Enterprise Network Instance Id.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

CreateTime string

Workspace Creation Time.

CustomSecurityGroupId string

Security Group ID.

DesktopAccessType string

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.

DesktopVpcEndpoint string

The Desktop Vpc Endpoint.

DnsAddresses List<string>

Enterprise Ad Corresponding DNS Address.

DnsUserName string

Easy-to-Use DNS Name.

DomainName string

Enterprise of Ad Domain Name.

DomainPassword string

Domain of the User Who Will Administer This Target Application Password.

DomainUserName string

The Domain Administrator's Username.

EnableAdminAccess bool

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

EnableCrossDesktopAccess bool

Enable Cross-Desktop Access.

EnableInternetAccess bool

Whether the Open Internet Access Function.

Deprecated:

Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

FileSystemIds List<string>

NAS File System ID.

Id string

The ID of the Simple Office Site.

MfaEnabled bool

Whether to Enable Multi-Factor Authentication MFA.

NetworkPackageId string

Internet Access ID.

OfficeSiteId string

The Workspace ID.

OfficeSiteType string

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

SimpleOfficeSiteName string

The simple office site name.

SsoEnabled bool

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

SsoStatus bool

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

Status string

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

SubDnsAddresses List<string>

AD Subdomain of the DNS Address.

SubDomainName string

AD Domain DNS Name.

TrustPassword string

AD Trust Password.

VpcId string

Security Office VPC ID.

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

Deprecated:

Field 'bandwidth' has been deprecated from provider version 1.142.0.

CenId string

Cloud Enterprise Network Instance Id.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

CreateTime string

Workspace Creation Time.

CustomSecurityGroupId string

Security Group ID.

DesktopAccessType string

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.

DesktopVpcEndpoint string

The Desktop Vpc Endpoint.

DnsAddresses []string

Enterprise Ad Corresponding DNS Address.

DnsUserName string

Easy-to-Use DNS Name.

DomainName string

Enterprise of Ad Domain Name.

DomainPassword string

Domain of the User Who Will Administer This Target Application Password.

DomainUserName string

The Domain Administrator's Username.

EnableAdminAccess bool

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

EnableCrossDesktopAccess bool

Enable Cross-Desktop Access.

EnableInternetAccess bool

Whether the Open Internet Access Function.

Deprecated:

Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

FileSystemIds []string

NAS File System ID.

Id string

The ID of the Simple Office Site.

MfaEnabled bool

Whether to Enable Multi-Factor Authentication MFA.

NetworkPackageId string

Internet Access ID.

OfficeSiteId string

The Workspace ID.

OfficeSiteType string

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

SimpleOfficeSiteName string

The simple office site name.

SsoEnabled bool

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

SsoStatus bool

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

Status string

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

SubDnsAddresses []string

AD Subdomain of the DNS Address.

SubDomainName string

AD Domain DNS Name.

TrustPassword string

AD Trust Password.

VpcId string

Security Office VPC ID.

VswitchIds []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.

Deprecated:

Field 'bandwidth' has been deprecated from provider version 1.142.0.

cenId String

Cloud Enterprise Network Instance Id.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

createTime String

Workspace Creation Time.

customSecurityGroupId String

Security Group ID.

desktopAccessType String

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.

desktopVpcEndpoint String

The Desktop Vpc Endpoint.

dnsAddresses List<String>

Enterprise Ad Corresponding DNS Address.

dnsUserName String

Easy-to-Use DNS Name.

domainName String

Enterprise of Ad Domain Name.

domainPassword String

Domain of the User Who Will Administer This Target Application Password.

domainUserName String

The Domain Administrator's Username.

enableAdminAccess Boolean

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

enableCrossDesktopAccess Boolean

Enable Cross-Desktop Access.

enableInternetAccess Boolean

Whether the Open Internet Access Function.

Deprecated:

Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

fileSystemIds List<String>

NAS File System ID.

id String

The ID of the Simple Office Site.

mfaEnabled Boolean

Whether to Enable Multi-Factor Authentication MFA.

networkPackageId String

Internet Access ID.

officeSiteId String

The Workspace ID.

officeSiteType String

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

simpleOfficeSiteName String

The simple office site name.

ssoEnabled Boolean

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

ssoStatus Boolean

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

status String

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

subDnsAddresses List<String>

AD Subdomain of the DNS Address.

subDomainName String

AD Domain DNS Name.

trustPassword String

AD Trust Password.

vpcId String

Security Office VPC ID.

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

Deprecated:

Field 'bandwidth' has been deprecated from provider version 1.142.0.

cenId string

Cloud Enterprise Network Instance Id.

cidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

createTime string

Workspace Creation Time.

customSecurityGroupId string

Security Group ID.

desktopAccessType string

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.

desktopVpcEndpoint string

The Desktop Vpc Endpoint.

dnsAddresses string[]

Enterprise Ad Corresponding DNS Address.

dnsUserName string

Easy-to-Use DNS Name.

domainName string

Enterprise of Ad Domain Name.

domainPassword string

Domain of the User Who Will Administer This Target Application Password.

domainUserName string

The Domain Administrator's Username.

enableAdminAccess boolean

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

enableCrossDesktopAccess boolean

Enable Cross-Desktop Access.

enableInternetAccess boolean

Whether the Open Internet Access Function.

Deprecated:

Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

fileSystemIds string[]

NAS File System ID.

id string

The ID of the Simple Office Site.

mfaEnabled boolean

Whether to Enable Multi-Factor Authentication MFA.

networkPackageId string

Internet Access ID.

officeSiteId string

The Workspace ID.

officeSiteType string

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

simpleOfficeSiteName string

The simple office site name.

ssoEnabled boolean

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

ssoStatus boolean

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

status string

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

subDnsAddresses string[]

AD Subdomain of the DNS Address.

subDomainName string

AD Domain DNS Name.

trustPassword string

AD Trust Password.

vpcId string

Security Office VPC ID.

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

Deprecated:

Field 'bandwidth' has been deprecated from provider version 1.142.0.

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_group_id str

Security Group ID.

desktop_access_type str

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_endpoint str

The Desktop Vpc Endpoint.

dns_addresses Sequence[str]

Enterprise Ad Corresponding DNS Address.

dns_user_name str

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_name str

The Domain Administrator's Username.

enable_admin_access bool

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

enable_cross_desktop_access bool

Enable Cross-Desktop Access.

enable_internet_access bool

Whether the Open Internet Access Function.

Deprecated:

Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

file_system_ids Sequence[str]

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_id str

Internet Access ID.

office_site_id str

The Workspace ID.

office_site_type str

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

simple_office_site_name str

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_addresses Sequence[str]

AD Subdomain of the DNS Address.

sub_domain_name str

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.

Deprecated:

Field 'bandwidth' has been deprecated from provider version 1.142.0.

cenId String

Cloud Enterprise Network Instance Id.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

createTime String

Workspace Creation Time.

customSecurityGroupId String

Security Group ID.

desktopAccessType String

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.

desktopVpcEndpoint String

The Desktop Vpc Endpoint.

dnsAddresses List<String>

Enterprise Ad Corresponding DNS Address.

dnsUserName String

Easy-to-Use DNS Name.

domainName String

Enterprise of Ad Domain Name.

domainPassword String

Domain of the User Who Will Administer This Target Application Password.

domainUserName String

The Domain Administrator's Username.

enableAdminAccess Boolean

Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions.

enableCrossDesktopAccess Boolean

Enable Cross-Desktop Access.

enableInternetAccess Boolean

Whether the Open Internet Access Function.

Deprecated:

Field 'enable_internet_access' has been deprecated from provider version 1.142.0.

fileSystemIds List<String>

NAS File System ID.

id String

The ID of the Simple Office Site.

mfaEnabled Boolean

Whether to Enable Multi-Factor Authentication MFA.

networkPackageId String

Internet Access ID.

officeSiteId String

The Workspace ID.

officeSiteType String

Workspace Account System Type. Possible Values: Simple: Convenient Account. AD_CONNECTOR: Enterprise Ad Account.

simpleOfficeSiteName String

The simple office site name.

ssoEnabled Boolean

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

ssoStatus Boolean

Whether to Enable Single Sign-on (SSO) for User-Based SSO.

status String

Workspace State. Possible Values: Registering: Registered in the Registered: Registered.

subDnsAddresses List<String>

AD Subdomain of the DNS Address.

subDomainName String

AD Domain DNS Name.

trustPassword String

AD Trust Password.

vpcId String

Security Office VPC ID.

vswitchIds List<String>

The vswitch ids.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.