I'm trying to create a Azure VM in Java with the Azure SDK and I want to use the following image but I get the following error:
Error message: 'Offer with PublisherId: 'bitnami' and OfferId: 'wordpress' not found
PurchasePlan purchasePlan = new PurchasePlan()
.withName("default")
.withProduct("wordpress")
.withPublisher("Bitnami");
VirtualMachine virtualMachine = azure.virtualMachines()
.define("another")
.withRegion(Region.FRANCE_CENTRAL)
.withExistingResourceGroup(resourceGroup)
.withExistingPrimaryNetworkInterface(networkInterface)
.withLatestLinuxImage("bitnami", "wordpress", "4-4")
.withRootUsername("azureuser")
.withRootPassword("Azure12345678")
.withComputerName("myVM")
.withPlan(purchasePlan)
.withExistingAvailabilitySet(availabilitySet)
.withSize("Standard_B1ls")
.create();