检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
') ECS (SELECT id FROM resources WHERE provider = 'evs' AND type = 'volumes') EVS WHERE contains(ecs.evs_list, evs.id) 'contains(a, element)→boolean' determines whether an element appears in array a.
Protection of Cybersecurity Level 3 (2.0) Conformance Package for the Financial Industry Conformance Package for Network Security Conformance Package for Identity and Access Management Conformance Package for Cloud Eye Conformance Package for Compute Services Conformance Package for ECS
If you need to query ECSs (ecs.cloudservers), set the provider to ecs, and type to cloudservers for the request. For details about the cloud services (provider) and resource types (type), see the Supported Services and Resource Types section in the appendix.
"#/ecs/manager/ecsDetail?
Protection of Cybersecurity Level 3 (2.0) Conformance Package for the Financial Industry Conformance Package for Network Security Conformance Package for Identity and Access Management Conformance Package for Cloud Eye Conformance Package for Compute Services Conformance Package for ECS
SELECT ECS_EVS.id AS ecs_id, EVS.id AS evs_id FROM ( SELECT id, evs_id FROM ( SELECT id, transform(properties.ExtVolumesAttached, x -> x.id) AS evs_list FROM resources WHERE provider = 'ecs' AND type = 'cloudservers' ) ECS CROSS JOIN UNNEST(evs_list) AS t (evs_id
", "policy_type" : "builtin", "description" : "An ECS is non-compliant if it has an EIP.
", "policy_filter": { "region_id": "regionid_1", "resource_provider": "ecs", "resource_type": "cloudservers", "tag_key": "env", "tag_value": "production" }, "period": null, "state": "Enabled", "created": "2020-12-07T01:34:14.266Z",
In this example, if the vpcId of an ECS does not match the specified VPC ID, NonCompliant is returned. Otherwise, Compliant is returned. ''' def evaluate_compliance(resource, parameter): if resource.get("provider") != "ecs" or resource.get("type") !
In this example, if the vpcId of an ECS does not match the specified VPC ID, NonCompliant is returned. Otherwise, Compliant is returned. ''' def evaluate_compliance(resource, parameter): if resource.get("provider") != "ecs" or resource.get("type") !
For example, to query cloud servers (ecs.cloudservers), you need to set provider to ecs, and type to cloudservers. Calling Method For details, see Calling APIs.
Use CTS to locate a fault or creation failure for an Elastic Cloud Server (ECS). For details, see Fault Locating. Use CTS to check all operation records for an ECS. For details, see Resource Tracking. Parent topic: Cloud Trace Service
For example, you can query an ECS with a specified OS version. You can only use advanced queries to query, view, or export cloud resources. If you need to modify or delete resources, go to related service consoles.
059b5c937100d3e40ff0c00a7675a0a0/all-resources/summary Example Responses Status code: 200 Operation succeeded. [ { "provider" : "obs", "types" : [ { "type" : "buckets", "regions" : [ { "region_id" : "regionid1", "count" : 5 } ] } ] }, { "provider" : "ecs
Example Requests Querying resource overview recorded by the resource recorder in the current account GET https://{endpoint}/v1/resource-manager/domains/{domain_id}/tracked-resources/summary Example Responses Status code: 200 Successful Operation [ { "provider" : "ecs", "types"
Responses Status code: 200 Operation succeeded. { "value" : [ { "domain_id" : "059b5c937100d3e40ff0c00a7675a0a0", "region_id" : "regionid1", "resource_id" : "010d95bd-87cd-4f22-ac00-db7fba7d927e", "resource_name" : "ecs-cc-image-test1", "resource_provider" : "ecs
Responses Status code: 200 Operation succeeded. { "value" : [ { "domain_id" : "059b5c937100d3e40ff0c00a7675a0a0", "region_id" : "regionid1", "resource_id" : "010d95bd-87cd-4f22-ac00-db7fba7d927e", "resource_name" : "ecs-cc-image-test1", "resource_provider" : "ecs
Responses Status code: 200 Operation succeeded. { "value" : [ { "domain_id" : "059b5c937100d3e40ff0c00a7675a0a0", "region_id" : "regionid1", "resource_id" : "010d95bd-87cd-4f22-ac00-db7fba7d927e", "resource_name" : "ecs-cc-image-test1", "resource_provider" : "ecs
e74e043fab784a45ad88f5ef6a4bcffc:organizationPolicyAssignment:o-doxbpkzqsdd51ti1k27w2y8fitakrknp/d02b7fa9d5a74e638c1402d0868f71fd", "organization_policy_assignment_id" : "d02b7fa9d5a74e638c1402d0868f71fd", "organization_policy_assignment_name" : "allowed-images-by-id", "description" : "The ECS
e74e043fab784a45ad88f5ef6a4bcffc:organizationPolicyAssignment:o-doxbpkzqsdd51ti1k27w2y8fitakrknp/d02b7fa9d5a74e638c1402d0868f71fd", "organization_policy_assignment_id" : "d02b7fa9d5a74e638c1402d0868f71fd", "organization_policy_assignment_name" : "allowed-images-by-id", "description" : "The ECS