-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[RDBMS] Add support for private endpoint commands for PostgreSQL flexible server #28142
Merged
evelyn-ys
merged 7 commits into
Azure:dev
from
ambrahma:ambrahma/rdbms-fspg-private-endpoint
Jan 9, 2024
Merged
[RDBMS] Add support for private endpoint commands for PostgreSQL flexible server #28142
evelyn-ys
merged 7 commits into
Azure:dev
from
ambrahma:ambrahma/rdbms-fspg-private-endpoint
Jan 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
️✔️AzureCLI-FullTest
|
|
rule | cmd_name | rule_message | suggest_message |
---|---|---|---|
postgres flexible-server private-endpoint-connection | sub group postgres flexible-server private-endpoint-connection added |
||
postgres flexible-server private-link-resource | sub group postgres flexible-server private-link-resource added |
RDBMS |
….com/ambrahma/azure-cli into ambrahma/rdbms-fspg-private-endpoint
…to remove unwanted params
evelyn-ys
approved these changes
Jan 9, 2024
MaxHorstmann
pushed a commit
to MaxHorstmann/azure-cli
that referenced
this pull request
Jan 19, 2024
…ible server (Azure#28142) * Add support for private endpoint connection commands for PostgreSQL flexible server * Fix linter errors * Add support for private link resources for PostgreSQL flexible servers * Fix linter errors around help text * Update tests for advanced threat protection settings and server logs to remove unwanted params
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related command
List all private endpoint connections for flexible server using
az postgres flexible-server private-endpoint-connection list -g testgroup -s testsvr
Show details of a private endpoint connection associated with a PostgreSQL flexible server using
az postgres flexible-server private-endpoint-connection show -g testgroup -s testsvr -n pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b
Approve a private endpoint connection associated with a PostgreSQL flexible server
az postgres flexible-server private-endpoint-connection reject -g testgroup -s testsvr -n pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b --description "Approve connection"
Reject a private endpoint connection associated with a PostgreSQL flexible server with
az postgres flexible-server private-endpoint-connection reject -g testgroup -s testsvr -n pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b --description "Reject connection"
Delete a private endpoint connection associated with a PostgreSQL flexible server
az postgres flexible-server private-endpoint-connection reject -g testgroup -s testsvr --id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testgroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testsvr/privateEndpointConnections/pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b
List private link resources associated with a PostgreSQL flexible server
az postgres flexible-server private-link-resource list -g testgroup -s testsvr
Get the private link resource for a flexible server using
az postgres flexible-server private-link-resource show --ids /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testServer
Description
Add support for private endpoint connection and private link resource commands for PostgreSQL flexible server.
Testing Guide
Added automated tests for private endpoint connection and private link resource commands
History Notes
[RDBMS]
az postgres flexible-server private-endpoint-connection
: Add support for private endpoint connection commands like list, show, approve, reject, delete for PostgreSQL flexible server[RDBMS]
az postgres flexible-server private-link-resource
: Add support for private link resource commands like list, show for PostgreSQL flexible serverThis checklist is used to make sure that common guidelines for a pull request are followed.
[X ] The PR title and description has followed the guideline in Submitting Pull Requests.
[X ] I adhere to the Command Guidelines.
[X ] I adhere to the Error Handling Guidelines.