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

What is the cause for the GoneException from the Cosmos DB with async requests?

I use the Cosmos Java driver 4.12.0 with the current Cosmos DB emulator. I need to write multiple documents in one step. My code works if I use the synchrone API. To improve the speed I try the asynchrone API and it is failing ever with a…
Horcrux7
  • 23,758
  • 21
  • 98
  • 156
0
votes
1 answer

How to get Resource Availability Statuses with Azure Java SDK

I want to find out the availability status of a resource in Azure. There is a REST API available for Resource Health. How is it possible to call this endpoint with the Azure Java SDK?
Bernhard
  • 602
  • 5
  • 16
0
votes
1 answer

How to create Azure Managed Disk Snapshot with Encryption and Network Access Policy?

I am trying to use the SDK to create a snapshot for the managed disk using the below azureSdkClients .getComputeManager() .snapshots() .define(snapshotName) .withRegion(disk.regionId) …
naiveBayes
  • 35
  • 1
  • 8
0
votes
1 answer

Sample for publish/subscribe with Azure Cosmos DB in Java

I need a pub/sub event message system with Azure Cosmos DB. I use Azure Cosmos DB Java SDK v4. I try with a ChangeFeedProcessor based on this sample…
0
votes
1 answer

Make Azure calls only through proxy

I'm trying to make my Azure instance use a proxy server for all the calls he makes. Im creating an azure instance: Azure azure = Azure.configure().withProxy(createProxy(hasProxy)).authenticate(credentials).withSubscription(subscriptionId) My create…
Zamkie
  • 97
  • 1
  • 6
0
votes
1 answer

Java, Azure Cosmos Query on 'null' value is not supported

I am querying on NULL value in java (on cosmos document db) but its throwing error, below is the Syntax: import com.azure.cosmos.models.CosmosQueryRequestOptions; import com.azure.spring.data.cosmos.core.generator.FindQuerySpecGenerator; import…
Shariq
  • 2,754
  • 2
  • 14
  • 8
0
votes
2 answers

Java variables in Azure Pipelines

We use Azure DevOps pipelines and I found the following strings during compiling: is it necessary for pipeline process (internal for azure) or something included, which is not necessary for us (we don't use Java apps in our solution)? Thanks
Oleg Sh
  • 8,496
  • 17
  • 89
  • 159
0
votes
1 answer

How to create/delete share access policy in azure blob storage using java?

How i can create or delete share access policy using java api. Unable to get any official documentation for creating access policy using java SDK. below is the azure blob dependency i am using in my procject Gradle dependency: compile group:…
Mohit Singh
  • 401
  • 1
  • 10
  • 30
0
votes
1 answer

Can we Reset SAS Url for azure blob storage?

How to create SAS url for azure blob storage using java How to generate azure blob storage SAS url using java? do we have any api where i can expire any existing sas url? Requirement: Generate any sas url with expiry time as 7 days and i want some…
Mohit Singh
  • 401
  • 1
  • 10
  • 30
0
votes
2 answers

Azure Java SDK BlobItem isPrefix is null when calling listBlobsByHierarchy

I am encountering an issue when trying to delete all blobs under a specific prefix/directory in my Azure Blob Storage. When running the code below, item.isPrefix() returns null. BlobContainerClient containerClient =…
edoDev
  • 551
  • 1
  • 4
  • 20
0
votes
1 answer

Spring Boot Starters for Azure java 11

I was following this document from Microsoft on spring boot on Azure, which state that I must use java 8 and not java 11 in order to use Spring Boot Starters for Azure, from the doc: "Spring Initializr uses Java 11 as the default version. To use the…
0
votes
1 answer

Azure App Configuration Feature Management

I am looking for a solution using Maven and Java (Not Spring) where I can upload all my Key and labels and flag value by Json to deploy. When I configure my project in Jenkins it should apply all the values which are changed. Kindly provide me some…
Kumar
  • 1,106
  • 4
  • 15
  • 33
0
votes
2 answers

How to refresh access token provided by TokenCredential / ClientSecretCredential by Azure Identity Java SDK?

I am trying to obtain an access token using the Azure Identity Java SDK and later refresh it using the refresh token. I use the following SDK: com.azure azure-identity
0
votes
1 answer

How to have multiple instances of changefeed listeners get the same message: Java

We are using Cosmos Changefeed listeners to update the edge cache in ephemeral java services. That means, all the arbitrary number of instances should receive every changefeed. We used UUID as the "hostname" but not all instances are getting the…
so-random-dude
  • 15,277
  • 10
  • 68
  • 113
0
votes
1 answer

How properly test credentials used by Azure SDK client are valid

I'm trying to create a function that given Azure credentials check if they are valid. In this case, I'm taking ADLS account name and account key credentails. The Azure Java SDK does not provide an API for this, os I'm doing the following…
bachr
  • 5,780
  • 12
  • 57
  • 92