Azure / Azure/azure-libraries-for-java
The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.
Ouverte
@weidongxu-microsoft y travaille déjà.
Depuis le 2/9/2019.
App Services
Bug
customer-reported
Mgmt
Service Attention
- Langage dominant
- Java
- Étoiles
- 97
- Forks
- 102
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
When I am trying to deploy a new function app with a new resource group, I got this error:
The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.
But The resource group I'm using is a new one which has no resource there.
Here is a sample code snippet:
final FunctionApp.DefinitionStages.Blank functionApp = getAzureClient().appServices()
.functionApps().define("twhublinux");
final NewAppServicePlanWithGroup newAppServicePlanWithGroup = functionApp.withRegion(Region.US_WEST);
final WithCreate withCreate = newAppServicePlanWithGroup.withNewResourceGroup("twhublinuxgroup")
.withNewConsumptionPlan();
withCreate.create();
Is that because something wrong when parsing the name "twhublinux" / "twhublinuxgroup"?
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.