All Products
Search
Document Center

Simple Application Server:LoginInstance

Last Updated:Apr 17, 2024

Logs on to a simple application server on Workbench.

Operation description

After you create a simple application server, you can log on to the simple application server to build environments and applications on the server.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID of the simple application server. You can call the ListRegions operation to query the most recent region list.

cn-hangzhou
InstanceIdstringYes

The ID of the simple application server.

9ae7106e68eb4402b0dcbd48a9de****
UsernamestringNo

The username of the simple application server.

  • For a Linux server, you do not need to enter a username.
  • For a Windows server, the default username administrator is used.
administrator
PasswordstringNo

The password that corresponds to the username.

  • For a Linux server, you do not need to enter a password.
  • For a Windows server, enter the password that you set. If you have not set a password for the simple application server, set a password. For more information, see Reset the password.
Test****

Response parameters

ParameterTypeDescriptionExample
object

Schema of response.

RequestIdstring

The request ID.

C2DE174B-7196-5778-A00D-6EA2601B****
RedirectUrlstring

The URL that you use to log on to the server.

https://ecs-workbench.aliyun.com/view/instance/single/gbktfz****

Examples

Sample success responses

JSONformat

{
  "RequestId": "C2DE174B-7196-5778-A00D-6EA2601B****",
  "RedirectUrl": "https://ecs-workbench.aliyun.com/view/instance/single/gbktfz****"
}

Error codes

For a list of error codes, visit the Service error codes.