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

not able to fetch private endpoint properties #4334

Open
2 of 9 tasks
mehtameet9 opened this issue Mar 22, 2024 · 1 comment
Open
2 of 9 tasks

not able to fetch private endpoint properties #4334

mehtameet9 opened this issue Mar 22, 2024 · 1 comment
Assignees
Labels
customer-reported question Further information is requested

Comments

@mehtameet9
Copy link

Link to sample

https://learn.microsoft.com/en-us/rest/api/virtualnetwork/private-endpoints/get?view=rest-virtualnetwork-2023-09-01&tabs=Python#get-private-endpoint

Library name and version

https://learn.microsoft.com/en-us/rest/api/virtualnetwork/private-endpoints/get?view=rest-virtualnetwork-2023-09-01&tabs=Python#get-private-endpoint

Language of the Sample

  • C#/.NET
  • Java
  • JavaScript/TypedScript
  • Python
  • Golang
  • Other - Please specify in Issue details field

Sample Issue Type

  • Sample not working
  • Sample missing
  • Do not understand sample

Issue details

response = client.private_endpoints.get()
should return the properties field as well but this is return empty dict {}

Goal: i need to fetch resourceGuid for private endpoint which im not able to

Expected behavior

No response

Actual behavior

No response

Reproduction Steps

No response

Environment

No response

@microsoft-github-policy-service microsoft-github-policy-service bot added question Further information is requested customer-reported labels Mar 22, 2024
@msyyc msyyc self-assigned this Jul 2, 2024
@msyyc
Copy link
Member

msyyc commented Jul 2, 2024

Hi @mehtameet9 SDK is generated by tool with swagger automatically however I don't find any definition named "resourceGuid" for private endpoint: https://github.com/Azure/azure-rest-api-specs/blob/87a08b955c257c773a3bd42553c718d4b1092955/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/privateEndpoint.json. Could you provide more details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants