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.44k stars 4.8k forks source link

[QUERY] Using the Azure C# SDK - How can I query the organizations AzureDevOps Nuget Artifact Feed? #27866

Closed jeffward01 closed 2 years ago

jeffward01 commented 2 years ago

Library name and version

Microsoft.VisualStudio.Services.Client

Query/Question

Hello,

My question is regarding the C# Azure DevOps SDK. I am unsure of which 'Library' I am referring to, and this is my question.

I see many tutorials and documentations online on how to query the Artifact Feed: https://docs.microsoft.com/en-us/rest/api/azure/devops/artifacts/feed-management/create-feed?view=azure-devops-rest-6.0

My goal is to use the C# SDK to query Azure Artifact feed details, delete artifacts, and get meta-data information about the artifacts.

Specifically, I am looking for a list of 'Versions' that I can query (see last screenshot).

Here is a screenshot from the UI of what I am looking for:

image

image

image


I know that this is possible using the Azure REST API and manual HTTP requests.

My question is, how can I accomplish this using one of the C# SDK Libraries found here: https://docs.microsoft.com/en-us/azure/devops/integrate/concepts/dotnet-client-libraries?view=azure-devops

Environment

Windows 10, net 6.0 VS2022

azure-sdk commented 2 years ago

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'EngSys:0.08147969,Azure.Identity:0.07382783,Synapse:0.068256825'

jsquire commented 2 years ago

Hi @jeffward01. Thank you for reaching out and we regret that you're experiencing difficulties. Unfortunately, the Azure DevOps libraries are not maintained in this repository and do not appear to have a public repository where we can transfer this to help you find assistance.

There are a couple of options mentioned on the Azure DevOps Support page, the most expedient one being to open a support request in the Azure Portal. I'm sorry that we're not able to help you find an answer.

I'm going to close this out, but if I've misunderstood or you'd like to continue the discussion, please feel free to unresolve.

ghost commented 2 years ago

Hi @jeffward01. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve” to remove the “issue-addressed” label and continue the conversation.