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
2 answers

Receive pending message in Azure Service Bus queue with Java program?

I am working on receiving pending messages in Azure Service Bus queue. I have created a queue (SampleQueue) in Azure ServiceBus and I am able to send the message successfully in that queue via POSTMAN using a SAS token which I generate with my Java…
Rudra Singh
  • 95
  • 2
  • 19
1
vote
1 answer

How to dissociate PublicIpAddress from LoadBalancer in Azure using Java client?

I have a public Ip address in Azure that is associated with a load balancer. I am trying to use the Java client to dissociate the LB from the IP. I have attempted quite a few things but the last attempt was the following: LoadBalancer lb =…
Old Schooled
  • 1,222
  • 11
  • 22
1
vote
1 answer

Azure AD Authentication redirect loop

I have a Java Web App which is integrated with Azure AD. Now when I run the app locally, everything works fine. But When I deploy the WAR file to the Azure App Service, the authentication redirection seems to be going in an infinite loop. The…
AhmedVali
  • 185
  • 2
  • 16
1
vote
1 answer

Azure Java SDK: How to disable logging to console?

I'm developing an application using Azure's Java SDK and Maven. This application sends data to an IoT Hub and some other functionalities that are not important for the scope of the question. I implemented my own logging inside the application by…
Eugenio
  • 1,013
  • 3
  • 13
  • 33
1
vote
2 answers

Time Triggered Java Azure Function is not working for CRON in minutes 0 */5 * * * * or other step minutes

As per Function configuration, it has to fire every 5 minutes but the function is not triggered at all.It does trigger if I change it to seconds configuration 0/45 * * * * *. @FunctionName("TestFunction") public void TestFunction( …
Kumar
  • 182
  • 13
1
vote
1 answer

LDAP Authentication Fails in Azure App Service

I have created a Java web app and deployed it on Azure App Service. In the app, we are providing users with a Login Page and upon submitting the credentials the users are authenticated using LDAP. This is working when deployed locally. When I deploy…
1
vote
1 answer

Azure Java program blocks when trying to retrieve Managed Service Identity credentials

I have enabled the System generated Managed Service Identity for my Azure Linux server and I have also granted this VM access to a Key Vault. I have verified this is working by using curl on the command line to retrieve a token, then use the token…
plex4r
  • 243
  • 1
  • 2
  • 15
1
vote
1 answer

Azure Storage Java SDK Check If Blob exist?

Using the new V10 SDK, is there a way to check if the blob exist before writing? Or should I set an infinite lease on every file that are successfully uploaded? https://github.com/Azure/azure-storage-java
Bits
  • 46
  • 1
  • 9
1
vote
0 answers

Spring boot + DocumentDB custom Query for searching documents

I have Spring Boot + DocumentDB application in which we need to implement a search API, The Search fields are part of nested Json are as below: { "id":"asdf123a", "name":"XYZ", add{ "city":"ABC" "pin":123456, } } I need…
Manjunath
  • 35
  • 6
1
vote
0 answers

Listing keys after encrypting a VM with the Java SDK

I have some code that appears to be working that encrypts the disks in a VM, based heavily on…
1
vote
0 answers

Azure Java Function (App Service Plan) can not use VPN

I've deployed a Java Function with the App Service Plan on Azure and also associated a VPN (connecting back to my data center) to that App Service Container. My application is trying to send an HTTP request to another server in my data center over…
1
vote
0 answers

CreateVirtualMachinesUsingCustomImageOrSpecializedVHD capture url not working

CreateVirtualMachinesUsingCustomImageOrSpecializedVHD.java sample program captures the VM and returns the capturedImageUri. However when i try to provision the vm using withStoredLinuxImage i run into this error. I dont have a storage account with…
user2071703
  • 305
  • 3
  • 8
1
vote
1 answer

Having a read/write region in Azure CosmosDB

Is it possible to make a given Region as both Read/Write in CosmosDB Geo Redundant setup. I am using Azure DocumentDB with Java SDK and tried to overwrite the location preference using the Connection policy as below ConnectionPolicy policy = new…
SaiVikas
  • 162
  • 1
  • 12
1
vote
0 answers

How to get Azure VM's disk utilization details using Java SDK or REST API?

I am able to get Azure VM's actual disk size by using Java SDK. But i want to know how much disk is utilized. Is there any way to get utilized size of disk using Java SDK or REST API?
Mr.Bob
  • 59
  • 3
1
vote
1 answer

Azure Data Lake Store Access Thru Proxy Using Java SDK

I could not see a way to set proxy in Azure Data Lake Store Client SDK. I am working in a corporate network and I have to set proxy while using Azure and ResourceManager classes (.withProxy(..)) to be able to access Azure. Am I missing something or…
user3499779
  • 23
  • 1
  • 6