GetPolicyAssetScope_运维安全中心(堡垒机)_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Quotas Info

There is no quotas information in the current API.

Authorization Information

No permission information is available for the cloud service.

Request Parameters

Field NameField Details
InstanceIdstring

The bastion host ID.View Details...

Example:bastionhost-cn-st220aw****Reference Value Source:
    StartInstance
    DescribeInstances
    ConfigInstanceWhiteList
    EnableInstancePublicAccess
    DisableInstancePublicAccess
RegionIdstring

The region ID of the bastion host.View Details...

Example:cn-hangzhouReference Value Source:
    DescribeRegions
PolicyIdstring

The control policy ID.View Details...

Example:7Reference Value Source:
    CreatePolicy

Response Parameters

Field NameField Details
AssetScopeobject

The assets to which the control policy applies.

RequestIdstring

The request ID.

Example:EC9BF0F4-8983-491A-BC8C-1B4DD94976DE

Sample Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
400
InvalidParameter
The argument is invalid.Diagnose
500
InternalError
An unknown error occurred.Diagnose

Change History

No Change History found.

Examples