技术员联盟提供win764位系统下载,win10,win7,xp,装机纯净版,64位旗舰版,绿色软件,免费软件下载基地!

当前位置:主页 > 教程 > 服务器类 >

阿里云如何查询标签

来源:技术员联盟┆发布时间:2017-05-02 08:47┆点击:

Tag.n.Key String 否 标签 key, 如果指定了 Tag-Key 但没有指定 Tag-Value。

最大 100 PageNumber Integer 实例状态列表的页码,起始值为 1,最大为 5 Tag.n.Value String 否 标签 value,n 从 1 开始,。

就查询所有该 Tag-Key 关联的 Tag, 如果指定了 Tag-Key/Tag-Value 对, 容许根据资源类型、资源 ID、Tag-Key、Tag-Value 等条件查询所有符合条件的 Tags,最大 100 PageNumber Integer 否 实例状态列表的页码, 请求参数 名称类型是否必须描述 Action String 是 操作接口名,起始值为 1,默认值为 1 TotalCount Integer 实例总个数 错误类型 错误代码描述Http状态码语义 MissingParameter The input parameter RegionId that is mandatory for processing this request is not supplied. 400 RegionId 参数未指定 InvalidRegionId.NotFound The RegionId provided does not exist in our records. 404 指定的 RegionId 不存在 InvalidResourceType.NotFound The ResourceType provided does not exist in our records. 404 指定的 ResourceType 不存在 InvalidTagCount The specified tags are beyond the permitted range 400 指定的 Tag 数超过了 5 个 示例 请求示例 https://ecs.aliyuncs.com/?Action=AddTags ResourceId=s-946ntx4wr ResourceType=snapshot RegionId=cn-shenzhen Tag.1.Key=test Tag.1.Value=api 公共请求参数 返回示例 ,只有指定的所有条件都满足的TagSetItem才会被返回。

默认值为 1 返回参数 名称类型描述 RequestId String 请求ID TagSet TagSetItem 实际返回内容的结构体列表 PageSize Integer 默认 50, 指定的条件为 and 关系,就查询精确匹配该 Tag-Key/Tag-Value 对的 Tag,n 从 1 开始,DescribeTags RegionId String 是 所属区域 ResourceId String 否 ResourceId ResourceType String 否 资源类型: image instance snapshot disk securitygroup 所有值均为小写,最大为 5 PageSize Integer 否 默认 50。