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

armeventhub namespaces client list pager responses have nil PrivateEndpointConnections #22736

Open
rielida opened this issue Apr 10, 2024 · 9 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Event Hubs Mgmt This issue is related to a management-plane library. needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@rielida
Copy link

rielida commented Apr 10, 2024

Bug Report

When using the armeventhub list pager, PrivateEndpointConnection property is consistently returned nil across all namespaces.

Documentation indicates that the response should be generated based on the API version 2021-11-01. While the JSON object from the Azure portal, generated using this API version, does include the PrivateEndpointConnection property, this is not reflected in the SDK response.

Despite upgrading from version 1.0.0 to the latest version 1.2.0, the issue persists, with the PrivateEndpointConnection property still being returned as nil.

github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventhub/armeventhub

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 10, 2024
@jhendrixMSFT jhendrixMSFT added Event Hubs Mgmt This issue is related to a management-plane library. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Apr 11, 2024
@github-actions github-actions bot added the needs-team-attention This issue needs attention from Azure service team or SDK team label Apr 11, 2024
@lirenhe
Copy link

lirenhe commented Apr 22, 2024

@Alancere, please help to check the root cause. Thanks

@Alancere
Copy link
Member

Alancere commented Apr 22, 2024

Hi @rielida , could you provide your code for creating a private endpoint so that we can better repo it.
Create a private endpoint if you don't already have one

@Alancere Alancere added the needs-author-feedback More information is needed from author to address the issue. label Apr 23, 2024
@github-actions github-actions bot removed the needs-team-attention This issue needs attention from Azure service team or SDK team label Apr 23, 2024
Copy link

Hi @rielida. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

@rielida
Copy link
Author

rielida commented Apr 29, 2024

Hello @Alancere, I'm not responsible for creating the private endpoint, I only read Azure EventHub Namespaces.
I use the armeventhub namespaces client list pager, and noticed that the PrivateEndpointConnection property is consistently empty.

@github-actions github-actions bot added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. labels Apr 29, 2024
@Alancere
Copy link
Member

Hello @Alancere, I'm not responsible for creating the private endpoint, I only read Azure EventHub Namespaces. I use the armeventhub namespaces client list pager, and noticed that the PrivateEndpointConnection property is consistently empty.

Hi @rielida, if you need to use a private endpoint, create it first.

@Alancere Alancere added the needs-author-feedback More information is needed from author to address the issue. label Apr 30, 2024
@github-actions github-actions bot removed the needs-team-attention This issue needs attention from Azure service team or SDK team label Apr 30, 2024
Copy link

Hi @rielida. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

@rielida
Copy link
Author

rielida commented May 4, 2024

Hi @Alancere, as I mentioned in my initial comment - The private endpoint has been set up and is visible in the Azure Portal; It's also included in the JSON object from there. However, when accessed via the SDK, it returns empty.
Please review the bug description I provided. I believe you will be able to reproduce the issue.

@github-actions github-actions bot added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. labels May 4, 2024
@Alancere
Copy link
Member

Alancere commented May 8, 2024

Hi @Alancere, as I mentioned in my initial comment - The private endpoint has been set up and is visible in the Azure Portal; It's also included in the JSON object from there. However, when accessed via the SDK, it returns empty. Please review the bug description I provided. I believe you will be able to reproduce the issue.

Sorry, that seems to be the case. Please try PrivateEndpointConnectionsClient.NewListPager

@Alancere Alancere added the needs-author-feedback More information is needed from author to address the issue. label May 8, 2024
Copy link

github-actions bot commented May 8, 2024

Hi @rielida. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

@github-actions github-actions bot removed the needs-team-attention This issue needs attention from Azure service team or SDK team label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Event Hubs Mgmt This issue is related to a management-plane library. needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants