Questions tagged [azure-java-sdk]

Windows Azure Java SDK provides quick integration support for Java platform with Microsoft's Azure services.

Microsoft has provided the artifact microsoft-windowsazure-api for Java developers wanting to integrate with Azure using a managed Java library instead of coding around the Azure REST API. The Azure Java SDK supports Maven on Windows, Linux, and Mac.

286 questions
1
vote
1 answer

Create a Azure Functions with the Java SDK

I want to create an Azure Functions with the Java SDK but I have some problem defining the trigger, my code to create the functions app is: FunctionApp function = azure.appServices().functionApps().manager() …
Victor
  • 31
  • 3
1
vote
1 answer

How do I access BlockBlobClient in Azure Storage JavaScript client library for browsers?

I'm attempting to use BlockBlobClient in a browser page to upload a file using a server-supplied sastoken / URL, similar to this C# code: var blob = new CloudBlockBlob(new Uri(assetUploadUrl)); blob.UploadFromFile(FilePath,…
1
vote
1 answer

Best way to use List Blob and BeginCopy async of azure java sdk v12.0.6

Requirement : I want to list blobs from container and then copy it to other storage account using azure java sdk version 12.0.6. I am facing same issue with listBlob and beginCopy method. Since I am also using async client, the spring boot…
sar
  • 99
  • 9
1
vote
1 answer

How to change the public access level of a blob in Azure using setAccessPolicy

How to change the blob access policy? At the moment I am able to create some test blobs using the azure quick start. This works great but the blobs have a public access level of private by default in my case. I want to set public access level from…
Tobias S
  • 331
  • 2
  • 18
1
vote
2 answers

How to use "com.azure" package for azure java sdk

It's specified in this page https://github.com/Azure/azure-sdk-for-java, Java 8 or later is required to use libraries under the com.azure package, for libraries under the com.microsoft.azure package Java 7 or later is required. Does that mean I…
Bomin
  • 1,619
  • 5
  • 24
  • 39
1
vote
0 answers

Azure Java SDK: container with multiple volumes

I need to mount 2 separate directories as volumes to a newly creted container. So far I've found the way to mount only one volume since there's no way to add a file share volume via withNewAzureFileShareVolume more than once. Here's my…
iozee
  • 1,339
  • 1
  • 12
  • 24
1
vote
1 answer

How to Set Retry Policy in Cosmos DB using java?

How i can set Retry policy where pushing record to cosmosDB using java. I want to retry pushing record if its failed to push record for first time. I want to retry pushing 5 time after an interval of 2 seconds. how i can make such changes in java i…
Mohit Singh
  • 401
  • 1
  • 10
  • 30
1
vote
2 answers

Java Api for Azure Cosmos Documents DB (SQL Api)

I have started to work with Azure Cosmos DB Sql Api. I have found two different Java APIs which can be used to manage this database: com.azure::azure-cosmos After following Quick start demo (available in the Azure portal Quick start section) I…
fascynacja
  • 1,625
  • 4
  • 17
  • 35
1
vote
1 answer

Microsoft storage emulator missing headers with azure sdk 12.4.0

I'm using Microsoft storage emulator for development and in concrete, the method that gives me an error is the exists(), the error is a null pointer exception. Looking deeply in the library, I was able to find that it was requesting a couple of…
rahpuser
  • 1,224
  • 10
  • 31
1
vote
1 answer

azure-java-sdk: Azure Java SDK installation without Maven

Due to my company's network policies, I am unable to use Maven to install Azure Java SDK. Is there any way at all to install Azure Java SDK without Maven? Thanks
Namta
  • 11
  • 1
1
vote
1 answer

Connecting to Azure service bus through proxy - Java

I am trying to implement the Azure service bus with help of java to receive messages from the queue but I am unable to connect to the service bus because of a proxy, I am getting a connection time exception i.e.…
1
vote
1 answer

Generated URLs for HTTPS connections are coming out as plain HTTP in Azure Web App

I have a Java webapp running on Tomcat deployed to Azure App Service. The authentication is handled via Azure AD. Everything seems to working fine in Local environment. When we deploy the app to Azure, the httpRequest.getScheme() always return HTTP…
1
vote
1 answer

Unable to get the authentication token after redirecting to web app

I'm working on implementing integrating Azure AD login authentication to my web app. I have created an account in azure development portal and registered my app details. my app URL -> https://my-sample-app/my.dashboard/ my redirect url is…
Heisenberg
  • 147
  • 1
  • 4
  • 14
1
vote
1 answer

Getting Undefined Sign-On URL error while redirecting from Azure to my app

I'm integrating Azure AD login authentication to my web app. I have created an account in azure development portal and registered my app details. while registering I didn't provide value for Application ID URI. but provided other details such as…
Heisenberg
  • 147
  • 1
  • 4
  • 14
1
vote
2 answers

Azure Java SDK v12 is not downloading a file asynchronously

I am writing a quick proof-of-concept for downloading images from Azure Blob Storage using the Java 12 Azure Storage SDK. The following code works properly when I convert it to synchronous. However, despite the subscribe() at the bottom of the…