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

mgmt, support convenience API for publicNetworkAccess in Vault #39309

Conversation

weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Mar 20, 2024

fix #39192

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@weidongxu-microsoft weidongxu-microsoft added the Mgmt This issue is related to a management-plane library. label Mar 20, 2024
@weidongxu-microsoft weidongxu-microsoft changed the title mgmt, support publicNetworkAccess in Vault mgmt, support convenience API for publicNetworkAccess in Vault Mar 20, 2024
@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review March 20, 2024 04:45
*
* @return whether the vault can be accessed from public network.
*/
PublicNetworkAccess publicNetworkAccess();
Copy link
Member Author

Choose a reason for hiding this comment

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

I thought about using boolean publicNetworkAccessEnabled() (as 1. it is two-value; 2. other service may not have the enum), but use this to be consistent with Registry and ManagedHsm.

@weidongxu-microsoft weidongxu-microsoft merged commit 10ec960 into Azure:main Mar 21, 2024
26 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_vault-public-network-access branch March 21, 2024 01:15
drielenr pushed a commit that referenced this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] no convenience API to set PublicNetworkAccess in Vault
2 participants