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

Authentication Azure Java SDK

I am using 1.0.0-beta4.1 Azure Java SDK. This is my code for authentication // TODO Auto-generated method stub String client = "xxxxxxxxxxx"; String tenant = "xxxxxxxxxxx"; String key = "xxxxxxxxxxx"; String subscriptionId =…
user1142317
  • 533
  • 1
  • 8
  • 20
2
votes
1 answer

Azure java: SAS identifier cannot be found for specified signed identifier

I'm using the SDK for java to crear a SAS to access a blob. This is the code: SharedAccessBlobPolicy policy = new SharedAccessBlobPolicy(); policy.setPermissionsFromString("r"); Calendar date = Calendar.getInstance(); Date expire = new…
moondaisy
  • 4,303
  • 6
  • 41
  • 70
2
votes
2 answers

azure java SDK interactive login support

Does Azure Java SDK support interactive login? I mean like the Azure CLI's "azure login" command. azure login …
Diepie
  • 772
  • 1
  • 8
  • 15
2
votes
1 answer

azure java sdk authentication

I would like to list available IP VM's in the new Azure portal using Java SDK. Couple of years back in the good old classic portal, I had followed the usual management certificate procedure to access vm's,create vm's and work with Azure…
Vikram
  • 543
  • 7
  • 20
2
votes
2 answers

Azure Java SDK - Where to get values for serviceName and deploymentName on new Portal

I am trying to use the Azure Java SDK to automate tasks for my azure virtual machines such as starting and stopping them at various stages of the day I was looking at the azure documentation for start virtual machine here The method signature in…
Damien
  • 4,081
  • 12
  • 75
  • 126
2
votes
2 answers

How to list custom images(that are captured from an ARM VM) using azure java sdk

How to get image that is captured from an azure VM created using ARM so that I can use it as a base image for all my subsequent VM creations with azure java sdk?
Dat
  • 73
  • 5
2
votes
2 answers

How to assign read write permissions to an AD application to manage resources using resource management api with Azure java sdk

I am trying to connect to Azure Resource Manager API using java sdk. I have an AD application which has "Windows Service Management API" permissions enabled. When running the test samples, I am hitting the following error when performing get call on…
Dat
  • 73
  • 5
2
votes
1 answer

Azure table storage: can't create a table with a CloudTableClient instance

I am following Azure's basic tutorial on Java API here: https://www.windowsazure.com/en-us/develop/java/how-to-guides/table-service/#CreateTable But encountered the following error: cannot find symbol symbol : method…
Tony Jiang
  • 442
  • 5
  • 16
1
vote
1 answer

Check Connection with Azure service bus using Java SDK

I am using Azure service bus with Java SDK. Currently not find any way where I can verify that connection is established or not. Is there any method or way where I can check connection is established with azure service bus? I tried and failed to…
1
vote
0 answers

Upload large file using azure java sdk more than 50k block

I'm trying to upload a file size of 230GB into azure block blob with the following code private void uploadFile(FileObject srcFile, FileObject destFile) throws Exception { try { BlobClient destBlobClient =…
Krishnan
  • 185
  • 3
  • 11
1
vote
1 answer

408 RequestTimeOutException CosmosEmulator java sdk

I have problem with cosmos emulator while read or write documents in parallel. It throw 408 RequestTimeOutException. But it works when documents created or read one by one. I also already check and found this issue appears in other users with…
Aquaelia
  • 73
  • 1
  • 6
1
vote
0 answers

Inconsistent TTL after forwarding to another queue on dead lettering (Azure service bus)

Input: I have two queues in service bus. First one has ttl for 10 mins, enabled dead lettering and forwards messages on dead lettering to the second queue. Second queue has unbounded ttl and dead lettering enabled. Scenario 1) I sent a message…
sansay61
  • 106
  • 9
1
vote
1 answer

KeyVaultClient and KeyVaultCredentials not present in new SDKs

We were using KeyVaultClient and KeyVaultCredentials classes as provided in the SDK - com.microsoft.azure azure-keyvault Recently got a warning that this library is deprecated and is divided into 3 libraries - azure-keyvault-security-certificates,…
adeveloper
  • 80
  • 1
  • 8
1
vote
1 answer

OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token

Why I am not able to call graphClient more then once? Code: public static void initializeGraphAuth(String authorizationCode) { List scopes = new ArrayList<>(); …
1
vote
2 answers

Azure Java SDK - Azure Authenticated Object - Expiry & Handling

I am trying to list the storage accounts of a given subscription and with that I am trying to pull all the blob end points of the subscription. The way it is done is as follows. a. create a cache with subscriptionId vs Azure.Authenticated object.…
1 2
3
19 20