TagResources_IP地址管理_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

使用说明

标签是您为实例分配的标记,每个标签都由一对键值对(Key-Value)组成。标签的使用说明如下:

  • 一个实例上的每条标签的标签键(Key)必须唯一。
  • 不支持未绑定实例的空标签存在,标签必须绑定在实例上。
  • 单个实例最多可绑定 20 条标签。绑定标签前,阿里云会校验资源已有标签数量。超过限制值后返回报错信息。

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:TagResources
Update
Ipam
acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}
IpamPool
acs:vpc:{#regionId}:{#accountId}:ipampool/{#IpamPoolId}
IpamScope
acs:vpc:{#regionId}:{#accountId}:ipamscope/{#IpamScopeId}

请求参数

字段名称字段详情
RegionIdstring

资源所属的地域 ID。

示例值:cn-beijing
ResourceIdarray<string>

资源 ID 列表。

子级条数 <= 51
ResourceTypestring

资源类型。取值:展开详情

示例值:IPAM参考取值来源:
    ListIpamResourceCidrs
Tagarray<object>

标签列表。

子级条数 <= 21

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:BF872550-9700-52FD-839C-4D3F05543FA8

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
MissingParameter.ResourceIds
The input parameter ResourceIds that is mandatory for processing this request is not supplied.诊断
400
MissingParameter.ResourceType
The input parameter ResourceType that is mandatory for processing this request is not supplied.诊断
400
MissingParameter.TagKey
The input parameter TagKey that is mandatory for processing this request is not supplied.诊断
400
MissingParameter.Tags
The input parameter Tags that is mandatory for processing this request is not supplied.诊断
400
MissingParameter.TagValue
The input parameter TagValue that is mandatory for processing this request is not supplied.诊断
400
IllegalParamSize.ResourceIds
The number of Param ResourceIds exceeded the limit.诊断
400
IllegalParamSize.Tags
The number of Parameter Tags exceeded the limit.诊断
400
DuplicatedParam.TagKey
TagKey duplicate.诊断
400
ResourceNotFound.Ipam
The specified resource of ipam is not found.诊断
400
ResourceNotFound.IpamScope
The specified resource of IPAM scope is not found.诊断
400
IllegalParam.TagKey
The input parameter TagKey is invalid.诊断
404
ResourceNotFound.IpamPool
The dependent IPAM pool is not found.诊断

变更历史

变更时间变更内容概要操作
2024-09-12
变更请求参数ResourceId
变更请求参数Tag

相关示例