All Products
Search
Document Center

Smart Access Gateway:RAM authorization

Last Updated:Aug 01, 2024
Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. You can use RAM to prevent RAM users from sharing the AccessKey pairs of your Alibaba Cloud account. You can also use RAM to grant minimum permissions to RAM users. RAM uses policies to define permissions.
This topic describes the elements, such as Action, Resource, and Condition, which are defined by Smartag. You can use the elements to create policies in RAM. The code (RamCode) in RAM that is used to indicate Smartag is smartag. You can grant permissions on Smartag at the RESOURCE.

General structure of a policy

Policies can be stored as JSON files. The following code provides an example on the general structure of a policy:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}
The following list describes the fields in the policy:
  • Effect: specifies the authorization effect. Valid values: Allow, Deny.
  • Action: specifies one or more API operations that are allowed or denied. For more information, see the Action section of this topic.
  • Resource: specifies one or more resources to which the policy applies. You can use an Alibaba Cloud Resource Name (ARN) to specify a resource. For more information, see the Resource section of this topic.
  • Condition: specifies one or more conditions that are required for the policy to take effect. This is an optional field. For more information, see the Condition section of this topic.
    • Condition_operator: specifies the conditional operators. Different types of conditions support different conditional operators. For more information, see Policy elements.
    • Condition_key: specifies the condition keys.
    • Condition_value: specifies the condition values.

Action

Smartag defines the values that you can use in the Action element of a policy statement. The following table describes the values.
  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • API operation: the API operation that you can call to perform the operation.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition key: the condition keys that are defined by the Alibaba Cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Generic Condition Keyword.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
ActionsAPI operationAccess levelResource typeCondition keyAssociated operation
smartag:UpdateSmartAccessGatewayBgpRouteUpdateSmartAccessGatewayBgpRouteWrite
All Resources
*
NoneNone
smartag:DisableSmartAccessGatewayUserDisableSmartAccessGatewayUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeGrantSagRulesDescribeGrantSagRulesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:MoveResourceGroupMoveResourceGroupWrite
All Resources
*
NoneNone
smartag:DeleteFlowLogDeleteFlowLogdelete
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
smartag:GetSmartAccessGatewayUseLimitGetSmartAccessGatewayUseLimitget
All Resources
*
NoneNone
smartag:DescribeSagCurrentDnsDescribeSagCurrentDnsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagHaModifySagHaupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:RevokeSagInstanceFromCcnRevokeSagInstanceFromCcnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:AddSnatEntryAddSnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteSagExpressConnectInterfaceDeleteSagExpressConnectInterfacedelete
All Resources
*
NoneNone
smartag:DescribeSmartAccessGatewaysDescribeSmartAccessGatewaysget
All Resources
*
NoneNone
smartag:GrantInstanceToCbnGrantInstanceToCbnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
NoneNone
smartag:DescribeSmartAccessGatewayClientUsersDescribeSmartAccessGatewayClientUsersget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateEnterpriseCodeCreateEnterpriseCodecreate
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/*
NoneNone
smartag:RevokeInstanceFromVbrRevokeInstanceFromVbrWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagRouteProtocolBgpDescribeSagRouteProtocolBgpget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifyQosModifyQosupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:DescribeSagLanListDescribeSagLanListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagManagementPortDescribeSagManagementPortget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:AddSmartAccessGatewayDnsForwardAddSmartAccessGatewayDnsForwardWrite
All Resources
*
NoneNone
smartag:DescribeBindableSmartAccessGatewaysDescribeBindableSmartAccessGatewaysget
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSnatEntriesDescribeSnatEntriesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagVbrRelationsDescribeSagVbrRelationsget
All Resources
*
NoneNone
smartag:GetCloudConnectNetworkUseLimitGetCloudConnectNetworkUseLimitget
All Resources
*
NoneNone
smartag:UpgradeSmartAccessGatewaySoftwareUpgradeSmartAccessGatewaySoftwareWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagUserDnsModifySagUserDnsWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagDropTopNDescribeSagDropTopNget
All Resources
*
NoneNone
smartag:DescribeSmartAccessGatewayHaDescribeSmartAccessGatewayHaget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagWanListDescribeSagWanListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeGrantSagVbrRulesDescribeGrantSagVbrRulesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:RevokeInstanceFromCbnRevokeInstanceFromCbnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
NoneNone
smartag:ModifySagWanModifySagWanupdate
All Resources
*
NoneNone
smartag:DeleteEnterpriseCodeDeleteEnterpriseCodedelete
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/{#EnterpriseCode}
NoneNone
smartag:DeleteSmartAccessGatewayClientUserDeleteSmartAccessGatewayClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSmartAccessGatewayVersionsDescribeSmartAccessGatewayVersionsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteRouteDistributionStrategyDeleteRouteDistributionStrategydelete
All Resources
*
NoneNone
smartag:ModifySagLanModifySagLanWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagPortListDescribeSagPortListlist
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeDeviceAutoUpgradePolicyDescribeDeviceAutoUpgradePolicyget
All Resources
*
NoneNone
smartag:ModifyACLModifyACLupdate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:DeleteCloudConnectNetworkDeleteCloudConnectNetworkdelete
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
NoneNone
smartag:DescribeSagRouteProtocolOspfDescribeSagRouteProtocolOspfget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeGrantRulesDescribeGrantRulesget
All Resources
*
NoneNone
smartag:DescribeSagRouteListDescribeSagRouteListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:KickOutClientsKickOutClientsWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UpdateSmartAGEnterpriseCodeUpdateSmartAGEnterpriseCodeupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSAGDeviceInfoDescribeSAGDeviceInfoget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateQosCreateQoscreate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/*
NoneNone
smartag:ModifySAGAdminPasswordModifySAGAdminPasswordWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateSagExpressConnectInterfaceCreateSagExpressConnectInterfacecreate
All Resources
*
NoneNone
smartag:ActivateSmartAccessGatewayActivateSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagPortRouteProtocolModifySagPortRouteProtocolWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:BindSerialNumberBindSerialNumberupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeHealthChecksDescribeHealthChecksget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySmartAccessGatewayClientUserModifySmartAccessGatewayClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteSnatEntryDeleteSnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteQosCarDeleteQosCardelete
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:DescribeQosPoliciesDescribeQosPoliciesget
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:UnbindSerialNumberUnbindSerialNumberWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeHealthCheckAttributeDescribeHealthCheckAttributeget
All Resources
*
NoneNone
smartag:UpdateSmartAccessGatewayWanSnatUpdateSmartAccessGatewayWanSnatWrite
All Resources
*
NoneNone
smartag:UpdateEnterpriseCodeUpdateEnterpriseCodeupdate
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/{#EnterpriseCode}
NoneNone
smartag:ModifyDeviceAutoUpgradePolicyModifyDeviceAutoUpgradePolicyupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ViewSmartAccessGatewayDnsForwardsViewSmartAccessGatewayDnsForwardsget
All Resources
*
NoneNone
smartag:DissociateSmartAGFromApplicationBandwidthPackageDissociateSmartAGFromApplicationBandwidthPackageWrite
All Resources
*
NoneNone
smartag:EnableSmartAGDpiMonitorEnableSmartAGDpiMonitorupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UpdateProbeTaskUpdateProbeTaskWrite
All Resources
*
NoneNone
smartag:CreateFlowLogCreateFlowLogcreate
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/*
NoneNone
smartag:EnableSmartAccessGatewayUserEnableSmartAccessGatewayUserupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ListAccessPointNetworkQualitiesListAccessPointNetworkQualitieslist
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DowngradeSmartAccessGatewayDowngradeSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteProbeTaskDeleteProbeTaskWrite
ProbeTask
acs:smartag:{#regionId}:{#accountId}:probetask/{#ProbeTaskId}
NoneNone
smartag:ModifyCloudConnectNetworkModifyCloudConnectNetworkupdate
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
NoneNone
smartag:UnbindSmartAccessGatewayUnbindSmartAccessGatewayWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifyFlowLogAttributeModifyFlowLogAttributeupdate
All Resources
*
NoneNone
smartag:ModifyHealthCheckModifyHealthCheckupdate
All Resources
*
NoneNone
smartag:DisassociateFlowLogDisassociateFlowLogWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:RoamClientUserRoamClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:AssociateSmartAGWithApplicationBandwidthPackageAssociateSmartAGWithApplicationBandwidthPackageWrite
All Resources
*
NoneNone
smartag:DisassociateQosDisassociateQosupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeUserOnlineClientStatisticsDescribeUserOnlineClientStatisticsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:GetAclAttributeGetAclAttributeget
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:DescribeUnbindFlowLogSagsDescribeUnbindFlowLogSagsget
All Resources
*
NoneNone
smartag:DescribeRouteDistributionStrategiesDescribeRouteDistributionStrategiesget
All Resources
*
NoneNone
smartag:DescribeSagGlobalRouteProtocolDescribeSagGlobalRouteProtocolget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagWanSnatDescribeSagWanSnatget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:BindVbrBindVbrWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ListAvailableServiceAddressListAvailableServiceAddresslist
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
NoneNone
smartag:DescribeUserFlowStatisticsDescribeUserFlowStatisticsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateACLCreateACLcreate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/*
NoneNone
smartag:DeleteSmartAccessGatewayDnsForwardDeleteSmartAccessGatewayDnsForwardWrite
All Resources
*
NoneNone
smartag:DescribeQosesDescribeQosesget
All Resources
*
NoneNone
smartag:ViewSmartAccessGatewayBgpRouteViewSmartAccessGatewayBgpRouteget
All Resources
*
NoneNone
smartag:ModifySmartAccessGatewayUpBandwidthModifySmartAccessGatewayUpBandwidthupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ViewSmartAccessGatewayWanSnatViewSmartAccessGatewayWanSnatget
All Resources
*
NoneNone
smartag:ViewSmartAccessGatewayOspfRouteViewSmartAccessGatewayOspfRouteget
All Resources
*
NoneNone
smartag:ListEnterpriseCodeListEnterpriseCodelist
EnterpriseCode
acs:smartag:{#regionId}:{#accountId}:enterprisecode/*
NoneNone
smartag:DescribeUserOnlineClientsDescribeUserOnlineClientsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UpdateSmartAccessGatewayGlobalRouteProtocolUpdateSmartAccessGatewayGlobalRouteProtocolWrite
All Resources
*
NoneNone
smartag:ModifySagWifiModifySagWifiWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DisassociateACLDisassociateACLdelete
All Resources
*
NoneNone
smartag:ModifySagWanSnatModifySagWanSnatWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteDnatEntryDeleteDnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ListSmartAGByAccessPointListSmartAGByAccessPointget
All Resources
*
NoneNone
smartag:DeleteQosPolicyDeleteQosPolicydelete
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:ResetSmartAccessGatewayClientUserPasswordResetSmartAccessGatewayClientUserPasswordWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeACLAttributeDescribeACLAttributeget
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:ModifySagRouteProtocolBgpModifySagRouteProtocolBgpupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateServiceAddressCreateServiceAddressWrite
All Resources
*
NoneNone
smartag:UpdateSmartAccessGatewayVersionUpdateSmartAccessGatewayVersionupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeCloudConnectNetworksDescribeCloudConnectNetworksget
All Resources
*
NoneNone
smartag:DeleteACLDeleteACLdelete
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:CreateProbeTaskCreateProbeTaskWrite
ProbeTask
acs:smartag:{#regionId}:{#accountId}:probetask/*
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
NoneNone
smartag:DisableSmartAGDpiMonitorDisableSmartAGDpiMonitorupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateSmartAccessGatewayCreateSmartAccessGatewaycreate
All Resources
*
NoneNone
smartag:DeleteACLRuleDeleteACLRuledelete
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:UpdateSmartAccessGatewayAdminPasswordUpdateSmartAccessGatewayAdminPasswordWrite
All Resources
*
NoneNone
smartag:UpdateSmartAccessGatewayDnsUpdateSmartAccessGatewayDnsWrite
All Resources
*
NoneNone
smartag:AssociateACLAssociateACLcreate
All Resources
*
NoneNone
smartag:DescribeSmartAccessGatewayAttributeDescribeSmartAccessGatewayAttributeget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UpdateSmartAGUserAccelerateConfigUpdateSmartAGUserAccelerateConfigWrite
All Resources
*
NoneNone
smartag:DescribeDnatEntriesDescribeDnatEntriesget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateSmartAccessGatewayClientUserCreateSmartAccessGatewayClientUserWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ViewSmartAccessGatewayGlobalRouteProtocolViewSmartAccessGatewayGlobalRouteProtocolget
All Resources
*
NoneNone
smartag:DeleteQosDeleteQosdelete
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:ListAccessPointsListAccessPointsget
All Resources
*
NoneNone
smartag:UpdateSmartAccessGatewayDnsForwardUpdateSmartAccessGatewayDnsForwardWrite
All Resources
*
NoneNone
smartag:DescribeFlowLogSagsDescribeFlowLogSagsget
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
smartag:DescribeSagOnlineClientStatisticsDescribeSagOnlineClientStatisticsget
All Resources
*
NoneNone
smartag:ActiveFlowLogActiveFlowLogWrite
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#flowlogId}
NoneNone
smartag:AssociateQosAssociateQosupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DiagnoseSmartAccessGatewayDiagnoseSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateSagStaticRouteCreateSagStaticRoutecreate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagTrafficTopNDescribeSagTrafficTopNget
All Resources
*
NoneNone
smartag:DowngradeSmartAccessGatewaySoftwareDowngradeSmartAccessGatewaySoftwareWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagPortRoleModifySagPortRoleWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:RebootSmartAccessGatewayRebootSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateSmartAccessGatewaySoftwareCreateSmartAccessGatewaySoftwarecreate
All Resources
*
NoneNone
smartag:ProbeAccessPointNetworkQualityProbeAccessPointNetworkQualityWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifyClientUserDNSModifyClientUserDNSupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:GetSmartAGDpiAttributeGetSmartAGDpiAttributeget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteSagStaticRouteDeleteSagStaticRoutedelete
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagManagementPortModifySagManagementPortWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagWifiDescribeSagWifiget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateQosPolicyCreateQosPolicycreate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:GetQosAttributeGetQosAttributeget
All Resources
*
NoneNone
smartag:UpdateSmartAGDpiAttributeUpdateSmartAGDpiAttributeupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DiscribeSmartAccessGatewayDiagnosisReportDiscribeSmartAccessGatewayDiagnosisReportget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifyQosCarModifyQosCarupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:DeleteServiceAddressDeleteServiceAddressWrite
All Resources
*
NoneNone
smartag:UpdateSmartAGAccessPointUpdateSmartAGAccessPointupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifyACLRuleModifyACLRuleupdate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:ViewSmartAccessGatewayRoutesViewSmartAccessGatewayRoutesget
All Resources
*
NoneNone
smartag:ListProbeTaskListProbeTasklist
All Resources
*
NoneNone
smartag:ModifyQosPolicyModifyQosPolicyupdate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:DescribeSagUserDnsDescribeSagUserDnsget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:BindSmartAccessGatewayBindSmartAccessGatewayWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
NoneNone
smartag:ModifySagExpressConnectInterfaceModifySagExpressConnectInterfaceupdate
All Resources
*
NoneNone
smartag:CreateQosCarCreateQosCarcreate
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:ClearSagRouteableAddressClearSagRouteableAddressdelete
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:AssociateFlowLogAssociateFlowLogWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
smartag:DescribeQosCarsDescribeQosCarsget
Qos
acs:smartag:{#regionId}:{#accountId}:qos/{#QosId}
NoneNone
smartag:DescribeSagWan4GDescribeSagWan4Gget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagRemoteAccessModifySagRemoteAccessupdate
All Resources
*
NoneNone
smartag:ModifyRouteDistributionStrategyModifyRouteDistributionStrategyupdate
All Resources
*
NoneNone
smartag:DescribeSagPortRouteProtocolListDescribeSagPortRouteProtocolListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:SynchronizeSmartAGWebConfigSynchronizeSmartAGWebConfigWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagStaticRouteModifySagStaticRouteupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:AddDnatEntryAddDnatEntryWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:SetAdvancedMonitorStateSetAdvancedMonitorStateWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
NoneNone
smartag:DescribeSagHaDescribeSagHaget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeSagStaticRouteListDescribeSagStaticRouteListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UnbindVbrUnbindVbrWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateCloudConnectNetworkCreateCloudConnectNetworkcreate
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/*
NoneNone
smartag:DescribeClientUserDNSDescribeClientUserDNSget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UpgradeSmartAccessGatewayUpgradeSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:GetAdvancedMonitorStateGetAdvancedMonitorStateget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
NoneNone
smartag:ModifySagRouteProtocolOspfModifySagRouteProtocolOspfupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DeleteSmartAccessGatewayDeleteSmartAccessGatewaydelete
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySmartAccessGatewayModifySmartAccessGatewayupdate
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:DescribeACLsDescribeACLsget
All Resources
*
NoneNone
smartag:DescribeFlowLogsDescribeFlowLogsget
All Resources
*
NoneNone
smartag:DescribeSagExpressConnectInterfaceListDescribeSagExpressConnectInterfaceListget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UpdateSmartAccessGatewayPortRouteProtocolUpdateSmartAccessGatewayPortRouteProtocolWrite
All Resources
*
NoneNone
smartag:AddACLRuleAddACLRulecreate
Acl
acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
NoneNone
smartag:GrantSagInstanceToCcnGrantSagInstanceToCcnWrite
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:GrantSagInstanceToVbrGrantSagInstanceToVbrWrite
All Resources
*
NoneNone
smartag:ListDpiConfigErrorListDpiConfigErrorget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ListSmartAGApiUnsupportedFeatureListSmartAGApiUnsupportedFeatureget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ViewSmartAccessGatewayDnsViewSmartAccessGatewayDnsget
All Resources
*
NoneNone
smartag:DeactiveFlowLogDeactiveFlowLogWrite
FlowLog
acs:smartag:{#regionId}:{#accountId}:flowlog/{#flowlogId}
NoneNone
smartag:DeleteHealthCheckDeleteHealthCheckdelete
All Resources
*
NoneNone
smartag:DescribeSagRemoteAccessDescribeSagRemoteAccessget
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:CreateHealthCheckCreateHealthCheckcreate
All Resources
*
NoneNone
smartag:ClearSagCipherClearSagCipherWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:UnlockSmartAccessGatewayUnlockSmartAccessGatewayWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone
smartag:ModifySagGlobalRouteProtocolModifySagGlobalRouteProtocolWrite
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
NoneNone

Resource

Smartag defines the values that you can use in the Resource. You can attach the policy to a RAM user or a RAM role so that the RAM user or the RAM role can perform a specific operation on a specific resource. The ARN is the unique identifier of the resource on Alibaba Cloud. Take note of the following items:
  • {#}indicates a variable. {#} must be replaced with an actual value. For example, {#ramcode} must be replaced with the actual code of an Alibaba Cloud service in RAM.
  • An asterisk (*) is used as a wildcard. Examples:
    • {#resourceType} is set to *, all resources are specified.
    • {#regionId} is set to *, all regions are specified.
    • {#accountId} is set to *, all Alibaba Cloud accounts are specified.
Resource typeARN
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartaccessgateway/{#SmartAgId}
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
CloudConnectNetworkacs:smartag:{#regionId}:{#accountId}:ccn/{#CcnInstanceId}
IntelligentRoutingacs:smartag:{#regionId}:{#accountId}:intelligentrouting/{#intelligentroutingId}
FlowLogacs:smartag:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartag/*
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/*
ApplicationBandwidthPackageacs:smartag:{#regionId}:{#accountId}:abwp/{#ApplicationBandwidthPackageId}
EnterpriseCodeacs:smartag:{#regionId}:{#accountId}:enterprisecode/*
IntelligentRoutingacs:smartag:{#regionId}:{#accountId}:intelligentrouting/{#IntelligentRoutingId}
EnterpriseCodeacs:smartag:{#regionId}:{#accountId}:enterprisecode/{#EnterpriseCode}
CloudConnectNetworkacs:smartag:{#regionId}:{#accountId}:ccn/{#AssociatedCcnId}
SagExpressConnectInterfaceacs:smartag:{#regionId}:{#accountId}:sagexpressconnectinterface/*
SmartAccessGatewayacs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAgId}
ProbeTaskacs:smartag:{#regionId}:{#accountId}:probetask/{#ProbeTaskId}
SmartAGSmartagacs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
Qosacs:smartag:*:{#accountId}:qos/*
ApplicationBandwidthPackageacs:smartag:{#regionId}:{#accountId}:abwp/*
CloudConnectNetworkacs:smartag:*:{#accountId}:ccn/*
ProbeTaskacs:smartag:{#regionId}:{#accountId}:probetask/*
SmartAGSmartagacs:smartag:{#regionId}:{#accountId}:*
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 defines the values that you can use in the Condition element of a policy statement. The following table describes the values. The following table describes the service-specific condition keys. The common condition keys that are defined by Alibaba Cloud also apply to Smartag. For more information about the common condition keys, see Generic Condition Keyword.
The data type determines the conditional operators that you can use to compare the value in a request with the value in a policy statement. You must use conditional operators that are supported by the data type. Otherwise, you cannot compare the value in the request with the value in the policy statement. In this case, the authorization is invalid. For more information about the conditional operators that are supported by each data type, see Policy elements.
Condition keyDescriptionData type
acs:ResourceTagString
acs:RequestTagString

What to do next

You can create a custom policy and attach the policy to a RAM user, RAM user group, or RAM role. For more information, see the following topics: