Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.49k stars 4.81k forks source link

Is there an api to query `ListOrchestratorsWithHttpMessagesAsync` #33770

Open johnsimons opened 1 year ago

johnsimons commented 1 year ago

Library name and version

Azure.ResourceManager.ContainerService 1.1.0

Query/Question

Hi,

I am trying to migrate this existing code from Microsoft.Azure.Management.ContainerService to Azure.ResourceManager.ContainerService package.

using (var containerServiceClient = new ContainerServiceClient(credentials))
{
    var result = await containerServiceClient.ContainerServices.ListOrchestratorsWithHttpMessagesAsync("westus2", "managedClusters"); // <-- This call

    //...
}

The API above calls subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/westus2/orchestrators?resource-type= managedClusters

I looked in the source code, and I cannot find anything there, help!

Environment

No response

jsquire commented 1 year ago

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

Yao725 commented 1 year ago

Hi @johnsimons, currently the API version of Azure.ResourceManager.ContainerService is 2022-09-01 and unfortunately this API version doesn't support the request that you want. I don't have too much context here about why they removed this operation, so I will marked this issue as Service Attention to see if we can get some feedback from service team.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @qike-ms, @jwilder, @thomas1206, @seanmck.

Issue Details
### Library name and version Azure.ResourceManager.ContainerService 1.1.0 ### Query/Question Hi, I am trying to migrate this existing code from `Microsoft.Azure.Management.ContainerService` to `Azure.ResourceManager.ContainerService` package. ```c# using (var containerServiceClient = new ContainerServiceClient(credentials)) { var result = await containerServiceClient.ContainerServices.ListOrchestratorsWithHttpMessagesAsync("westus2", "managedClusters"); // <-- This call //... } ``` The API above calls `subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/westus2/orchestrators?resource-type= managedClusters` I looked in the source code, and I cannot find anything there, help! ### Environment _No response_
Author: johnsimons
Assignees: Yao725
Labels: `Service Attention`, `Mgmt`, `customer-reported`, `question`, `Container Service`
Milestone: -