Open
Description
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
This issue is related to a management-plane library.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that