-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Ownership selection in VPC tiers and VPC public IPs #9692
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
base: main
Are you sure you want to change the base?
Changes from all commits
8b0cd2c
732fe97
6fcbd14
2ec2ad0
a8be0aa
380f6b2
369984b
bc106fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -203,6 +203,10 @@ public class NetworkResponse extends BaseResponseWithAssociatedNetwork implement | |||||||||
| @Param(description = "True if Network supports specifying IP ranges, false otherwise") | ||||||||||
| private Boolean specifyIpRanges; | ||||||||||
|
|
||||||||||
| @SerializedName(ApiConstants.VPC_ACCESS) | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we not get this information from network owner? I don't think these response params are needed and UI can probably get these values at runtime based on the caller and AI response data
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If it is absolutely neede than I think better structure would be to return - vpcaccount or vpcaccountid and vpcdomainid |
||||||||||
| @Param(description = "Whether the calling account has access to this network's VPC", since = "4.21.0") | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| private Boolean vpcAccess; | ||||||||||
|
|
||||||||||
| @SerializedName(ApiConstants.VPC_ID) | ||||||||||
| @Param(description = "VPC the Network belongs to") | ||||||||||
| private String vpcId; | ||||||||||
|
|
@@ -523,6 +527,14 @@ public void setSpecifyIpRanges(Boolean specifyIpRanges) { | |||||||||
| this.specifyIpRanges = specifyIpRanges; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| public void setVpcAccess(boolean vpcAccess) { | ||||||||||
| this.vpcAccess = vpcAccess; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| public Boolean getVpcAccess() { | ||||||||||
| return vpcAccess; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| public void setVpcId(String vpcId) { | ||||||||||
| this.vpcId = vpcId; | ||||||||||
| } | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually (by now)