All Products
Search
Document Center

Bastionhost:List of operations by function

Last Updated:Apr 22, 2024
This product(Yundun-bastionhost/2019-12-09) OpenAPI adopts RPC Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (11370001915) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Bastion Hosts (available only for bastion hosts that run V3.2.X)

APITitleDescription
DescribeInstanceAttributeDescribeInstanceAttributeQueries the attribute information about the specified bastion host. The information includes the ID and remarks of the bastion host.
DescribeInstancesDescribeInstancesQueries bastion hosts.
ConfigInstanceSecurityGroupsConfigInstanceSecurityGroupsConfigures security groups for a bastion host.
ConfigInstanceWhiteListConfigInstanceWhiteListConfigures a whitelist of public IP addresses for a bastion host.
StartInstanceStartInstanceEnables the specified bastion host.
EnableInstancePublicAccessEnableInstancePublicAccessEnables Internet access for a bastion host.
DisableInstancePublicAccessDisableInstancePublicAccessDisables Internet access for a bastion host.
ModifyInstanceAttributeModifyInstanceAttributeModifies the information about the specified bastion host.
MoveResourceGroupMoveResourceGroupMoves a bastion host from one resource group to another resource group.

Tags (available only for bastion hosts that run V3.2.X)

APITitleDescription
ListTagKeysListTagKeysQueries the tags that are added to a resource.
ListTagResourcesListTagResourcesQueries the tags bound to one or more Bastionhost instances.
UntagResourcesUntagResourcesRemoves tags from the specified bastion host and deletes the tags at a time.
TagResourcesTagResourcesCreates and adds tags to specified bastion hosts.

Regions (available only for bastion hosts that run V3.2.X)

APITitleDescription
DescribeRegionsDescribeRegionsQueries available regions where you can create bastion hosts.

Hosts (available only for bastion hosts that run V3.2.17 and later versions)

APITitleDescription
CreateHostCreateHostCreates a host for O\\\&M in the specified bastion host.
GetHostGetHostQueries the details of a host, such as the name, source, address, protocol, and service port of the host.
ListHostsListHostsQueries the hosts in a bastion host.
DeleteHostDeleteHostDeletes the specified host.
ModifyHostsPortModifyHostsPortChanges the port for the O\\\\\\&M protocol on one or more hosts.
ModifyHostsActiveAddressTypeModifyHostsActiveAddressTypeChanges the portal type of one or more hosts for O\&M.
ModifyHostModifyHostModifies information about a host. The information includes the address, name, and description of the host and the operating system that the host runs.

Host Accounts (available only for bastion hosts that run V3.2.17 and later versions)

APITitleDescription
CreateHostAccountCreateHostAccountCreates a host account for a host.
GetHostAccountGetHostAccountQueries the details of a specified host account.
ListHostAccountsListHostAccountsQueries accounts of a specified host.
ModifyHostAccountModifyHostAccountModifies the information about a specified host account, such as the name, password, and private key.
DeleteHostAccountDeleteHostAccountRemoves a host account.

Users (available only for bastion hosts that run V3.2.17 and later versions)

APITitleDescription
CreateUserCreateUserAdds a user to a bastion host.
GetUserGetUserQueries the details of a user of the specified bastion host.
ListUsersListUsersQueries the users of a specified Bastionhost instance.
ModifyUserModifyUserModifies the information about a user of a bastion host.
DeleteUserDeleteUserDeletes a specified user from a specified bastion host.
CreateUserPublicKeyCreateUserPublicKeyCreates a public key for the specified user.
ListUserPublicKeysListUserPublicKeysQueries all public keys of the specified user.
ModifyUserPublicKeyModifyUserPublicKeyModifies the public key of the user.
DeleteUserPublicKeyDeleteUserPublicKeyDeletes a public key from the specified user.
LockUsersLockUsersLocks one or more users of a bastion host.
UnlockUsersUnlockUsersUnlocks one or more users of a bastion host.

User Groups (available only for bastion hosts that run V3.2.17 and later versions)

APITitleDescription
CreateUserGroupCreateUserGroupCreates a user group for the specified bastion host.
GetUserGroupGetUserGroupQueries the details of a user group in a bastion host.
ListUserGroupsListUserGroupsQueries the user groups on the specified bastion host.
ModifyUserGroupModifyUserGroupModifies the information about the specified user group.
DeleteUserGroupDeleteUserGroupDeletes a specified user group from a specified bastion host.
AddUsersToGroupAddUsersToGroupAdd one or more users to a user group.
RemoveUsersFromGroupRemoveUsersFromGroupRemoves one or more users from a user group.

Host Groups (available only for bastion hosts that run V3.2.17 and later versions)

APITitleDescription
CreateHostGroupCreateHostGroupCreates a host group.
AddHostsToGroupAddHostsToGroupAdds one or more hosts to the specified host group.
DeleteHostGroupDeleteHostGroupDeletes a host group.
RemoveHostsFromGroupRemoveHostsFromGroupRemoves one or more hosts from a host group.
ModifyHostGroupModifyHostGroupModifies the name or description of the specified host group.
GetHostGroupGetHostGroupQueries the details of a specified host group.
ListHostGroupsListHostGroupsQueries host groups in a specified bastion host.

Host Authorization (available only for bastion hosts that run V3.2.17 and later versions)

APITitleDescription
AttachHostAccountsToUserAttachHostAccountsToUserAuthorizes a user to manage the hosts and host accounts.
ListHostsForUserListHostsForUserQueries the hosts that a user group is authorized or not authorized to manage.
ListHostAccountsForUserListHostAccountsForUserQueries the host accounts that the specified user is authorized to manage on the specified host.
DetachHostAccountsFromUserDetachHostAccountsFromUserRevokes the permissions on one or more hosts and host accounts from a user.
DetachHostAccountsFromUserGroupDetachHostAccountsFromUserGroupRevokes the permissions on one or more hosts and host accounts from a user group.
DetachHostGroupAccountsFromUserDetachHostGroupAccountsFromUserRevokes permissions on one or more host groups and host accounts from a user.
AttachHostAccountsToUserGroupAttachHostAccountsToUserGroupAuthorizes a user group to manage one or more hosts and host accounts.
DetachHostGroupAccountsFromUserGroupDetachHostGroupAccountsFromUserGroupRevokes permissions on one or more host groups and host accounts from a user group.
AttachHostGroupAccountsToUserAttachHostGroupAccountsToUserAuthorizes a user to manage one or more host groups and host accounts.
AttachHostGroupAccountsToUserGroupAttachHostGroupAccountsToUserGroupAuthorizes a user to manage one or more host groups and host accounts.
ListHostAccountsForUserGroupListHostAccountsForUserGroupQueries the host accounts of the specified host that the specified user group is authorized to manage.
ListHostGroupAccountNamesForUserListHostGroupAccountNamesForUserQueries the names of the host accounts that a specified user is authorized to manage in a specified host group.
ListHostGroupAccountNamesForUserGroupListHostGroupAccountNamesForUserGroupQueries the names of the host accounts that a user group is authorized to manage in a host group.
ListHostGroupsForUserListHostGroupsForUserQueries the host groups that a specified user is authorized or not authorized to manage.
ListHostGroupsForUserGroupListHostGroupsForUserGroupQueries the hosts that a specified user group is authorized or not authorized to manage.
ListHostsForUserGroupListHostsForUserGroupQueries the hosts that a user group is authorized or not authorized to manage.

APITitleDescription
AcceptOperationTicketAcceptOperationTicketApproves an O\\\\\\&M application.
RejectOperationTicketRejectOperationTicketRejects an O\&M application.

Asset Management (available only for bastion hosts that run V3.2.X)

APITitleDescription
CreateHostShareKeyCreateHostShareKeyCreates a shared key.
GetHostShareKeyGetHostShareKeyQueries the details of a shared key.
ListHostShareKeysListHostShareKeysQueries the shared keys that are associated with a host.
ListHostAccountsForHostShareKeyListHostAccountsForHostShareKeyQueries the host accounts that are associated with a shared key.
ModifyHostShareKeyModifyHostShareKeyModifies the information about a shared key.
AttachHostAccountsToHostShareKeyAttachHostAccountsToHostShareKeyAssociates host accounts with a shared key.
DetachHostAccountsFromHostShareKeyDetachHostAccountsFromHostShareKeyDisassociates host accounts from a shared key.
DeleteHostShareKeyDeleteHostShareKeyDeletes a shared key.

System Settings (available only for bastion hosts that run V3.2.X)

APITitleDescription
GetInstanceADAuthServerGetInstanceADAuthServerQueries the settings of Active Directory (AD) authentication on a bastion host.
ModifyInstanceADAuthServerModifyInstanceADAuthServerModifies the settings of Active Directory (AD) authentication on a bastion host.
GetInstanceTwoFactorGetInstanceTwoFactorQueries the settings of two-factor authentication on a bastion host.
ModifyInstanceTwoFactorModifyInstanceTwoFactorModifies the settings of two-factor authentication on a bastion host.
ModifyInstanceLDAPAuthServerModifyInstanceLDAPAuthServerModifies the settings of Lightweight Directory Access Protocol (LDAP) authentication on a bastion host.
GetInstanceLDAPAuthServerGetInstanceLDAPAuthServerQueries the settings of Lightweight Directory Access Protocol (LDAP) authentication on a bastion host.