alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.eds.SimpleOfficeSite

Provides a ECD Simple Office Site resource.

For information about ECD Simple Office Site and how to use it, see What is Simple Office Site.

NOTE: Available in v1.140.0+.

Example Usage

Basic Usage

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

return await Deployment.RunAsync(() => 
{
    var @default = new AliCloud.Eds.SimpleOfficeSite("default", new()
    {
        Bandwidth = 5,
        CidrBlock = "172.16.0.0/12",
        DesktopAccessType = "Internet",
        OfficeSiteName = "site_name",
    });

});
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 {
		_, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
			Bandwidth:         pulumi.Int(5),
			CidrBlock:         pulumi.String("172.16.0.0/12"),
			DesktopAccessType: pulumi.String("Internet"),
			OfficeSiteName:    pulumi.String("site_name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.SimpleOfficeSite;
import com.pulumi.alicloud.eds.SimpleOfficeSiteArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var default_ = new SimpleOfficeSite("default", SimpleOfficeSiteArgs.builder()        
            .bandwidth(5)
            .cidrBlock("172.16.0.0/12")
            .desktopAccessType("Internet")
            .officeSiteName("site_name")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.eds.SimpleOfficeSite("default",
    bandwidth=5,
    cidr_block="172.16.0.0/12",
    desktop_access_type="Internet",
    office_site_name="site_name")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.eds.SimpleOfficeSite("default", {
    bandwidth: 5,
    cidrBlock: "172.16.0.0/12",
    desktopAccessType: "Internet",
    officeSiteName: "site_name",
});
resources:
  default:
    type: alicloud:eds:SimpleOfficeSite
    properties:
      bandwidth: 5
      cidrBlock: 172.16.0.0/12
      desktopAccessType: Internet
      officeSiteName: site_name

Create SimpleOfficeSite Resource

new SimpleOfficeSite(name: string, args: SimpleOfficeSiteArgs, opts?: CustomResourceOptions);
@overload
def SimpleOfficeSite(resource_name: str,
                     opts: Optional[ResourceOptions] = 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,
                     enable_admin_access: Optional[bool] = None,
                     enable_cross_desktop_access: Optional[bool] = None,
                     enable_internet_access: Optional[bool] = None,
                     mfa_enabled: Optional[bool] = None,
                     office_site_name: Optional[str] = None,
                     sso_enabled: Optional[bool] = None)
@overload
def SimpleOfficeSite(resource_name: str,
                     args: SimpleOfficeSiteArgs,
                     opts: Optional[ResourceOptions] = None)
func NewSimpleOfficeSite(ctx *Context, name string, args SimpleOfficeSiteArgs, opts ...ResourceOption) (*SimpleOfficeSite, error)
public SimpleOfficeSite(string name, SimpleOfficeSiteArgs args, CustomResourceOptions? opts = null)
public SimpleOfficeSite(String name, SimpleOfficeSiteArgs args)
public SimpleOfficeSite(String name, SimpleOfficeSiteArgs args, CustomResourceOptions options)
type: alicloud:eds:SimpleOfficeSite
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

SimpleOfficeSite Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The SimpleOfficeSite resource accepts the following input properties:

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

Bandwidth int

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

CenId string

Cloud Enterprise Network Instance ID.

CenOwnerId string

The cen owner id.

DesktopAccessType string

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

MfaEnabled bool

Whether to Enable Multi-Factor Authentication MFA.

OfficeSiteName string

The office site name.

SsoEnabled bool

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

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

Bandwidth int

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

CenId string

Cloud Enterprise Network Instance ID.

CenOwnerId string

The cen owner id.

DesktopAccessType string

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

MfaEnabled bool

Whether to Enable Multi-Factor Authentication MFA.

OfficeSiteName string

The office site name.

SsoEnabled bool

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

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

bandwidth Integer

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cenId String

Cloud Enterprise Network Instance ID.

cenOwnerId String

The cen owner id.

desktopAccessType String

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfaEnabled Boolean

Whether to Enable Multi-Factor Authentication MFA.

officeSiteName String

The office site name.

ssoEnabled Boolean

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

cidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

bandwidth number

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cenId string

Cloud Enterprise Network Instance ID.

cenOwnerId string

The cen owner id.

desktopAccessType string

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfaEnabled boolean

Whether to Enable Multi-Factor Authentication MFA.

officeSiteName string

The office site name.

ssoEnabled boolean

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

cidr_block str

Workspace Corresponds to the Security Office Network of IPv4 Segment.

bandwidth int

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cen_id str

Cloud Enterprise Network Instance ID.

cen_owner_id str

The cen owner id.

desktop_access_type str

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfa_enabled bool

Whether to Enable Multi-Factor Authentication MFA.

office_site_name str

The office site name.

sso_enabled bool

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

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

bandwidth Number

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cenId String

Cloud Enterprise Network Instance ID.

cenOwnerId String

The cen owner id.

desktopAccessType String

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfaEnabled Boolean

Whether to Enable Multi-Factor Authentication MFA.

officeSiteName String

The office site name.

ssoEnabled Boolean

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

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

Workspace State. Valid Values: REGISTERED,REGISTERING.

Id string

The provider-assigned unique ID for this managed resource.

Status string

Workspace State. Valid Values: REGISTERED,REGISTERING.

id String

The provider-assigned unique ID for this managed resource.

status String

Workspace State. Valid Values: REGISTERED,REGISTERING.

id string

The provider-assigned unique ID for this managed resource.

status string

Workspace State. Valid Values: REGISTERED,REGISTERING.

id str

The provider-assigned unique ID for this managed resource.

status str

Workspace State. Valid Values: REGISTERED,REGISTERING.

id String

The provider-assigned unique ID for this managed resource.

status String

Workspace State. Valid Values: REGISTERED,REGISTERING.

Look up Existing SimpleOfficeSite Resource

Get an existing SimpleOfficeSite 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?: SimpleOfficeSiteState, opts?: CustomResourceOptions): SimpleOfficeSite
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = 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,
        enable_admin_access: Optional[bool] = None,
        enable_cross_desktop_access: Optional[bool] = None,
        enable_internet_access: Optional[bool] = None,
        mfa_enabled: Optional[bool] = None,
        office_site_name: Optional[str] = None,
        sso_enabled: Optional[bool] = None,
        status: Optional[str] = None) -> SimpleOfficeSite
func GetSimpleOfficeSite(ctx *Context, name string, id IDInput, state *SimpleOfficeSiteState, opts ...ResourceOption) (*SimpleOfficeSite, error)
public static SimpleOfficeSite Get(string name, Input<string> id, SimpleOfficeSiteState? state, CustomResourceOptions? opts = null)
public static SimpleOfficeSite get(String name, Output<String> id, SimpleOfficeSiteState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Bandwidth int

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

CenId string

Cloud Enterprise Network Instance ID.

CenOwnerId string

The cen owner id.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

DesktopAccessType string

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

MfaEnabled bool

Whether to Enable Multi-Factor Authentication MFA.

OfficeSiteName string

The office site name.

SsoEnabled bool

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

Status string

Workspace State. Valid Values: REGISTERED,REGISTERING.

Bandwidth int

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

CenId string

Cloud Enterprise Network Instance ID.

CenOwnerId string

The cen owner id.

CidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

DesktopAccessType string

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

MfaEnabled bool

Whether to Enable Multi-Factor Authentication MFA.

OfficeSiteName string

The office site name.

SsoEnabled bool

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

Status string

Workspace State. Valid Values: REGISTERED,REGISTERING.

bandwidth Integer

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cenId String

Cloud Enterprise Network Instance ID.

cenOwnerId String

The cen owner id.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktopAccessType String

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfaEnabled Boolean

Whether to Enable Multi-Factor Authentication MFA.

officeSiteName String

The office site name.

ssoEnabled Boolean

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

status String

Workspace State. Valid Values: REGISTERED,REGISTERING.

bandwidth number

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cenId string

Cloud Enterprise Network Instance ID.

cenOwnerId string

The cen owner id.

cidrBlock string

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktopAccessType string

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfaEnabled boolean

Whether to Enable Multi-Factor Authentication MFA.

officeSiteName string

The office site name.

ssoEnabled boolean

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

status string

Workspace State. Valid Values: REGISTERED,REGISTERING.

bandwidth int

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cen_id str

Cloud Enterprise Network Instance ID.

cen_owner_id str

The cen owner id.

cidr_block str

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktop_access_type str

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfa_enabled bool

Whether to Enable Multi-Factor Authentication MFA.

office_site_name str

The office site name.

sso_enabled bool

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

status str

Workspace State. Valid Values: REGISTERED,REGISTERING.

bandwidth Number

The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.

Deprecated:

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

cenId String

Cloud Enterprise Network Instance ID.

cenOwnerId String

The cen owner id.

cidrBlock String

Workspace Corresponds to the Security Office Network of IPv4 Segment.

desktopAccessType String

Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC.

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.

mfaEnabled Boolean

Whether to Enable Multi-Factor Authentication MFA.

officeSiteName String

The office site name.

ssoEnabled Boolean

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

status String

Workspace State. Valid Values: REGISTERED,REGISTERING.

Import

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

 $ pulumi import alicloud:eds/simpleOfficeSite:SimpleOfficeSite example <id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.