Questions tagged [azure-java-tools]
28 questions
0
votes
1 answer
Setting up gradle azurewebapp plugin for springboot deployment
I have a springboot webapp that i want to deploy to Azure. The app is springboot jar. I have been able to use azurewebapp plug in to achieve this but it is using OAUTH2 which limits integrating this deployment method into our CD (bitbucket).
So the…

Em Ae
- 8,167
- 27
- 95
- 162
0
votes
1 answer
How to send a binary message from Azure Function to Azure Service Bus
I used the following code to send some sample binary messages to a service bus from an Azure function, but on the service bus I always receive a message with the content "System.Byte[]" and the content type "text/plain". I also tried to read the…

user1610362
- 637
- 2
- 9
- 26
0
votes
1 answer
Azure Java functions TimerTrigger to fire on startup
Azure functions with C# provides a way to run the TimerTrigger at starts up time with RunOnStartup parameter as follows.
[FunctionName("TimeTrigger_Startup")]
public async Task Migrations([TimerTrigger("0 */4 * * * *", RunOnStartup = true)]…

Paramesh Korrakuti
- 1,997
- 4
- 27
- 39
0
votes
1 answer
Azure IMDS + Java SDK
Im pretty new to the Azure cloud world, so kinldy bare with my question.
I have the following requirements,
Fetch the azure vm name
Start and Stop this application from another application in the same vm.
For example:
Lets say we project A and B
A…

java_4_life
- 51
- 6
0
votes
1 answer
Function app EventhubTriggered Java, retries and failure
I am currently working in the Azure function app in java. Here is the scenario:
The function app is EventHubTriggered
Function app calls the endpoint (HTTPUrlConnection)
It gets the response back
Now, if the response is 200 OK then it's fine,…

Jasmine
- 135
- 3
- 16
0
votes
1 answer
SSL problems running azure-webapp-maven-plugin config
when running:
mvn com.microsoft.azure:azure-webapp-maven-plugin:1.14.0:config
I end up with
[ERROR] Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:1.14.0:config (default-cli) on project storingen-api: Max retries 0 times…

kenny
- 1,157
- 1
- 16
- 41
0
votes
1 answer
Azure Maven Plugin - Deployment Fails with wired error
mvn azure-functions:deploy fails with this wired error. Can you help me decipher the error.
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.10.0:deploy (default-cli) on project function-sample-azure:
Unknown…

Gul
- 21
- 3
0
votes
1 answer
azure-functions-maven-plugin issue: please downgrade the project compile version and try again
I am getting the next issue after running:
$ mvn azure-functions:deploy
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.9.0:deploy (default-cli) on project helidon-examples-microprofile-azure-functions: Your…

ravenskater
- 702
- 1
- 7
- 20
0
votes
1 answer
Unable to deploy my first Azure Spring Cloud application
I'm trying the QuickStart to running A Spring Boot in Azure Spring Cloud https://learn.microsoft.com/en-us/azure/spring-cloud/spring-cloud-quickstart?tabs=IntelliJ&pivots=programming-language-java
I download the spring starter with associated jars,…

user2395365
- 1,991
- 4
- 18
- 34
0
votes
1 answer
How to programatically encrypt azure VM data disks
I am creating an Azure VM running Linux programmatically via azure java sdk and I am looking to encrypt the drives. OS drives provide a nifty .withOSDiskEncryptionSettings method. But I am not seeing anything in the data disk documentation for…

Tim Zhukov-Khovanskiy
- 500
- 1
- 9
- 28
0
votes
0 answers
How to use SSL Cert in Java Code in Azure App Service
I am trying to call a back-end API from Java Client which uses SSL authentication. For .Net there is a snippet available on how to achieve this on MS documentation, but don't have any for Java.
I have added the Application Settings -…

AhmedVali
- 185
- 2
- 16
0
votes
1 answer
Azure API for Java
Tell me please, how can I get all options for instance on Azure using Java ?
For example, I mean all VM parameters: name, instance type, launch time and etc.
So that I can use them in my code and get a detailed message in case of all kinds of errors…

Kirill Sereda
- 469
- 1
- 10
- 25
0
votes
1 answer
How to connect Azure toolkit for intelliJ/Eclipse to national cloud like Mooncake?
I am using the Azure toolkit for intelliJ to deploy my Web App on azure. However, official sign in guidance do not cover national cloud like Mooncake (Azure for China). Any existing workaround on that?
So far, the sign in options in Azure toolkit…

Jun Han
- 13,821
- 7
- 26
- 31