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

azure java using ACS filter- how to?

i cant figure out how to use/configure the azure ACS for use in my azure hosted jetty webapp. I have read the azure acs with eclipse plugin but i am still clueless as i am not using the eclipse ACSfilter plugin. is there a simple 'how to' on…
lpic
  • 560
  • 1
  • 7
  • 20
0
votes
2 answers

KeyVault integration - [Fatal Error] :1:1: Premature end of file

I have been trying to write some basic code to test out Azure KeyVault. At the moment (as you can see from the console log), I can authenticate but KeyVaultClient just fails with a [Fatal Error] :1:1: Premature end of file. There seems to be a bit…
Little Code
  • 1,315
  • 2
  • 16
  • 37
0
votes
1 answer

getting error generating jar from azure sdk for java

I have a project setup from the code here: Azure Storage Java in intellij. I used the option 3 - downloaded the source code and set it up as a maven based project in Intellij. when I try to give the make command I get lot of errors - null pointer…
pri_dev
  • 11,315
  • 15
  • 70
  • 122
0
votes
1 answer

Get all resources available in a resourcegroup using Azure Java SDK

Hi I'm trying to getresourceNames available within a resourcegroup from Azure Java SDK. but couldn't find a proper method for the same. ArrayList groups =…
Harish Raj
  • 1,565
  • 3
  • 17
  • 27
0
votes
1 answer

Azure Service Management - "ForbiddenError: This operation is not allowed for this subscription."

I was trying to retrieve OS Data from the getVirtualMachineVMImagesOperations using the following way. ComputeManagementClient computeManagementClient = ComputeManagementService.create(config); System.out.println("OS…
Harish Raj
  • 1,565
  • 3
  • 17
  • 27
0
votes
1 answer

Azure retrieving the PublicIPAddress of VirtualMachines from Azure Java SDK

As the answer was Page Not Found, I was trying to retrieve size of Public IPs with the following code Configuration config = ManagementConfiguration.configure( new URI(uri), subscriptionId, keyStoreLocation, // the…
Harish Raj
  • 1,565
  • 3
  • 17
  • 27
0
votes
2 answers

MissingSubscriptionRegistration: The subscription is not registered to use namespace 'Microsoft.Storage'

Tried to run the CreateVMExample.java from Azure-Java-SDK VirtualMachine vm = ComputeHelper.createVM( resourceManagementClient, computeManagementClient, networkResourceProviderClient, storageManagementClient, …
Harish Raj
  • 1,565
  • 3
  • 17
  • 27
0
votes
1 answer

Azure Java SDK: ServiceException: ForbiddenError:

Tried the basic location retriever code (shown below) String uri = "https://management.core.windows.net/"; String subscriptionId = "XXXXXXXX-5fad-XXXXXX-9dfa-XXXXXX"; String keyStoreLocation = "D:\\test.jks"; String…
Harish Raj
  • 1,565
  • 3
  • 17
  • 27
0
votes
1 answer

In azure how to create a VM with deployment

I have a requirement that I need to create a VM using azure-java-sdk. When I tried to create a VM it is showing that invalid deployment Name. What is approach to create VM(Role) along with Cloud Service and Deployment using azure-java-sdk? I am…
Krishna
  • 353
  • 2
  • 15
0
votes
2 answers

where does the virtual machine files are stored in Windows Azure and how to retrieve them with Azure SDK?

where are the virtual machine files stored in windows azure and how to retrieve them programmatically with Azure Java SDK?
0
votes
1 answer

Retrieve List of networks for a subscription in windows azure with azure java sdk

How to Retrieve List of networks for a subscription in windows azure with azure sdk?
0
votes
2 answers

Windows Azure java sdk 0.4.6, CloudTableClient missing GetTableReference function

When i use the following to create a table in azure ( java ) CloudStorageAccount storageAccount = CloudStorageAccount.parse(storageConnectionString); CloudTableClient tableClient = storageAccount.createCloudTableClient(); CloudTable table =…
Bas van Rossum
  • 487
  • 5
  • 13
0
votes
1 answer

Azure Table query continuation token with Java SDK

I am writing the logic for pagination with Azure Java SDK. The obvious thought would be to store the last retrieved row's RowKey and use that in query next time. However for queries that go across partitions, I need to retrieve the…
rjha94
  • 4,292
  • 3
  • 30
  • 37
-1
votes
1 answer

How to Invoke Admin Level Authorized Azure HTTP Trigger Function

I've Created HttpTrigger Azure Java Functions with ADMIN LEVEL Authorization: Reference Document Link: https://vincentlauzon.com/2017/12/04/azure-functions-http-authorization-levels/ For Invoking Admin Authorized Azure Function, we need Host Keys…
-1
votes
1 answer

Create Azure AD application in customer Tenant

I have to create an application and service principal in the customer tenant using the partner tenant's app credentials as partner tenant is also an admin for all its customers. This should be done through with no user intervention. Is it possible…
1 2 3
19
20