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.

Aperta
#536 30 commenti 1 reazione 2 assegnatari Rivendicata da @weidongxu-microsoft Vedi su GitHub
App Services Bug customer-reported Mgmt Service Attention
Lingua principale
Java
Stelle
97
Fork
102
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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:

```java
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"?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.