参数 参数类型 描述 policy_assignment_type String 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom) id String 规则ID。 name String 规则名称。 description String 规则描述。
参数 参数类型 描述 policy_assignment_type String 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom) id String 规则ID。 name String 规则名称。 description String 规则描述。
pattern String 策略参数的字符串正则要求或每项的字符串正则要求,当参数类型为String或Array时生效。 type String 预定义合规包模板参数类型。 状态码:400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg
region_id 否 String 区域ID。 最大长度:128 resource_provider 否 String 云服务名称。 最大长度:128 resource_type 否 String 资源类型。 最大长度:128 resource_id 否 String 资源ID。 最大长度:512
resource_id String 资源ID。 resource_name String 资源名称。 resource_provider String 云服务名称。 resource_type String 资源类型。 trigger_type String 触发器类型,可选值为"resource"和"period"。
度,当参数类型为String或Array时生效。 max_length Integer 策略参数的最大字符串长度或每项的最大字符串长度,当参数类型为String或Array时生效。 pattern String 策略参数的字符串正则要求或每项的字符串正则要求,当参数类型为String或Array时生效。
name String 资源名称。 provider String 云服务名称。 type String 资源类型。 region_id String 区域ID。 project_id String Openstack中的项目ID。 project_name String Openstack中的项目名称。
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 状态码:500 表11 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。
provider 否 String 云服务类型。 最小长度:1 最大长度:20 resource_type 否 String 资源类型。 最小长度:1 最大长度:32 表5 ResourcesFilters 参数 是否必选 参数类型 描述 account_id 否 String 账号ID。
region_id String 资源区域ID。 resource_id String 资源ID。 resource_name String 资源名称。 resource_provider String 云服务名称。 resource_type String 资源类型。 trigger_type
provider String 云服务名称。 type String 资源类型。 region_id String 区域ID。 project_id String Openstack中的项目ID。 project_name String Openstack中的项目名称。 ep_id String
资源快照存储完成的消息通知模型 参数 参数类型 描述 notification_type String 消息通知类型。此处的消息通知类型为“SnapshotArchiveCompleted”。 notification_creation_time String 消息发送时间。 具有固定格式:
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 状态码:401 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。
周期触发 规则评估的资源类型 account 规则参数 provider:云服务名称,字符串类型。 resourceType:资源类型,字符串类型。 metricName:监控指标名称,字符串类型。 父主题: 云监控服务 CES
object 资源对象。 表6 ResourceRelation 参数 参数类型 描述 relation_type String 关系类型。 from_resource_type String 源资源类型。 to_resource_type String 目的资源类型。 from_resource_id
是否必选 参数类型 描述 domain_id 是 String 账号ID。 最大长度:36 conformance_pack_id 是 String 合规规则包ID。 最大长度:36 请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 name 是 String 合规规则包名称。
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 状态码:403 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 状态码:404 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。
资源变更消息存储完成的消息通知模型 参数 参数类型 描述 notification_type String 消息通知类型。此处的消息通知类型为“NotificationArchiveCompleted”。 notification_creation_time String 消息发送时间。 具有固定格
参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 状态码:404 表9 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 状态码:500 表10
您即将访问非华为云网站,请注意账号财产安全