Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New resource alicloud_resource_manager_control_policy and its datasource #3383

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

liuri1205
Copy link
Contributor

No description provided.

@liuri1205 liuri1205 changed the title Add new resource and datasource for Resource Manager Control Policy Support ResourceManager Control Policy Mar 30, 2021
    * alicloud_resource_manager_control_policy
    * alicloud_resource_manager_control_policy_attachment
"ids": {
Type: schema.TypeList,
Elem: &schema.Schema{Type: schema.TypeString},
Computed: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不能通过ids,过滤资源吗

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

资源 ID 是单纯的由几个资源属性拼接的, 对这类资源自动化生成不做 ids 过滤

"policy_type": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

枚举值

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是查询结果的过滤条件, 不是接口的入参, 没有设定效验函数, 文档描述只是引导使用有效的过滤值

@xiaozhu36 xiaozhu36 changed the title Support ResourceManager Control Policy New resource alicloud_resource_manager_control_policy and its datasource Mar 30, 2021
@xiaozhu36 xiaozhu36 merged commit c56e0b6 into aliyun:master Mar 30, 2021
@liuri1205 liuri1205 deleted the cp branch March 30, 2021 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants