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
Comments
@Alancere, please help to check the root cause. Thanks |
Hi @rielida , could you provide your code for creating a private endpoint so that we can better repo it. |
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. |
Hello @Alancere, I'm not responsible for creating the private endpoint, I only read Azure EventHub Namespaces. |
Hi @rielida, if you need to use a private endpoint, create it first. |
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. |
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. |
Sorry, that seems to be the case. Please try PrivateEndpointConnectionsClient.NewListPager |
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. |
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
The text was updated successfully, but these errors were encountered: