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

[BUG] Azure.ResourceManager.Orbital SDK Issues #43626

Open
thisisdevanshu opened this issue Apr 24, 2024 · 2 comments
Open

[BUG] Azure.ResourceManager.Orbital SDK Issues #43626

thisisdevanshu opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels
ARM customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@thisisdevanshu
Copy link

Library name and version

Azure.ResourceManager.Orbital

Describe the bug

We recently discovered 2 issues with the .NET SDK https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/orbital/Azure.ResourceManager.Orbital

  1. EventHubUri is a misnomer, we expected a resource id, but the SDK expects a URI
  2. EndPoint.ipAddress: - ip-address is not nullable in .NET TSDK

Expected behavior

  1. EventHubUri accepts a resource id in the .NET SDK
  2. Endpoint.ipAddress allows null for ip address

Actual behavior

  1. EventHubUri does not accept a resource id in the .NET SDK
  2. Endpoint.ipAddress does not allow null for ip address

Reproduction Steps

  1. Create a contact profile resource with a eventhub resource id
  2. Create a contact profile with null value for Endpoint.ipAddress

Environment

No response

@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 24, 2024
@jsquire jsquire assigned jsquire and ArthurMa1978 and unassigned jsquire Apr 25, 2024
@jsquire jsquire added ARM Mgmt This issue is related to a management-plane library. needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Apr 25, 2024
@jsquire
Copy link
Member

jsquire commented Apr 25, 2024

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@ArthurMa1978
Copy link
Member

Workaround this from sdk side:

  1. Rename it to eventHubId and add attribute "format": "arm-id".
  2. Remove ipAddress out of required azure-rest-api-specs/specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/orbital.json at main · Azure/azure-rest-api-specs (github.com)

@melina5656 melina5656 assigned melina5656 and unassigned HarveyLink May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention This issue needs attention from Azure service team or SDK team 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

5 participants