29 questions
1
vote
1
answer
855
views
How to search different texts in multiple fields in Azure AI/Cognitive Search (Azure.search.documents)?
So, I want to have fields A, B, and C be searchable so that if I look search up some string "potato", it will look for that word in fields A, B, and C.
To do that, I created an index in ...
0
votes
1
answer
260
views
Azure blob API returns sure the value of Authorization header is formed correctly including the signature when uploading file to it
I am trying to use java SDK in order to connect to Azure Blob. On the method create if not exists I constantly get a general error.
StorageCredentials storageCredentials = new ...
0
votes
1
answer
321
views
How to Create an Alert Processing Rule using the Azure Monitor - Java SDK
I'm trying to create an Alert Processing Rule using the Azure Monitor SDK in Java, but I'm having trouble finding the right approach. I want to programmatically create an Alert Processing Rule
I have ...
1
vote
2
answers
760
views
Azure Spring Apps: deployment does not support the API version '2022-09-01-preview'
I trying to create and deploy my small Java Spring application to Azure Spring Apps.
With that I using Intellij Idea with Azure Plugin and/or maven azure-spring-apps-maven-plugin.
With Idea I can't ...
0
votes
1
answer
528
views
Is there a way to select a tenant in Azure Toolkit for IntelliJ?
Is there anyway to select a tenant that is not default when I log in via Azure Toolkit for IntelliJ ?
Once I sign in, there seems to be no way to change the tenant. How do I do that ?
It says this has ...
2
votes
1
answer
2k
views
getting error "Failed to get version of function(null)" in Intellij while running azure function
I am trying to run azure function in local in intellij.
While I run in local, I get this error in intellij :
when I click on configure, I see that the path is set correctly.
Now, I have tried ...
0
votes
1
answer
160
views
Azurefunctions plugin long azureFunctionsPackage execution
I'm using the com.microsoft.azure.azurefunctions.gradle.plugin in version 1.11.0 in my project and can run it successfully locally when running "gradlew clean azureFunctionsRun".
My issue is,...
0
votes
1
answer
310
views
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 ...
0
votes
1
answer
1k
views
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 ...
2
votes
1
answer
344
views
(Azure SDK java) How to Enable/Disable each Functions using Java program
I am using AzureResourceManager(java).
I am able to start/stop Functions by following.
FunctionApp app = azureResourceManager.functionApps().getById(id);
app.start();
FunctionApp app = ...
2
votes
1
answer
1k
views
Is there a way to output events with header data to Azure Event Hubs using Azure Functions in Java?
This question asks how to get event header data into the Function and the accepted answer says that there is a way.
How about the other side - is it possible to output events with header data? In the ...
0
votes
1
answer
1k
views
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([...
0
votes
1
answer
212
views
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 ...
0
votes
1
answer
451
views
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
...
1
vote
0
answers
1k
views
Configure Application Insights agent for Java Function Apps
I enabled the Application Insights agent for my Java Function App as described at How to enable distributed tracing for Java Function apps?
XDT_MicrosoftApplicationInsights_Java="1"
...
1
vote
2
answers
663
views
Skip "Installing function extensions if needed"
I use the maven-plugin-for-azure-functions to create a Java Function App with a custom Trigger Binding. The custom trigger is created by another .Net project and publishs its artifacts via an Azure ...
2
votes
1
answer
518
views
deploy sample springboot app (WebGoat) to Azure app service
New to Azure App Service, following https://learn.microsoft.com/en-us/azure/app-service/quickstart-java?tabs=javase&pivots=platform-linux, I am trying to experiment to deploy WebGoat to Azure App, ...
0
votes
1
answer
398
views
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 ...
1
vote
1
answer
90
views
Azure Toolkit for Eclipse buttons and "Sign in" not working
Azure Toolkit for Eclipse: v.3.25.0
Eclipse: Eclipse IDE for Enterprise Java Developers
JDK: 16
After I managed to install the package, the buttons are shown in the up menu but none of them seem to ...
0
votes
1
answer
249
views
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)...
1
vote
1
answer
984
views
Azure Toolkit for Intellij plugin incorrectly shows "No subscriptions" after Azure device logon
I have 2 Azure accounts both have subscription which I can see via portal.azure.com but when I login via the plugin on Intellij it claims I have no subscriptions which is blocking my use of the ...
0
votes
1
answer
4k
views
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-...
0
votes
1
answer
337
views
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
...
3
votes
1
answer
3k
views
Is there a way to get the headers data of events (EventHub) using @EventHubTrigger of Azure Functions in Java?
I have an Azure Function implemented with azure-functions-java-library that receives events from one EventHub and I'm using @EventHubTrigger, the problem is that I need the header data from an event ...
0
votes
1
answer
555
views
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 ...
0
votes
0
answers
2k
views
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 ...
1
vote
3
answers
1k
views
Unable to deploy Spring Boot application in Azure
I am tring to deploy Spring boot application in Azure and I followed exact steps as mentoned in microsoft official document https://learn.microsoft.com/en-us/azure/java/spring-framework/deploy-spring-...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
482
views
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?...