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

Azure IOT hub transmission fails

I am using the azure IOT sdk in an ESP32-based device to connect to the IOT hub using MQTT, sending messages with QOS 1. When the connection is good, all works exactly as intended. However, when we deploy to areas where the connectivity seems…
farhadf
  • 1,918
  • 3
  • 19
  • 27
1
vote
0 answers

Detecting when an Azure ServiceBus link has failed from the NodeJS client

I am using the azure-sdk-for-js to subscribe a permanently-running Node process to a service bus subscription. For some reason, when using registerMessageHandler it will work for a week, before failing without ever calling the registered error…
Alex Petty
  • 28
  • 3
1
vote
2 answers

How to move blob into subdirectory in Azure using node.js

I've got a node.js service that should donwload file from azure, process it and when its done- move it to a "done" subfolder within the same container. I've been digging in the documentation for over an hour and couldn't find any method to copy a…
Gibor
  • 1,695
  • 6
  • 20
1
vote
1 answer

how to get public IP of azure scale set instance from python API azure sdk?

I have assigned to each instance public IP (no Load Balancer ), i tried to get it's public IP from the python code but no luck, what i try so far : from azure.mgmt.compute import ComputeManagementClient from azure.common.credentials import…
Omer Anisfeld
  • 1,236
  • 12
  • 28
1
vote
1 answer

Memory Error:While reading a large .txt file from BLOB in python

I am trying to read a large (~1.5 GB) .txt file from Azure blob in python which is giving Memory Error. Is there a way in which I can read this file in an efficient way? Below is the code that I am trying to run: from azure.storage.blob import…
Shubham Singh
  • 91
  • 2
  • 12
1
vote
1 answer

how do you properly pass a command to a container when using "azure-arm-containerinstance" from azure node sdk?

just looking for some guidance on how to properly invoke a command when a container starts, when creating it via azure-arm-containerinstance package. There is very little documentation on this specific part and I wasn't able to find any examples out…
1
vote
1 answer

Download Azure function files through azure-sdk-for-go

I'm trying to find a way to download Azure function files through azure-sdk-for-go. Basically something similar to theirs portal. Will appreciate any help.
Alon Rolnik
  • 803
  • 1
  • 7
  • 12
1
vote
1 answer

How to check if website name provided is available and free in Azure SDK for dot net

I'm trying to create a web app in azure using azure.WebApps .Define(name) .WithExistingWindowsPlan(plan) .WithExistingResourceGroup(resourceGroupName) .CreateAsyn() Since the name must be globally unique, how can I check if the name exist already?
Dzior
  • 1,485
  • 1
  • 14
  • 30
1
vote
1 answer

Creating azure IoT device at IoT hub using azure python/java sdk

I am trying to create an IoT device at IOT HUB using python based azure-iot sdk. At present, I can create an IOT device(using AZ CLI or through dashboard) and can link it with my soft client(using connection string). But would like to implement the…
1
vote
1 answer

How to Verify Authentication of Microsoft Azure Storage Accounts When Called with Python SDK

Here is a working Python code. from azure.storage.blob import BlockBlobService accountName, key='stagingData', 'vZfqyMyHT3A==' blobService=BlockBlobService(account_name=accountName, account_key=key) It seems the blobService client object is…
Della
  • 1,264
  • 2
  • 15
  • 32
1
vote
1 answer

How can you detect which edition of Azure AD is in use via C#?

I need to determine if the edition of AzureAD in use is Premium or not. How do I determine that in C#?
1
vote
1 answer

Azure storage turn off automatic decompression

Hi I'm using python with the azure-sdk to download files from a storage blob. The following code is what I use. BLOB_SERVICE = BlockBlobService(account_name=AZURE_BLOB_SERVICE_ACCOUNT_NAME,…
Pablo Jomer
  • 9,870
  • 11
  • 54
  • 102
1
vote
1 answer

How to deploy an app using Kubernetes Azure and AWS SDK for java

public void runKubernetes() { KubernetesCluster k8sCluster = this.getKubernetesCluster("xyz-aks"); System.out.println("___________________________________________"); System.out.println("Kubernetes Cluster String: " +…
shraddha
  • 853
  • 5
  • 9
  • 20
1
vote
3 answers

Listing SQL Server Instances on Azure

I'm trying to implement code that uses the Azure Java SDK to list the SQL Server instances running on my Azure subscription. I followed the examples posted and wrote the following code: Azure azure =…
zuckermanori
  • 1,675
  • 5
  • 22
  • 31
1
vote
1 answer

Can I filter an Azure ServiceBusService using node.js SDK?

I have millions of messages in a queue and the first ten million or so are irrelevant. Each message has a sequential ActionId so ideally anything < 10000000 I can just ignore or better yet delete from the queue. What I have so far: let azure =…
imjared
  • 19,492
  • 4
  • 49
  • 72