在使用RAM帳號調用Smart Access GatewayAPI前,需要主帳號通過建立授權策略對RAM帳號進行授權。在授權策略中,使用資源描述符(Alibaba Cloud Resource Name, ARN)指定授權資源。
資源類型 | 授權策略中的資源描述方法 |
CreateSmartAccessGateway | acs:smartag:${region-id}:${resource-owner-id}:smartag/* |
UpdateSmartAccessGatewayVersion | acs:smartag:${region-id}:${resource-owner-id}:smartag/${smartag-id} |
DescribeSmartAccessGateways | acs:smartag:${region-id}:${resource-owner-id}:smartag/* |
ModifySmartAccessGateway | acs:smartag:${region-id}:${resource-owner-id}:smartag/${smartag-id} |
GetSmartAccessGatewayUseLimit | acs:smartag:${region-id}:${resource-owner-id}:smartag/* |
GetCloudConnectNetworkUseLimit | acs:smartag:${region-id}:${resource-owner-id}:ccn/* |
CreateCloudConnectNetwork | acs:smartag:${region-id}:${resource-owner-id}:ccn/* |
DeleteCloudConnectNetwork | acs:smartag:${region-id}:${resource-owner-id}:ccn/${ccnid} |
ModifyCloudConnectNetwork | acs:smartag:${region-id}:${resource-owner-id}:ccn/${ccnid} |
DescribeCloudConnectNetworks | acs:smartag:${region-id}:${resource-owner-id}:ccn/* |
BindSmartAccessGateway |
acs:smartag:${region-id}:${resource-owner-id}:ccn/${ccnid} acs:smartag:${region-id}:${resource-owner-id}:smartag/${smartag-id} |
UnbindSmartAccessGateway |
acs:smartag:${region-id}:${resource-owner-id}:ccn/${ccnid} acs:smartag:${region-id}:${resource-owner-id}:smartag/${smartag-id} |
ActivateSmartAccessGateway | acs:smartag:${region-id}:${resource-owner-id}:smartag/${smartag-id} |