检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
e) { e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()
e) { e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()
-5499-4440-a369-284e528f3d85", "snapshot_time": "2020-06-30T06:56:00.018Z" } 父主题: 存储模型
资源变更消息存储示例 { "notification_items": [ { "detail": { "resource": { "id": "ea05ef41-8bd6-4a9c-af39-244e1ec448eb", "name": "as-group-test
resource_details" : { "compliant_count" : 18, "non_compliant_count" : 0 } }, "account_id" : "789d4ac10eda4d9b8e090f5c2b1e4459
", "policy_definition_id": "f7dd9c02266297f6e8c8445e", "policy_filter": { "resource_provider": "iam", "resource_type
-ac00-db7fba7d927e", "resource_name" : "ecs-cc-image-test1", "resource_provider" : "ecs", "resource_type" : "cloudservers", "
"notification_type": "ResourceRelationChanged", "notification_creation_time": "2020-08-12T07:14:56.296Z", "domain_id": "059b5c937100d3e40ff0c00a7675a0a0
文件名称示例如下:0926901ef980f2150fbdc001fdd23e80_Notification_me-east-1_NotificationChunk_OBS_BUCKETS_2024-07-24T214735Z_2024-07-24T214759Z.json.gz
文件名称示例如下:0926901ef980f2150fbdc001fdd23e80_Snapshot_me-east-1_ResourceSnapshot_2024-07-22T221441Z_90decead-b69b-4522-a090-657d8c299d40_part-1.
请求示例 GET https://{endpoint}/v1/resource-manager/domains/059b5c937100d3e40ff0c00a7675a0a0/all-resources/tags 响应示例 状态码: 200 操作成功。
如下JSON表示了一个用于检查在区域1的弹性云服务器是否具有tag(env:production)标签的预设策略: { "id": "5fcd8696dfb78231e6f2f899", "name": "required-tag-check", "description
"custom_policy" : null, "created" : "2020-11-20T07:03:00", "updated" : "2020-11-20T07:03:00", "policy_definition_id" : "5fa36558aa1e6afc05a3d0a7
如下JSON表示了一个用于检查ECS实例的镜像ID是否在指定范围内的合规策略: { "id": "5fa265c0aa1e6afc05a0ff07", "name": "allowed-images-by-id", "description": "指定允许的镜像ID列表
e9993fc787d94b6c886cbaa340f9c0f4 X-Auth-Token 用户Token。 用户Token也就是调用获取用户Token接口的响应值,该接口是唯一不需要认证的接口。