SimpleOfficeSiteProps
Properties for defining a SimpleOfficeSite
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecd-simpleofficesite
Initializer
import com.aliyun.ros.cdk.ecd.SimpleOfficeSiteProps;
SimpleOfficeSiteProps.builder()
// .bandwidth(java.lang.Number)
// .bandwidth(IResolvable)
// .cenId(java.lang.String)
// .cenId(IResolvable)
// .cenOwnerId(java.lang.Number)
// .cenOwnerId(IResolvable)
// .cidrBlock(java.lang.String)
// .cidrBlock(IResolvable)
// .cloudBoxOfficeSite(java.lang.Boolean)
// .cloudBoxOfficeSite(IResolvable)
// .desktopAccessType(java.lang.String)
// .desktopAccessType(IResolvable)
// .enableAdminAccess(java.lang.Boolean)
// .enableAdminAccess(IResolvable)
// .enableInternetAccess(java.lang.Boolean)
// .enableInternetAccess(IResolvable)
// .needVerifyZeroDevice(java.lang.Boolean)
// .needVerifyZeroDevice(IResolvable)
// .officeSiteName(java.lang.String)
// .officeSiteName(IResolvable)
// .verifyCode(java.lang.String)
// .verifyCode(IResolvable)
// .vSwitchId(java.lang.String)
// .vSwitchId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
bandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property bandwidth: The maximum public bandwidth. |
cenId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cenId: The ID of the Cloud Enterprise Network (CEN) instance. |
cenOwnerId |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property cenOwnerId: The ID of the Alibaba Cloud account to which the Cloud Enterprise Network (CEN) instance belongs. |
cidrBlock |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cidrBlock: The IPv4 CIDR block in the secure office network of the workspace. |
cloudBoxOfficeSite |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property cloudBoxOfficeSite: Specifies whether the workspace is a CloudBox-based workspace. |
desktopAccessType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property desktopAccessType: The method that is used to connect the client to cloud desktops. |
enableAdminAccess |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property enableAdminAccess: Specifies whether to grant the permissions of the local administrator to the regular user of the cloud desktop. |
enableInternetAccess |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property enableInternetAccess: Specifies whether to enable Internet access. |
needVerifyZeroDevice |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property needVerifyZeroDevice: Specifies whether to enable trusted device verification. |
officeSiteName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property officeSiteName: The name of the workspace. |
verifyCode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property verifyCode: The verification code. |
vSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchId: The IDs of the vSwitches in the VPC. |
bandwidth
Optional
public java.lang.Object getBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property bandwidth: The maximum public bandwidth.
Value range: 10 to 200. Unit: Mbit/s. This parameter is available if you set EnableInternetAccess to true.
cenId
Optional
public java.lang.Object getCenId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
NoteIf you want to connect to your cloud desktops over a VPC, you can attach the network of the workspace to the CEN instance. The CEN instance is connected to the on-premises network over VPN Gateway or Express Connect.
cenOwnerId
Optional
public java.lang.Object getCenOwnerId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cenOwnerId: The ID of the Alibaba Cloud account to which the Cloud Enterprise Network (CEN) instance belongs.
If you do not specify the CenId parameter, or the CEN instance that is specified by the CenId parameter belongs to the current Alibaba Cloud account, skip this parameter. If you specify the CenId parameter and the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, enter the ID of the Alibaba Cloud account.
cidrBlock
Optional
public java.lang.Object getCidrBlock();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cidrBlock: The IPv4 CIDR block in the secure office network of the workspace.
The IPv4 CIDR block that the system uses to create a virtual private cloud (VPC) for the workspace. We recommend that you set the IPv4 CIDR block to 10.0.0.0/12, 172.16.0.0/12, 192.168.0.0/16, or a subnet of these CIDR blocks. If you set the IPv4 CIDR block to 10.0.0.0/12 or 172.16.0.0/12, the mask is 1224 bits in length. If you set the IPv4 CIDR block to 192.168.0.0/16, the mask is 1624 bits in length.
cloudBoxOfficeSite
Optional
public java.lang.Object getCloudBoxOfficeSite();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property cloudBoxOfficeSite: Specifies whether the workspace is a CloudBox-based workspace.
Enumeration Value: true false
desktopAccessType
Optional
public java.lang.Object getDesktopAccessType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property desktopAccessType: The method that is used to connect the client to cloud desktops.
NoteVPC connections are established by using Alibaba Cloud PrivateLink. You can use PrivateLink for free. When you set this parameter to VPC or Any, PrivateLink is automatically activated.
enableAdminAccess
Optional
public java.lang.Object getEnableAdminAccess();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableAdminAccess: Specifies whether to grant the permissions of the local administrator to the regular user of the cloud desktop.
Enumeration Value: true false
enableInternetAccess
Optional
public java.lang.Object getEnableInternetAccess();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableInternetAccess: Specifies whether to enable Internet access.
By default, Internet access is not enabled. Enumeration Value: true false
needVerifyZeroDevice
Optional
public java.lang.Object getNeedVerifyZeroDevice();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property needVerifyZeroDevice: Specifies whether to enable trusted device verification.
Enumeration Value: true false
officeSiteName
Optional
public java.lang.Object getOfficeSiteName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property officeSiteName: 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:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
verifyCode
Optional
public java.lang.Object getVerifyCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property verifyCode: 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.
vSwitchId
Optional
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: The IDs of the vSwitches in the VPC.
This parameter is required when you create a CloudBox-based workspace.