Questions tagged [azure-sdk]

Use this tag for questions that has to do with the several SDKs and command-line tools, provided by Microsoft Azure.

Azure SDK is an additional set of templates and tools that help you access even more cloud resources and services to improve your Azure development experience. Use these tools to deploy infinitely-scalable applications and APIs, configure diagnostics, create and manage app service resources, and more.


Source: Microsoft Azure

353 questions
1
vote
0 answers

How to generate an AsyncPageable (from another AsyncPageable)

I am creating a library that uses a number of clients which return AsyncPageables. Most of the functions in my library convert objects from the AsyncEnumerable into some other format. Right now, I am using System.Linq.Async, to make the conversion…
jmerkow
  • 1,811
  • 3
  • 20
  • 35
1
vote
0 answers

Azure DnsManagementClient ListAllByDnsZone vs ListByDnsZone

Can someone explain the difference between ListAllByDnsZone vs ListByDnsZone methods in Azure .NET SDK DnsManagementClient RecordSets…
1
vote
1 answer

OpenTelemetry Propagation Issue With Azure ServiceBus Queues using Go

I have three services which subscribe and publish to separate queues on azure service bus. I've just added open telemetry for these services and it doesn't appear to propagate the trace ID between services. For example, a single trace would ideally…
Darren
  • 1,071
  • 1
  • 15
  • 39
1
vote
1 answer

How to get Azure AD JWT in GO

So I'm testing the waters with Go. I need to manually make a REST call to an Azure AD protected endpoint. I'm using the Azure Identity package, but still I am not able to get the token. package main import ( "context" "fmt" azi…
baouss
  • 1,312
  • 1
  • 22
  • 52
1
vote
1 answer

Handling a disabled azure key vault secret using go azure sdk?

I am trying an extend Kubernetes operator written in Go to handle Azure Key Vault Secrets that have been disabled. The operator is using the Azure SDK for Go as well as the Azure autorest library. I am very new to Go and I'm struggling to populate…
Joel Pearson
  • 1,622
  • 1
  • 16
  • 28
1
vote
1 answer

Azure Identity SDK (JS) How to Authenticate to User's Azure Account

I am designing my first dev tool with the Azure SDK (JavaScript), and I am having a difficult time understanding how to authenticate users in production so the dev tool can access the user's Azure account. The tool is going to retrieve metrics from…
1
vote
0 answers

React Native MQ with Azure Service Bus

I'm looking for some advice on how to set up a MQ system using Azure Service Bus with React Native. I'm trying to set up a (food) ordering system, but I'm facing a few problems. For Azure Service Bus to work, the Azure Service Bus SDK is…
1
vote
1 answer

Python Azure function not working after deployment from VSCode

I am new to Azure and tried some python scripting based on our business logic to interact with other Azure services. I have followed the documentation and successfully achieved the task in VS Code, but later after deploying my function to Azure it…
Mark
  • 27
  • 3
1
vote
0 answers

What is the equivalent for `az account set` in the Azure Python SDK?

What is the equivalent to az account set Azure using Python SDK? I'd like to select a subscription to act upon using Python script. Example: In a bash script, I'd choose the subscription to act on using az account set --subscription $desiredSub. I…
SeaDude
  • 3,725
  • 6
  • 31
  • 68
1
vote
1 answer

Azure sdk for go - code can't make it passed compute.VirtualMachinesClient.ListAllComplete()

I'm testing a function I have that gets all azure vms under a specific subscription. It uses azure sdk for go's compute.VirtualMachinesClient to do so. My problem is with the vm clients ListAllComplete function. It's not returning an error. The code…
Bryan
  • 41
  • 4
1
vote
2 answers

Error while running azuremlsdk::install_azureml() in R

I'm trying to load an existing azure workspace in RStudio Azure Compute Instance like it's shown in this link: https://azure.github.io/azureml-sdk-for-r/. But, after installing azuremlsdk package when I'm running this code…
sm925
  • 2,648
  • 1
  • 16
  • 28
1
vote
1 answer

what are the possible values for IContainerGroup.State property? using azure sdk for container groups in azure

I am using azure SDK for management and I have the following code. I am wondering what are the possible values for IContainerGroup.State ? I am using the code below and so far i can find two values "Running" and "Succeeded" I am looking for other…
blogs4t
  • 2,329
  • 5
  • 20
  • 33
1
vote
1 answer

How to get blob properties from resource ID

I am wondering given ARM ID or resource ID of blob, how to get blob properties such as primaryEndpoints Example resource…
Node.JS
  • 1,042
  • 6
  • 44
  • 114
1
vote
2 answers

Azure Java SDK - Azure Authenticated Object - Expiry & Handling

I am trying to list the storage accounts of a given subscription and with that I am trying to pull all the blob end points of the subscription. The way it is done is as follows. a. create a cache with subscriptionId vs Azure.Authenticated object.…
1
vote
2 answers

InvalidRange error when downloading empty file from Azure File Shares with .NET SDK

I am trying to download an empty file from an Azure File Share with the tools provided in Azure.Storage.Files.Shares. Downloading a file which contains more than 0 bytes works fine. However, in my integration tests, I am creating/downloading empty…
Collin Brittain
  • 301
  • 1
  • 3
  • 15