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

VM provisioning fails on Azure Java SDK - beta 5

I am trying to create a Virtual Machine using the Azure Java SDK. I am working with the new beta 5 release, I have a working solution on beta 4. I started testing beta 5 and have not been able to provision a VM thus far. Even a simple create as…
nwarriorch
  • 337
  • 6
  • 16
0
votes
1 answer

How to check the health of application gateway in Azure

How to check the health of application gateway using java sdk. I need to perform a similar operation like below azure cli command using java sdk: azure network application-gateway backend-health show "$1" "$2" --json \ | jq -r…
0
votes
1 answer

Java: azure or azure-svc-mgmt-*

So when I search maven I find what seems to be two different com.microsoft.azure SDKs. There is the com.microsoft.azure.azure and then there is the com.microsoft.azure.azure-svc-mgmt-* JARs. What is the relationship between them? Which set is…
0
votes
1 answer

While deleting vm in Azure, last status that I get is 'Deleting' and that too in provisioningState field. How to get 'Deleted' status?

I am using Java api (azure-compute:version 0.9.0) to perform VM operation. I want to make sure cloud operation on VM is performed successfully. I am getting some issue in Delete operation. While beginDeleting(async) VM, I get Future and status in…
0
votes
1 answer

Azure: Attaching page blob created using storage API as a data disk to Virtual Machine.

I am tying to create a page blob using the storage API and add it as a disk to the Virtual Machine. Is there a way this can be done ? Currently when I create a blob and add it as the disk , the VM fails with provisioning state failed.
0
votes
2 answers

Not able to see application insight data for my sample java application, Failed to send, unexpected exception: Connection pool shut down

I'm using a "hello world" type java application to send some data to application insight, but not able to see any thing so far. I have followed the instructions so far. Created app insight resource in azure portal, used that instrumentaion key in…
0
votes
1 answer

Azure WADPerformanceCountertable query returning all records while querying for specific interval

How to get records for specific interval from Azure WADPerformanceCounters table using Java API? Tried following code, but its giving all records in table. It seems timestamp based filters are not working. Tried with PartitionKey, Timestamp,…
Prit
  • 73
  • 1
  • 10
0
votes
1 answer

How to get Cloud Service (Hosted Service) diagnostic data using Java API?

How to get Cloud Service (Hosted Service) diagnostic data using Java or Rest API? We can get DiagnosticsConnectionString from Azure Portal for Roles and using which we can query to WADPerformanceCounter Table (Storage API). Getting following…
Prit
  • 73
  • 1
  • 10
0
votes
1 answer

how to fech list of classic virtual machines using ARM

I'm using the latest java SDK for azure. When I fetch all VMs, I'm not getting VMs from the Virtual Machines (classic) ServiceClientCredentials credentials = new ApplicationTokenCredentials(client, tenant, key, AzureEnvironment.AZURE); Azure azure =…
0
votes
1 answer

Create multiple virtual machine instances in azure using java SDK without Scale Set

I am using java sdk for creating virtual machines in windows azure.But i can create only one instance of virtual machine at a time. I can use Scale Set for creating multiple virtual machine instances but i am not suppose to do that, because Scale…
0
votes
1 answer

how to code in right way with Azure table storage sdk for java servlet

i have a Servlet(Jersey2 + Jax-rs) API app running on Azure App Service. This API is retrieving data from Azure Table Storage and send back to client side. So here is my question, Which is better choice between "static method" and "instance" for…
0
votes
2 answers

Azure Java SDK - VHD upload

While trying to upload an VHD file to azure storage through java sdk getting following error Error : Response received. Status code = '400', Request ID = '33ed86f1-0001-0085-383d-c67f28000000', Content-MD5 = 'null', ETag = 'null', Date =…
0
votes
1 answer

SPARK Yarn: Service or property not registered for Azure ServiceBus JAVA SDK

I'm trying to get the SDK to work to send a simple message to the Azure Service Bus from a SPARK project. The code runs fine when i run it locally within a local spark context. But when i submit this to YARN, at first i had a hard time trying to…
Yasir K
  • 31
  • 4
0
votes
2 answers

Azure Service bus Relay with Java

I am trying to have a POC running, with which I can use Azure Service Bus relay with Java as backend. Azure Service Bus relay allow .NET libraries to integrate. There is no Java library available. If it is not possible with Java, is there any other…
0
votes
2 answers

Virtual Machine Scale Set support

Does the currently azure-java-sdk support Virtual Machine Scale Set creation? I've checked the java docs in http://azure.github.io/azure-sdk-for-java/ and could not find anything there.