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.

オープン
#536 コメント 30 件 リアクション 1 件 担当者 2 名 @weidongxu-microsoft が担当を希望しています GitHub で見る
App Services Bug customer-reported Mgmt Service Attention
主要言語
Java
スター
97
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。