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

azure.mgmt.servicefabric Returns Blank for Requesting all Services on current API Version #31306

Open
tayven-bigelow opened this issue Oct 25, 2024 · 4 comments
Assignees
Labels
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 Workflow: 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 Service Fabric

Comments

@tayven-bigelow
Copy link

  • Package Name: azure.mgmt.servicefabric
  • Package Version: 2.1.0
  • Operating System: MacOs Sonoma
  • Python Version: Python 3.13.0

Describe the bug
When requesting Services on the Current API Version, it returns blank. Even when utilizing the "Try it" function in the Documentation for the Endpoint https://learn.microsoft.com/en-us/rest/api/servicefabric/application/services/list?view=rest-servicefabric-application-2023-11-01-preview

To Reproduce
Steps to reproduce the behavior:

from azure.identity import DefaultAzureCredential
from azure.mgmt.servicefabric import ServiceFabricManagementClient

sub_id = "AZURE_SUBSCRIPTION"
resource_group_name = "RESOURCE GROUP"
cluster_name = "CLUSTER NAME"
application_name = "APP NAME"
credential = DefaultAzureCredential()
client = ServiceFabricManagementClient(
            credential=credential,
            subscription_id=sub_id)
client.services.list(resource_group_name=resource_group_name,
                                                  cluster_name=cluster_name,
                                                  application_name=application_name)

The above code returns

{
  "value": []
}

Expected behavior
A list of Service Fabric services that are within the Service Fabric Application are returned.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
If you revert back to 2016-09-01, the list returns. HOWEVER all of the values are None except for the Id.
This appears to be very similar to Azure/azure-sdk-for-net#4510

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: 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 Oct 25, 2024
@xiangyan99 xiangyan99 added Service Fabric Mgmt This issue is related to a management-plane library. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Oct 28, 2024
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Oct 28, 2024
@xiangyan99
Copy link
Member

Thanks for the feedback, we’ll investigate asap.

@msyyc
Copy link
Member

msyyc commented Oct 29, 2024

@ChenxiJiang333 Please help on this issue.

@ChenxiJiang333
Copy link
Member

got it

@ChenxiJiang333
Copy link
Member

Hi @tayven-bigelow, python SDK is tool to send and receive API calling and it seems this issue is caused by the API failure, so python SDK cannot make any fix on it. I would transfer this issue to https://github.com/Azure/azure-rest-api-specs to seek help from service team.

@ChenxiJiang333 ChenxiJiang333 transferred this issue from Azure/azure-sdk-for-python Oct 29, 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. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: 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 Service Fabric
Projects
None yet
Development

No branches or pull requests

4 participants