CreateBrowserInstanceGroup
Creates a cloud browser group billed by monthly active users (MAU).
Operation description
Prerequisites
Prepare an available office network, image, and specifications in the target business region, and ensure that the account has the corresponding browser configurations and resource quotas.
Specify CloudBrowserName and BizRegionId. You must set OsType to Windows.
The authorized users must be created in advance and match the account type. The authorized user groups must belong to the current account and match the account type of the office network.
Users and UserGroupIds cannot be specified at the same time.
MAU billing parameters
Set ChargeType to PostPaid.
You must explicitly set SubPayType to mau. Omitting this parameter does not enable MAU billing.
Set ChargeResourceMode to AppInstance.
You do not need to specify Period, PeriodUnit, AppPackageType, AutoPay, AutoRenew, or NodePool.
Post-call processing
A successful API response does not indicate that the browser resources are ready. After creation, query the status of the browser group and use it only after confirming that it is connectable.
This operation creates a new cloud browser group. You do not need to create a delivery group in advance.
Example descriptions
Field examples are provided only to demonstrate data formats. They do not indicate that the parameter is required or supported in the current invoke scenario, nor do they represent default values or upper limits.
For parameters and sub-fields annotated as "You do not need to specify" or "Not supported" in the metric descriptions, omit them when you invoke this operation, even if example values are listed. Do not include these examples in your request, and do not pass the hyphen (-) character. For parameters that are supported in the current scenario, replace the resource identity with the actual values under the current account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:CreateBrowserInstanceGroup |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CloudBrowserName |
string |
Yes |
The name of the cloud browser group. This parameter cannot be empty. It is used to distinguish different browser groups in business management scenarios. |
Business office browser |
| ChargeType |
string |
No |
The billing method. For MAU scenarios: Set this parameter to PostPaid, which indicates pay-as-you-go. Valid values:
|
PostPaid |
| SubPayType |
string |
No |
The billing sub-type. You must explicitly set this parameter to mau, which indicates billing by monthly active users. Omitting this parameter does not enable MAU billing. Valid values:
|
mau |
| Period |
integer |
No |
The number of billing cycles. You do not need to specify this parameter. |
1 |
| PeriodUnit |
string |
No |
The unit of the billing cycle. You do not need to specify this parameter. |
Week |
| AppPackageType |
string |
No |
The package ID. You do not need to specify this parameter. |
browser.package.5.250.appstreaming.general.basic |
| AutoPay |
boolean |
No |
The automatic payment parameter. You do not need to specify this parameter. |
false |
| AutoRenew |
boolean |
No |
The auto-renewal parameter. You do not need to specify this parameter. |
false |
| PromotionId |
string |
No |
The promotion ID, which is used to specify the promotional offer applied to the order. Applicability and specific discounts are subject to the promotion rules. You do not need to specify this parameter if no promotional offer is applied. |
17440009**** |
| Users |
array<object> |
No |
The list of authorized users. You can specify up to 200 users. The users must be created in advance and match the account type. Limits: This parameter cannot be specified together with a non-empty UserGroupIds parameter. |
|
|
object |
No |
|||
| EndUserId |
string |
No |
Authorized user ID of authorized user to be authorized. |
alice |
| BizRegionId |
string |
Yes |
The ID of the business region. This parameter is required. |
cn-hangzhou |
| Network |
object |
No |
The configurations of the office network and website access restrictions. The selected office network must belong to the current account and reside in the region specified by BizRegionId. |
|
| AccessRestriction |
string |
No |
The website access restriction mode.
Valid values:
|
ALLOW_ALL |
| OfficeSiteId |
string |
No |
The ID of the created office network. The office network must belong to the current account and reside in the target region specified by BizRegionId. You can view the office network ID on the Office Networks page in the Wuying Workspace Enterprise Edition console, or call the DescribeOfficeSites operation of Wuying Workspace Enterprise Edition to query the ID. |
cn-hangzhou+dir-643067**** |
| RestrictedURLs |
array<object> |
No |
The list of websites that are allowed for access. This parameter is used in ALLOW_LIST mode. Limits:
|
|
|
object |
No |
|||
| URL |
string |
No |
The URL of the website that is allowed for access. |
aliyun.com |
| RestrictedURLsFilePath |
string |
No |
The path of the uploaded website whitelist file. This parameter is used in ALLOW_LIST mode. If you need to specify more than 20 URLs, import them from a file. By default, you can configure up to 1,000 URLs. This parameter cannot be specified together with RestrictedURLs. |
cn-hangzhou/aig_upm/xxx/temp/BrowserRestrictionUrls/URL_whitelist_template.csv |
| VSwitchIds |
array |
No |
The list of vSwitch IDs. Conditions: This parameter is required only when you use a custom office network. Do not specify this parameter for other types of office networks. Select vSwitches that match the target business region and the custom office network. |
|
|
string |
No |
The ID of the vSwitch used by the custom office network. |
vsw-bp1et6n3163lhr2k**** |
|
| Policy |
object |
No |
Configures policies for the clipboard, video, watermark, session, and client access. |
|
| AppContentProtection |
string |
No |
The screen capture prevention switch.
Valid values:
|
on |
| AuthorizeAccessPolicyRules |
array<object> |
No |
The client access IP address whitelist, which is used to restrict the source IP addresses of clients that can access the cloud browser. |
|
|
object |
No |
|||
| CidrIp |
string |
No |
The source CIDR block of the client that is allowed to access the cloud browser. Use the CIDR format. |
192.168.1.0/24 |
| Description |
string |
No |
The description of the client access IP address whitelist rule. |
Office network access |
| ClientTypes |
array<object> |
No |
The client access control list. |
|
|
object |
No |
|||
| ClientType |
string |
No |
The type of the client for which you want to configure an access policy.
Valid values:
|
windows |
| Status |
string |
No |
The access policy switch for the client type.
Valid values:
|
on |
| ClipboardPolicy |
object |
No |
Configures the clipboard transfer direction, content types, and size limits. The |
|
| Clipboard |
string |
No |
The clipboard transfer direction. The value is not case-sensitive. Valid values:
Valid values:
|
readwrite |
| ClipboardReadLimit |
integer |
No |
The clipboard size limit for inbound transfer from the local PC to the cloud browser. Value limits: The value ranges from 1 to 102400. The unit is specified by ClipboardSizeUnit. The value range does not change with unit conversion. |
1024 |
| ClipboardScope |
string |
No |
The clipboard control granularity. Valid values:
Valid values:
|
grained |
| ClipboardSizeUnit |
string |
No |
The clipboard size unit. Valid values:
Valid values:
|
KB |
| ClipboardWriteLimit |
integer |
No |
The clipboard size limit for outbound transfer from the cloud browser to the local PC. Value limits: The value ranges from 1 to 102400. The unit is specified by ClipboardSizeUnit. The value range does not change with unit conversion. |
1024 |
| FileClipboard |
string |
No |
The clipboard transfer direction. The value is not case-sensitive. Valid values:
Valid values:
|
off |
| RichTextClipboard |
string |
No |
The clipboard transfer direction. The value is not case-sensitive. Valid values:
Valid values:
|
off |
| RichTextClipboardLimit |
integer |
No |
The clipboard size limit for rich text. Value limits: The value ranges from 1 to 204800. The unit is specified by RichTextClipboardSizeUnit. The value range does not change with unit conversion. |
1024 |
| RichTextClipboardReadLimit |
integer |
No |
The clipboard size limit for inbound rich text transfer from the local PC to the cloud browser. Value limits: The value ranges from 1 to 204800. The unit is specified by RichTextClipboardReadSizeUnit. The value range does not change with unit conversion. |
1 |
| RichTextClipboardReadSizeUnit |
string |
No |
The clipboard size unit. Valid values:
Default value: Valid values:
|
KB |
| RichTextClipboardSizeUnit |
string |
No |
The clipboard size unit. Valid values:
Valid values:
|
KB |
| RichTextClipboardWriteLimit |
integer |
No |
The clipboard size limit for outbound rich text transfer from the cloud browser to the local PC. Value limits: The value ranges from 1 to 204800. The unit is specified by RichTextClipboardWriteSizeUnit. The value range does not change with unit conversion. |
1 |
| RichTextClipboardWriteSizeUnit |
string |
No |
The clipboard size unit. Valid values:
Default value: Valid values:
|
KB |
| TextClipboard |
string |
No |
The clipboard transfer direction. The value is not case-sensitive. Valid values:
Valid values:
|
readwrite |
| TextClipboardReadLimit |
integer |
No |
The clipboard size limit for inbound text transfer from the local PC to the cloud browser. Value limits: The value ranges from 1 to 102400. The unit is specified by TextClipboardReadSizeUnit. The value range does not change with unit conversion. |
1 |
| TextClipboardReadSizeUnit |
string |
No |
The clipboard size unit. Valid values:
Default value: Valid values:
|
KB |
| TextClipboardWriteLimit |
integer |
No |
The clipboard size limit for outbound text transfer from the cloud browser to the local PC. Value limits: The value ranges from 1 to 102400. The unit is specified by TextClipboardWriteSizeUnit. The value range does not change with unit conversion. |
1 |
| TextClipboardWriteSizeUnit |
string |
No |
The clipboard size unit. Valid values:
Default value: Valid values:
|
KB |
| DisconnectKeepSession |
string |
No |
The data retention policy for sessions after disconnection. Valid values:
Note: The Valid values:
|
customTime |
| DisconnectKeepSessionTime |
integer |
No |
Not supported. You do not need to specify this parameter. |
15 |
| FileManager |
string |
No |
The file manager toggle on the floating button. Valid values:
Default value: Valid values:
|
off |
| Html5FileTransfer |
string |
No |
The file transfer policy for the web client. Valid values:
Configure this parameter in conjunction with the clipboard policy. Valid values:
|
full |
| MultiScreen |
string |
No |
The dual-screen toggle for the cloud browser. Valid values:
Valid values:
|
off |
| NoOperationDisconnect |
string |
No |
The automatic disconnection toggle for idle sessions. The value is not case-sensitive. Valid values:
When enabled, use Valid values:
|
on |
| NoOperationDisconnectTime |
integer |
No |
The idle timeout in seconds before the session is disconnected. Prerequisites: When |
300 |
| PolicyVersion |
string |
No |
The policy version. The value is not case-sensitive. Valid values:
Default value: Valid values:
|
CENTER |
| VideoPolicy |
object |
No |
The video display policy for browser sessions. |
|
| FrameRate |
integer |
No |
The frame rate for browser sessions. |
60 |
| WatermarkPolicy |
object |
No |
The watermark display configuration for browser sessions. |
|
| WatermarkSwitch |
string |
No |
Specifies whether to enable the watermark. The value is case-insensitive. Valid values:
When the watermark is disabled, the list of watermark content types is not used. Valid values:
|
ON |
| WatermarkTypes |
array |
No |
The list of watermark content types. Valid values:
Use the watermark types supported by the browser and the client. |
|
|
string |
No |
The watermark content type. Valid values:
|
EndUserId |
|
| Timers |
array<object> |
No |
Not supported. You do not need to specify this parameter. |
- |
|
object |
No |
|||
| Interval |
integer |
No |
Not supported. You do not need to specify this parameter. |
15 |
| TimerType |
string |
No |
Not supported. You do not need to specify this parameter. Valid values:
|
SESSION_TIMEOUT |
| BrowserConfig |
object |
No |
The browser configuration. |
|
| Bookmarks |
array<object> |
No |
The list of browser bookmarks. Limits: This parameter cannot be specified together with a non-empty |
|
|
object |
No |
|||
| BookmarkFolder |
string |
No |
The folder where the bookmark is located. The length cannot exceed 64 characters after leading and trailing spaces are removed. |
Work portal |
| BookmarkName |
string |
Yes |
The name of the bookmark. This parameter is required and cannot be empty when you create a bookmark. The length cannot exceed 64 characters after leading and trailing spaces are removed. |
Alibaba Cloud website |
| BookmarkURL |
string |
Yes |
The URL of the bookmark. This parameter is required when you create a bookmark. The length cannot exceed 1,024 characters after leading and trailing spaces are removed. |
https://www.aliyun.com |
| BookmarksFilePath |
string |
No |
The path of the uploaded bookmark file. This parameter cannot be specified together with a non-empty File format: A CSV file without a header. Specify the following four columns in order:
Limits:
|
cn-hangzhou/aig_upm/xxx/temp/BrowserBookmarks/BrowserBookmarksTemplate.csv |
| BrowserParam |
string |
No |
The browser startup parameters. For example, |
--incognito |
| CookiesSync |
boolean |
No |
Specifies whether to synchronize cookies. |
false |
| Homepage |
string |
No |
The homepage URL that opens when the browser starts. The URL must conform to the URI syntax. |
https://www.aliyun.com |
| OsType |
string |
No |
The operating system type. This parameter is required. Only Valid values:
|
Windows |
| SecurityPolicy |
object |
No |
The connection security policy for the browser group. |
|
| SkipUserAuthCheck |
boolean |
No |
Specifies whether to skip the user authorization check when connecting to the application. Valid values:
If you configure Note: This field cannot be used to skip OpenAPI authentication and RAM permission verification. |
false |
| Tag |
array<object> |
No |
Not supported. You do not need to specify this parameter. |
- |
|
object |
No |
|||
| Key |
string |
No |
Not supported. You do not need to specify this parameter. |
environment |
| Value |
string |
No |
Not supported. You do not need to specify this parameter. |
production |
| UserInfo |
object |
No |
The authorized user account information. The information must match the user and office network types. |
|
| Type |
string |
No |
The account type of the authorized user. Valid values:
The account type must match the user and office network account types. Valid values:
|
simple |
| NodePool |
object |
No |
The node pool configuration. You do not need to specify this parameter. |
- |
| NodeAmount |
integer |
No |
The number of nodes. You do not need to specify this parameter. |
1 |
| NodeInstanceType |
string |
No |
The identity of the node specifications. You do not need to specify this parameter. |
appstreaming.general.4c8g |
| StrategyType |
string |
No |
The node scaling policy. You do not need to specify this parameter. |
NODE_FIXED |
| ChargeResourceMode |
string |
No |
The resource billing method. For MAU scenarios: Set this parameter to Valid values:
|
AppInstance |
| UserGroupIds |
array |
No |
The list of authorized user group IDs. You can specify up to 10 user group IDs. The user groups must belong to the current account and match the office network account type. Limits: This parameter cannot be specified together with a non-empty |
|
|
string |
No |
The ID of a user group that belongs to the current account and matches the office network account type. |
ug-1 |
|
| InstanceType |
string |
No |
The instance type ID. Select an instance type that matches the target region, operating system, and inventory conditions. If you omit this parameter, the default instance type is used. |
appstreaming.general.basic |
| ImageId |
string |
No |
The image ID used by the cloud browser. The image must be compatible with the operating system. If you omit this parameter, the default image available for the account is used. If no default image is available, the creation may fail. Usage conditions: When |
img-bp13mu**** |
| StoragePolicy |
object |
No |
The user data storage configuration for the browser group. |
|
| UserProfile |
object |
No |
The user data roaming configuration, which is used to retain user configuration data. |
|
| UserProfileSize |
integer |
No |
The size of the user data roaming disk. Unit: GB. |
30 |
| UserProfileSwitch |
boolean |
No |
Specifies whether to enable user data roaming. Valid values:
In Windows scenarios, if you explicitly specify this parameter, the specified value is used. If you omit this parameter, the user roaming configuration of the current account is used. |
true |
| MaxAmount |
integer |
No |
The capacity configuration for MAU billing scenarios. |
5 |
| AuthNotificationEnabled |
boolean |
No |
Specifies whether to send notification emails for authorization and deauthorization. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request ID and result of creating a cloud browser group. |
||
| BrowserInstanceGroupModel |
object |
The creation result of the cloud browser group, including the resource ID and order ID. |
|
| BrowserInstanceGroupId |
string |
The ID of the newly created cloud browser group. The return of this ID does not indicate that the resource is ready. |
big-0bz55ixxxxx9xi9w9 |
| OrderId |
string |
The ID of the order generated for this creation. |
12345**** |
| RequestId |
string |
The unique ID of the request, which can be used for troubleshooting. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"BrowserInstanceGroupModel": {
"BrowserInstanceGroupId": "big-0bz55ixxxxx9xi9w9",
"OrderId": "12345****"
},
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServiceUnavailable | Service unavailable. Please try again later. | Service unavailable. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.