授权信息

访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用RAM可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM中使用权限策略描述授权的具体内容。
本文为您介绍智能接入网关(Smartag)为RAM权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。智能接入网关(Smartag)的RAM代码(RamCode)为smartag,支持的授权粒度为RESOURCE

权限策略通用结构

权限策略支持JSON格式,其通用结构如下:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}
各字段含义如下:
  • Effect:权限策略效果。取值:Allow(允许)、Deny(拒绝)。
  • Action:授予允许或拒绝权限的具体操作。具体信息,请参见操作(Action)
  • Resource:受操作影响的具体对象,您可以使用资源ARN来描述指定资源。具体信息,请参见资源(Resource)
  • Condition:指授权生效的条件。可选字段。具体信息,请参见条件(Condition)
    • Condition_operator:条件运算符,不同类型的条件对应不同的条件运算符。具体信息,请参见权限策略基本元素
    • Condition_key:条件关键字。
    • Condition_value:条件关键字对应的值。

操作(Action)

下表是智能接入网关(Smartag)定义的操作,这些操作可以在RAM权限策略语句的Action元素中使用,用来授予执行该操作的权限。下面对表中的具体项提供说明:
  • 操作:是指具体的权限点。
  • API:是指操作对应的API接口。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。该列不体现适用于任何操作的通用条件关键字
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作API访问级别资源类型条件关键字关联操作
smartag:UpdateSmartAccessGatewayBgpRouteUpdateSmartAccessGatewayBgpRouteWrite
全部资源
*
smartag:DisableSmartAccessGatewayUserDisableSmartAccessGatewayUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeGrantSagRulesDescribeGrantSagRulesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:MoveResourceGroupMoveResourceGroupWrite
全部资源
*
smartag:GetSmartAccessGatewayUseLimitGetSmartAccessGatewayUseLimitget
全部资源
*
smartag:DeleteFlowLogDeleteFlowLogdelete
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
smartag:DescribeSagCurrentDnsDescribeSagCurrentDnsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSmartAccessGatewaysDescribeSmartAccessGatewaysget
全部资源
*
smartag:DescribeSagDropTopNDescribeSagDropTopNget
全部资源
*
smartag:AddSnatEntryAddSnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagHaModifySagHaupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:RevokeSagInstanceFromCcnRevokeSagInstanceFromCcnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:GrantInstanceToCbnGrantInstanceToCbnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
smartag:DeleteSagExpressConnectInterfaceDeleteSagExpressConnectInterfacedelete
全部资源
*
smartag:DescribeSagRouteProtocolBgpDescribeSagRouteProtocolBgpget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSmartAccessGatewayClientUsersDescribeSmartAccessGatewayClientUsersget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:CreateEnterpriseCodeCreateEnterpriseCodecreate
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/*
smartag:DescribeSagPortListDescribeSagPortListlist
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifyQosModifyQosupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:RevokeInstanceFromVbrRevokeInstanceFromVbrWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:GetCloudConnectNetworkUseLimitGetCloudConnectNetworkUseLimitget
全部资源
*
smartag:DescribeSagManagementPortDescribeSagManagementPortget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSnatEntriesDescribeSnatEntriesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagRouteProtocolOspfDescribeSagRouteProtocolOspfget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagUserDnsModifySagUserDnsWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagRouteListDescribeSagRouteListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSmartAccessGatewayHaDescribeSmartAccessGatewayHaget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagLanListDescribeSagLanListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:AddSmartAccessGatewayDnsForwardAddSmartAccessGatewayDnsForwardWrite
全部资源
*
smartag:DescribeSagWanListDescribeSagWanListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:RevokeInstanceFromCbnRevokeInstanceFromCbnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
smartag:DescribeSagVbrRelationsDescribeSagVbrRelationsget
全部资源
*
smartag:ModifySagWanModifySagWanupdate
全部资源
*
smartag:DeleteEnterpriseCodeDeleteEnterpriseCodedelete
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/{#EnterpriseCode}
smartag:DescribeSmartAccessGatewayVersionsDescribeSmartAccessGatewayVersionsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeBindableSmartAccessGatewaysDescribeBindableSmartAccessGatewaysget
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteRouteDistributionStrategyDeleteRouteDistributionStrategydelete
全部资源
*
smartag:DeleteSmartAccessGatewayClientUserDeleteSmartAccessGatewayClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpgradeSmartAccessGatewaySoftwareUpgradeSmartAccessGatewaySoftwareWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteCloudConnectNetworkDeleteCloudConnectNetworkdelete
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
smartag:ModifySagLanModifySagLanWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifyACLModifyACLupdate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:DescribeDeviceAutoUpgradePolicyDescribeDeviceAutoUpgradePolicyget
全部资源
*
smartag:DescribeGrantSagVbrRulesDescribeGrantSagVbrRulesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeGrantRulesDescribeGrantRulesget
全部资源
*
smartag:KickOutClientsKickOutClientsWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpdateSmartAGEnterpriseCodeUpdateSmartAGEnterpriseCodeupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSAGDeviceInfoDescribeSAGDeviceInfoget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:CreateQosCreateQoscreate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/*
smartag:CreateSagExpressConnectInterfaceCreateSagExpressConnectInterfacecreate
全部资源
*
smartag:ModifySAGAdminPasswordModifySAGAdminPasswordWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeHealthChecksDescribeHealthChecksget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ActivateSmartAccessGatewayActivateSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagPortRouteProtocolModifySagPortRouteProtocolWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteQosCarDeleteQosCardelete
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:BindSerialNumberBindSerialNumberupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySmartAccessGatewayClientUserModifySmartAccessGatewayClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeQosPoliciesDescribeQosPoliciesget
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:EnableSmartAGDpiMonitorEnableSmartAGDpiMonitorupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpdateSmartAccessGatewayWanSnatUpdateSmartAccessGatewayWanSnatWrite
全部资源
*
smartag:DeleteSnatEntryDeleteSnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpdateProbeTaskUpdateProbeTaskWrite
全部资源
*
smartag:UnbindSerialNumberUnbindSerialNumberWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeHealthCheckAttributeDescribeHealthCheckAttributeget
全部资源
*
smartag:DissociateSmartAGFromApplicationBandwidthPackageDissociateSmartAGFromApplicationBandwidthPackageWrite
全部资源
*
smartag:DeleteProbeTaskDeleteProbeTaskWrite
ProbeTask
acs:smartag:{#regionId}:{#accountId}:probetask/{#ProbeTaskId}
smartag:UpdateEnterpriseCodeUpdateEnterpriseCodeupdate
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/{#EnterpriseCode}
smartag:UnbindSmartAccessGatewayUnbindSmartAccessGatewayWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:CreateFlowLogCreateFlowLogcreate
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/*
smartag:ModifyDeviceAutoUpgradePolicyModifyDeviceAutoUpgradePolicyupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ListAccessPointNetworkQualitiesListAccessPointNetworkQualitieslist
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifyCloudConnectNetworkModifyCloudConnectNetworkupdate
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
smartag:DisassociateFlowLogDisassociateFlowLogWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ViewSmartAccessGatewayDnsForwardsViewSmartAccessGatewayDnsForwardsget
全部资源
*
smartag:ModifyFlowLogAttributeModifyFlowLogAttributeupdate
全部资源
*
smartag:ModifyHealthCheckModifyHealthCheckupdate
全部资源
*
smartag:DisassociateQosDisassociateQosupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ViewSmartAccessGatewayPortRouteProtocolViewSmartAccessGatewayPortRouteProtocolget
全部资源
*
smartag:RoamClientUserRoamClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DowngradeSmartAccessGatewayDowngradeSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:AssociateSmartAGWithApplicationBandwidthPackageAssociateSmartAGWithApplicationBandwidthPackageWrite
全部资源
*
smartag:GetAclAttributeGetAclAttributeget
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:EnableSmartAccessGatewayUserEnableSmartAccessGatewayUserupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeUserOnlineClientStatisticsDescribeUserOnlineClientStatisticsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeUnbindFlowLogSagsDescribeUnbindFlowLogSagsget
全部资源
*
smartag:DescribeRouteDistributionStrategiesDescribeRouteDistributionStrategiesget
全部资源
*
smartag:BindVbrBindVbrWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagGlobalRouteProtocolDescribeSagGlobalRouteProtocolget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:CreateACLCreateACLcreate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/*
smartag:DescribeSagWanSnatDescribeSagWanSnatget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ListAvailableServiceAddressListAvailableServiceAddresslist
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
smartag:ViewSmartAccessGatewayBgpRouteViewSmartAccessGatewayBgpRouteget
全部资源
*
smartag:ModifySmartAccessGatewayUpBandwidthModifySmartAccessGatewayUpBandwidthupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteSmartAccessGatewayDnsForwardDeleteSmartAccessGatewayDnsForwardWrite
全部资源
*
smartag:DescribeUserFlowStatisticsDescribeUserFlowStatisticsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ViewSmartAccessGatewayOspfRouteViewSmartAccessGatewayOspfRouteget
全部资源
*
smartag:DescribeQosesDescribeQosesget
全部资源
*
smartag:ListEnterpriseCodeListEnterpriseCodelist
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/*
smartag:ViewSmartAccessGatewayWanSnatViewSmartAccessGatewayWanSnatget
全部资源
*
smartag:UpdateSmartAccessGatewayGlobalRouteProtocolUpdateSmartAccessGatewayGlobalRouteProtocolWrite
全部资源
*
smartag:DescribeUserOnlineClientsDescribeUserOnlineClientsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagWifiModifySagWifiWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DisassociateACLDisassociateACLdelete
全部资源
*
smartag:UpdateSmartAccessGatewayOspfRouteUpdateSmartAccessGatewayOspfRouteWrite
全部资源
*
smartag:DeleteDnatEntryDeleteDnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteQosPolicyDeleteQosPolicydelete
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:ModifySagWanSnatModifySagWanSnatWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeACLAttributeDescribeACLAttributeget
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:ListSmartAGByAccessPointListSmartAGByAccessPointget
全部资源
*
smartag:CreateServiceAddressCreateServiceAddressWrite
全部资源
*
smartag:DeleteACLDeleteACLdelete
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:ResetSmartAccessGatewayClientUserPasswordResetSmartAccessGatewayClientUserPasswordWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeCloudConnectNetworksDescribeCloudConnectNetworksget
全部资源
*
smartag:DisableSmartAGDpiMonitorDisableSmartAGDpiMonitorupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagRouteProtocolBgpModifySagRouteProtocolBgpupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpdateSmartAGUserAccelerateConfigUpdateSmartAGUserAccelerateConfigWrite
全部资源
*
smartag:DeleteACLRuleDeleteACLRuledelete
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:CreateSmartAccessGatewayCreateSmartAccessGatewaycreate
全部资源
*
smartag:UpdateSmartAccessGatewayVersionUpdateSmartAccessGatewayVersionupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpdateSmartAccessGatewayDnsForwardUpdateSmartAccessGatewayDnsForwardWrite
全部资源
*
smartag:CreateProbeTaskCreateProbeTaskWrite
ProbeTask
acs:smartag:{#regionId}:{#accountId}:probetask/*
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
smartag:AssociateACLAssociateACLcreate
全部资源
*
smartag:UpdateSmartAccessGatewayDnsUpdateSmartAccessGatewayDnsWrite
全部资源
*
smartag:DescribeDnatEntriesDescribeDnatEntriesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ActiveFlowLogActiveFlowLogWrite
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#flowlogId}
smartag:CreateSmartAccessGatewayClientUserCreateSmartAccessGatewayClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteQosDeleteQosdelete
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:DescribeFlowLogSagsDescribeFlowLogSagsget
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
smartag:UpdateSmartAccessGatewayAdminPasswordUpdateSmartAccessGatewayAdminPasswordWrite
全部资源
*
smartag:CreateSagStaticRouteCreateSagStaticRoutecreate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSmartAccessGatewayAttributeDescribeSmartAccessGatewayAttributeget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:AssociateQosAssociateQosupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DiagnoseSmartAccessGatewayDiagnoseSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ViewSmartAccessGatewayGlobalRouteProtocolViewSmartAccessGatewayGlobalRouteProtocolget
全部资源
*
smartag:CreateSmartAccessGatewaySoftwareCreateSmartAccessGatewaySoftwarecreate
全部资源
*
smartag:ListAccessPointsListAccessPointsget
全部资源
*
smartag:ModifySagPortRoleModifySagPortRoleWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ProbeAccessPointNetworkQualityProbeAccessPointNetworkQualityWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:GetSmartAGDpiAttributeGetSmartAGDpiAttributeget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagOnlineClientStatisticsDescribeSagOnlineClientStatisticsget
全部资源
*
smartag:RebootSmartAccessGatewayRebootSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifyClientUserDNSModifyClientUserDNSupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteSagStaticRouteDeleteSagStaticRoutedelete
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagTrafficTopNDescribeSagTrafficTopNget
全部资源
*
smartag:DowngradeSmartAccessGatewaySoftwareDowngradeSmartAccessGatewaySoftwareWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagWifiDescribeSagWifiget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagManagementPortModifySagManagementPortWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:CreateQosPolicyCreateQosPolicycreate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:GetQosAttributeGetQosAttributeget
全部资源
*
smartag:UpdateSmartAGDpiAttributeUpdateSmartAGDpiAttributeupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DiscribeSmartAccessGatewayDiagnosisReportDiscribeSmartAccessGatewayDiagnosisReportget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpdateSmartAGAccessPointUpdateSmartAGAccessPointupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifyQosCarModifyQosCarupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:ViewSmartAccessGatewayRoutesViewSmartAccessGatewayRoutesget
全部资源
*
smartag:DeleteServiceAddressDeleteServiceAddressWrite
全部资源
*
smartag:ModifyACLRuleModifyACLRuleupdate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:ModifyQosPolicyModifyQosPolicyupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:BindSmartAccessGatewayBindSmartAccessGatewayWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
smartag:ListProbeTaskListProbeTasklist
全部资源
*
smartag:DescribeSagUserDnsDescribeSagUserDnsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagExpressConnectInterfaceModifySagExpressConnectInterfaceupdate
全部资源
*
smartag:ClearSagRouteableAddressClearSagRouteableAddressdelete
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeQosCarsDescribeQosCarsget
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:CreateQosCarCreateQosCarcreate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
smartag:AssociateFlowLogAssociateFlowLogWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
smartag:ModifyRouteDistributionStrategyModifyRouteDistributionStrategyupdate
全部资源
*
smartag:DescribeSagWan4GDescribeSagWan4Gget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagRemoteAccessModifySagRemoteAccessupdate
全部资源
*
smartag:DescribeSagPortRouteProtocolListDescribeSagPortRouteProtocolListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagStaticRouteModifySagStaticRouteupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:SetAdvancedMonitorStateSetAdvancedMonitorStateWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
smartag:DescribeSagHaDescribeSagHaget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:AddDnatEntryAddDnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UnbindVbrUnbindVbrWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:SynchronizeSmartAGWebConfigSynchronizeSmartAGWebConfigWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeSagStaticRouteListDescribeSagStaticRouteListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeClientUserDNSDescribeClientUserDNSget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:CreateCloudConnectNetworkCreateCloudConnectNetworkcreate
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/*
smartag:GetAdvancedMonitorStateGetAdvancedMonitorStateget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
smartag:ModifySagRouteProtocolOspfModifySagRouteProtocolOspfupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UpgradeSmartAccessGatewayUpgradeSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteSmartAccessGatewayDeleteSmartAccessGatewaydelete
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySmartAccessGatewayModifySmartAccessGatewayupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DescribeACLsDescribeACLsget
全部资源
*
smartag:DescribeFlowLogsDescribeFlowLogsget
全部资源
*
smartag:AddACLRuleAddACLRulecreate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
smartag:UpdateSmartAccessGatewayPortRouteProtocolUpdateSmartAccessGatewayPortRouteProtocolWrite
全部资源
*
smartag:DescribeSagExpressConnectInterfaceListDescribeSagExpressConnectInterfaceListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:GrantSagInstanceToCcnGrantSagInstanceToCcnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:GrantSagInstanceToVbrGrantSagInstanceToVbrWrite
全部资源
*
smartag:ListDpiConfigErrorListDpiConfigErrorget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ListSmartAGApiUnsupportedFeatureListSmartAGApiUnsupportedFeatureget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ViewSmartAccessGatewayDnsViewSmartAccessGatewayDnsget
全部资源
*
smartag:DeactiveFlowLogDeactiveFlowLogWrite
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#flowlogId}
smartag:DescribeSagRemoteAccessDescribeSagRemoteAccessget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:DeleteHealthCheckDeleteHealthCheckdelete
全部资源
*
smartag:CreateHealthCheckCreateHealthCheckcreate
全部资源
*
smartag:ClearSagCipherClearSagCipherWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:UnlockSmartAccessGatewayUnlockSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
smartag:ModifySagGlobalRouteProtocolModifySagGlobalRouteProtocolWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}

资源(Resource)

下表是智能接入网关(Smartag)定义的资源,这些资源可以在RAM权限策略语句的Resource元素中使用,用来授予对该资源执行具体操作的权限。 其中,资源ARN是资源在阿里云上的唯一标识。具体说明如下:
  • {#}为变量标识,需要您替换为实际值。例如:{#ramcode}需要您替换为实际的云服务RAM代码。
  • *表示全部。例如:
    • {#resourceType}*时:表示全部资源。
    • {#regionId}*时:表示全部地域。
    • {#accountId}*时:表示全部阿里云账号。
资源类型资源ARN
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartaccessgateway/{#SmartAgId}
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
IntelligentRoutingacs:smartag:{#regionId}:{#accountId}:intelligentrouting/{#intelligentroutingId}
CloudConnectNetworkacs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartag/*
FlowLogacs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
Aclacs:smartag:{#regionId}:{#accountId}:acl/*
Aclacs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
CloudConnectNetworkacs:smartag:{#regionId}:{#accountId}:ccn/*
CloudConnectNetworkacs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
FlowLogacs:smartag:{#regionId}:{#accountId}:flowlog/*
Qosacs:smartag:{#regionId}:{#accountId}:qos/*
Qosacs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
SmartAccessGatewayacs:smartag:*:{#accountId}:smartag/*
IntelligentRoutingacs:smartag:{#regionId}:{#accountId}:intelligentrouting/*
EnterpriseCodeacs:smartag:{#regionId}:{#accountId}:enterprisecode/*
ApplicationBandwidthPackageacs:smartag:{#regionId}:{#accountId}:abwp/{#ApplicationBandwidthPackageId}
IntelligentRoutingacs:smartag:{#regionId}:{#accountId}:intelligentrouting/{#IntelligentRoutingId}
EnterpriseCodeacs:smartag:{#regionId}:{#accountId}:enterprisecode/{#EnterpriseCode}
CloudConnectNetworkacs:smartag:{#regionId}:{#accountId}:ccn/{#AssociatedCcnId}
SagExpressConnectInterfaceacs:smartag:{#regionId}:{#accountId}:sagexpressconnectinterface/*
ProbeTaskacs:smartag:{#regionId}:{#accountId}:probetask/{#ProbeTaskId}
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
SmartAGSmartagacs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
Qosacs:smartag:*:{#accountId}:qos/*
ApplicationBandwidthPackageacs:smartag:{#regionId}:{#accountId}:abwp/*
CloudConnectNetworkacs:smartag:*:{#accountId}:ccn/*
SmartAGSmartagacs:smartag:{#regionId}:{#accountId}:*
ProbeTaskacs:smartag:{#regionId}:{#accountId}:probetask/*
FlowLogacs:smartag:{#regionId}:{#accountId}:flowlog/{#flowlogId}
IntelligentRoutingacs:smartag:{#regionId}:{#accountId}:IntelligentRouting/IntelligentRoutingId
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartaccessgateway/*
ApplicationBandwidthPackageacs:smartag:{#regionId}:{#accountId}:applicationbandwidthpackage/{#ApplicationBandwidthPackageId}
Aclacs:smartag:*:{#accountId}:acl/*
FlowLogacs:smartag:*:{#accountId}:flowlog/*
ApplicationAccelerationRuleacs:smartag:{#regionId}:{#accountId}:applicationaccelerationrule/{#ApplicationAccelerationRuleId}

条件(Condition)

下表是智能接入网关(Smartag)定义的产品级条件关键字,这些条件关键字可以在RAM权限策略语句的Condition元素中使用,用来描述授予权限的条件。以下仅列举产品级的条件关键字,阿里云定义的通用条件关键字也同样适用智能接入网关(Smartag)
其中,数据类型决定了您可以使用哪些条件运算符将请求中的值与权限策略语句中的值进行比较。您必须使用与数据类型匹配的条件运算符,否则无法匹配策略语句,授权行为无效。数据类型与条件运算符的对应关系,请参见条件操作类型
条件关键字描述类型
acs:ResourceTag标签信息String
acs:RequestTag请求标签String

相关操作

您可以创建自定义权限策略,并将权限策略授予RAM用户、RAM用户组或RAM角色。具体操作如下: