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

Azure Java SDK - Where have classes gone

I am using the Java sdk to try and automate some azure tasks like start a server and shutdown a server. I was using version 0.9.0 of the java sdk from the maven com.microsoft.azure
Damien
  • 4,081
  • 12
  • 75
  • 126
1
vote
2 answers

Use Microsoft Azure java SDK Resource Management API or Service Management API?

I am able to successfully connect to resource management API using Java SDK. Once the connection is successful, can I continue with ARM to list resources at subscription level like os images, locations, regions etc using ARM? Or do I need to again…
Dat
  • 73
  • 5
1
vote
1 answer

Use Azure Storage SDK for Java to copy VM page blob from one Azure subscription to another

I'm trying to use the Azure Storage SDK for Java to copy the page blob of an Azure VM (that is Stopped and Deallocated) from one Azure subscription to another. Here's the code I'm using: public class BlobCopyExampleClean { public static final…
jonbullock
  • 339
  • 1
  • 11
1
vote
1 answer

Which Azure storage management jar to use

I noticed that Azure's Java SDK has several maven dependencies which seem to be targeting the same thing, for instance, the following artifact ids: azure-management-storage:0.8.0 azure-mgmt-storage:0.8.0 azure-svc-mgmt-storage:0.8.0 It's the same…
vdimitrov
  • 981
  • 9
  • 16
1
vote
1 answer

Azure Eclipse Plugin - creating an azure deployment project

I have installed, on my Windows 8.1 laptop with Eclipse Kepler, the Eclipse Microsoft Azure Plugin. After creating a Dynamic Web Project I try to create a "New Azure Deployment Project" but I get an error message: "Error creating the project". What…
guyd
  • 465
  • 2
  • 7
  • 16
1
vote
1 answer

Azure Service Bus SAS acces through AZURE JAVA SDK

We are creating a project that uses SAS authorization for Azure Service Bus, we can properly use that authentication method through .NET api, the problem comes when trying to access through the Azure Java SDK. After some research the dev team from…
PizergSensing
  • 203
  • 3
  • 13
1
vote
0 answers

Page Blob download with Azure java SDK does not download the complete Blob

Trying to download a page blob of size 2 GB using java sdk and it fails with Storage exception because the file size downloaded does not match the actual file size On multiple tries the same result is seen, although there is slight change in the…
1
vote
2 answers

Map a war to root - JAVA Azure web role

I created a simple servlet in eclipse (as a dynamic web project) Installed the Azure SDK, Then i packaged the project for windows azure using the GUI, I want the app to be deployed to the root folder, So i can access it like…
Matan L
  • 997
  • 3
  • 14
  • 35
0
votes
1 answer

azure java sdk for az get token programatically

I am studying the azure java sdk and I did not find a wrapper method for az account get-access-token --resource api://xxxxx.microsoft.com/YYYY/ZZZZ This request works properly from windows batch but i cannot run using azure java sdk. I'll…
aurelianr
  • 538
  • 2
  • 12
  • 35
0
votes
1 answer

How to configure the timeout and retries on NetworkManager client

I want to control the timeout, connection retries number and the delay duration between the retries when the connection to the Azure NetworkManager failed. Here is how I connect to Azure: private void connect() { HttpClient httpClient =…
0
votes
1 answer

NoSuchFieldError: Companion for azure.application-insights

Currently migrating my spring-boot app to use the latest compatibile version for JDK 8. I'm currently receiving this error when running the spring-boot-app ightsTelemetryAutoConfiguration': Unsatisfied dependency expressed through constructor…
0
votes
0 answers

Azure Functions Java Worker sudden ClassNotFoundException of HTTP trigger handling class

We're using Azure Functions with Java worker handling incoming HTTP calls. Our functions were working just fine for more than 2 weeks properly handling incoming calls as presented on the screenshot, but for some reason they suddenly stopped…
SzymonJ
  • 1
  • 1
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

Could not resolve vimeo.stag for project

I keep getting this when running mvn clean install [ERROR] Failed to execute goal on project tomtom: Could not resolve dependencies for project com.sample:tomtom:jar:1.0.0: Could not find artifact com.vimeo.stag:stag-library:jar:1.0.0 in azure-sdk…
Nesan Mano
  • 1,892
  • 2
  • 26
  • 43
0
votes
1 answer

ServiceBusSessionReceiverAsyncClient throwing IllegalStateException During Close

When using the ServicebusSessionReceiverAsyncClient to receive a single message from a Service Bus Queue, an IllegalStateException is thrown. The message mentions trying to add credits to an already closed connection. I'm using take(1) and next()…