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:
- Cidr
Block 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- Cen
Id string Cloud Enterprise Network Instance ID.
- Cen
Owner stringId The cen owner id.
- Desktop
Access stringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
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 stringName The office site name.
- Sso
Enabled bool Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- Cidr
Block 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- Cen
Id string Cloud Enterprise Network Instance ID.
- Cen
Owner stringId The cen owner id.
- Desktop
Access stringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
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 stringName The office site name.
- Sso
Enabled bool Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- cidr
Block 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen
Id String Cloud Enterprise Network Instance ID.
- cen
Owner StringId The cen owner id.
- desktop
Access StringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
- mfa
Enabled Boolean Whether to Enable Multi-Factor Authentication MFA.
- office
Site StringName The office site name.
- sso
Enabled Boolean Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- cidr
Block 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen
Id string Cloud Enterprise Network Instance ID.
- cen
Owner stringId The cen owner id.
- desktop
Access stringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
- mfa
Enabled boolean Whether to Enable Multi-Factor Authentication MFA.
- office
Site stringName The office site name.
- sso
Enabled 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen_
id str Cloud Enterprise Network Instance ID.
- cen_
owner_ strid The cen owner id.
- desktop_
access_ strtype Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
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_ strname The office site name.
- sso_
enabled bool Whether to Enable Single Sign-on (SSO) for User-Based SSO.
- cidr
Block 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen
Id String Cloud Enterprise Network Instance ID.
- cen
Owner StringId The cen owner id.
- desktop
Access StringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
- mfa
Enabled Boolean Whether to Enable Multi-Factor Authentication MFA.
- office
Site StringName The office site name.
- sso
Enabled 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:
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.
- 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- Cen
Id string Cloud Enterprise Network Instance ID.
- Cen
Owner stringId The cen owner id.
- Cidr
Block string Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Desktop
Access stringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
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 stringName The office site name.
- Sso
Enabled 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- Cen
Id string Cloud Enterprise Network Instance ID.
- Cen
Owner stringId The cen owner id.
- Cidr
Block string Workspace Corresponds to the Security Office Network of IPv4 Segment.
- Desktop
Access stringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
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 stringName The office site name.
- Sso
Enabled 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen
Id String Cloud Enterprise Network Instance ID.
- cen
Owner StringId The cen owner id.
- cidr
Block String Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop
Access StringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
- mfa
Enabled Boolean Whether to Enable Multi-Factor Authentication MFA.
- office
Site StringName The office site name.
- sso
Enabled 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen
Id string Cloud Enterprise Network Instance ID.
- cen
Owner stringId The cen owner id.
- cidr
Block string Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop
Access stringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
- mfa
Enabled boolean Whether to Enable Multi-Factor Authentication MFA.
- office
Site stringName The office site name.
- sso
Enabled 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen_
id str Cloud Enterprise Network Instance ID.
- cen_
owner_ strid The cen owner id.
- cidr_
block str Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop_
access_ strtype Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
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_ strname 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.
Field 'bandwidth' has been deprecated from provider version 1.142.0.
- cen
Id String Cloud Enterprise Network Instance ID.
- cen
Owner StringId The cen owner id.
- cidr
Block String Workspace Corresponds to the Security Office Network of IPv4 Segment.
- desktop
Access StringType Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values:
Any
,Internet
,VPC
.- 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.
Field 'enable_internet_access' has been deprecated from provider version 1.142.0.
- mfa
Enabled Boolean Whether to Enable Multi-Factor Authentication MFA.
- office
Site StringName The office site name.
- sso
Enabled 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.