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
0
votes
1 answer

What is the difference between RetryOptions and RequestRetryOptions?

I am working with the Azure SDK for Java and specifically with blob storage and I am using the SpecializedBlobClientBuilder. My question is around the various retry options: SpecializedBlobClientBuilder retryOptions(RequestRetryOptions…
Dfarrelly
  • 695
  • 2
  • 7
  • 24
0
votes
0 answers

using Azure::Data::Table and pagination, Values is not accessible (C++ CLR)

I have a code Azure::Pageable^ response = table->Query(filter, maxPerPage, selection, cancellationToken); auto pages = response->AsPages(ContinuationToken, maxPerPage); auto enumerator =…
user2300947
  • 450
  • 4
  • 14
0
votes
1 answer

How can I run EAST / custom pytorch code on Azure Machine Learning?

I train EAST locally without no problems: https://github.com/foamliu/EAST But the thing is, I need to train it on the cloud / on Azure Machine Learning and all I can see there are "Notebooks". Is there a way that I can access the azure SDK directly…
Ericson Willians
  • 7,606
  • 11
  • 63
  • 114
0
votes
0 answers

Mock the creation of a subscription with Azure SDK in .net

for testing I need to mock the creation of Azure Subscriptions. I am using the Azure SDK with version "1.6.0". The code which needs to be tested looks like: ... tenantResource = ... // I am able to get a mocked version of the tenantResource …
0
votes
1 answer

How can we create an Azure VM with trusted launch enabled with Azure Java SDK?

Like the title suggests, I've spent some time reading sdk documents and testing but had no luck so far finding a method under AzureResourceManager.virtualMachine would allow me to explicitly set the VM to enable trusted launch feature at…
0
votes
1 answer

Using C# Azure.Storage.Files.DataLake to download datalake blobs (ideally in parallel)

I'd like to figure out how to download the files from a ADLS2 Storage blob directory - I have only a SAS url to the said directory, and I would like to recursively download all the files in that directory, hopefully in parallel. It is very clear how…
sargeMonkey
  • 606
  • 1
  • 7
  • 23
0
votes
1 answer

Azure.ResourceManager.Resources.SubscriptionResources.GetResourceGroups() returning empty

For the code below, it is getting the search service if using Microsoft.Azure.Management.Search. It is not getting the resource group if using Azure.ResourceManager.Resources. public static async Task
Jonas Arcangel
  • 2,085
  • 11
  • 55
  • 85
0
votes
1 answer

Creating an Azure SQL Server without Microsoft.Azure.Management.Sql.Fluent

I want to programmatically create an Azure SQL Server and I found an example piece of code online static void CreateServer() { // Create a SQL Database management client SqlManagementClient sqlClient = new SqlManagementClient(new…
DinahMoeHumm
  • 185
  • 10
0
votes
1 answer

azue sdk go - containers

can i list the parameters of my container or my storage account using azure for go sdk? i want to list something like storage capacity etc this is my code: func GetContainer() gin.HandlerFunc { return func(c *gin.Context) { err :=…
0
votes
1 answer

Filtering virtual machines on azure python sdk

I've been trying to filter virtual machines while fetching it using the ComputeClientManager list function. based on the documentation the list function 2nd argument is a string which represents a filter to filter the virtual machines by. that is…
0
votes
1 answer

AzureML data_collector is not a known attribute of class ManagedOnlineDeployment and will be ignored

online_endpoint_name = "p2b-sample-endpoint" # create an online endpoint endpoint = ManagedOnlineEndpoint( name=online_endpoint_name, description="this is a sample online endpoint", auth_mode="key", tags={"foo":…
Kaushik J
  • 962
  • 7
  • 17
0
votes
1 answer

cascading use of MS TTS speakTextAsync() does not work synchronously

I use a browser javascript Speech SDK with cascading use of MS TTS speakTextAsync() : I expected the text to be spoken in sync, but the phrases overlap each other. I will be grateful for any hints ... async function f(){ await…
0
votes
1 answer

How to unzip a blob programmatically using Azure Data Factory

I am following the quickstart tutorial on using the python azure sdk to copy a blob from one container to the next. This works in transferring the blob, but I'd like the blob in the receiving/sink container to be unzipped (basically what this…
0
votes
0 answers

Azure CSI secrets provider mounting error

I am using Azure CSI secrets provider. I am deploying it correctly I feel. I am running a job that runs software I made with golang that does the following in this order. Creates a new Azure user managed identity (az go sdk) Gives the new user…
0
votes
1 answer

Managing AppRoles using Azure SDK for python, or Microsoft Graph API

I am lost in my searches, and cannot find any specific documentation regarding creating/Deleting,... App Roles. My aim is to create an App Roles, preferably using python, here is my code import requests from msal import…
GeoCom
  • 1,290
  • 2
  • 12
  • 33