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

resource/alicloud_vpc_ipv4_gateway: Adds new attribute resource_group_id, tags, create_time, ipv4_gateway_id, ipv4_gateway_route_table_id. #6163

Merged
merged 1 commit into from
May 19, 2023

Conversation

ChenHanZhang
Copy link
Collaborator

…d, Tags etc.

@ChenHanZhang ChenHanZhang force-pushed the AutoGenVpcIpv4Gateway branch 4 times, most recently from 6bf23e5 to 559e4c1 Compare May 19, 2023 02:36
return object, WrapErrorf(err, DefaultErrorMsg, id, action, AlibabaCloudSdkGoERROR)
}

v, err := jsonpath.Get("$", response)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

如果直接取根节点,就不需要jsonpath取值,直接返回response即可

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

if v, ok := d.GetOk("ipv4_gateway_name"); ok {
request["Ipv4GatewayName"] = v
}
request["DryRun"] = d.Get("dry_run")
Copy link
Member

Choose a reason for hiding this comment

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

私有属性变了,不需要更新

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

"resource_group_id": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Copy link
Member

Choose a reason for hiding this comment

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

新增了哪些属性,修改了哪些属性,弃用了哪些属性,都应该在PR 的标题上体现出来

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@ChenHanZhang ChenHanZhang changed the title resource/alicloud_vpc_ipv4_gateway: Adds new attribute ResourceGroupId, Tags etc. resource/alicloud_vpc_ipv4_gateway: Adds new attribute resource_group_id, tags, create_time, ipv4_gateway_id, ipv4_gateway_route_table_id. May 19, 2023
@xiaozhu36 xiaozhu36 merged commit 0c89d76 into aliyun:master May 19, 2023
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.

2 participants