AppServiceEnvironmentv2MultiRolePoolsassignmentfailingwithbadrequest
创始人
2024-11-10 08:00:20
0

该问题可能是由于尝试在不同计划之间分配App Service环境v2多角色池造成的。解决该问题需要创建新的App Service计划并将多角色池与其相关联。要执行此操作,请使用以下代码示例:

$ResourceGroupName = yourResourceGroupName" $AseName = "yourAseName" $PlanName = "yourNewPlanName" $Location = "yourLocation"

Create a new plan for the ASE

$plan = New-AzAppServicePlan -ResourceGroupName $ResourceGroupName -Name $PlanName -Location $Location -Tier "Premium" -NumberofWorkers 1 ` -WorkerSize "Medium"

Get the ASE

$ase = Get-AzAppServiceEnvironment -ResourceGroupName $ResourceGroupName ` -Name $AseName

Create the MultiRole pool on the new plan

New-AzWebAppPool -ResourceGroupName $ResourceGroupName -AppServicePlanName $plan.Name -Name $ase.MultiRolePoolName -NumberOfWorkers $ase.MultiRoleSize -WorkerSize $ase.MultiRoleWorkerSize

Associate the MultiRole pool with the ASE

Set-AzAppServiceEnvironment -ResourceGroupName $ResourceGroupName -Name $AseName -MultiRolePoolExistingPlan $plan.Id"

请确保替换上述代码示例中的变量,使其与特定环境相适应。"

相关内容

热门资讯

透视计算!wpk透视是真的假的... 透视计算!wpk透视是真的假的,原先真的是有挂(透视)wpk教程(有挂规律)1)wpk透视是真的假的...
透视总结!哈糖大菠萝怎么挂,哈... 透视总结!哈糖大菠萝怎么挂,哈糖大菠萝可以开挂吗,黑科技教程(有挂技巧)1、许多玩家不知道哈糖大菠萝...
透视有挂!云扑克有透视吗,其实... 透视有挂!云扑克有透视吗,其实真的是有挂(透视)2025版教程(有挂黑科技)1、很好的工具软件,可以...
透视最新!fishpoker透... 透视最新!fishpoker透视底牌,pokemmo脚本辅助,揭秘教程(有挂攻略)1、该软件可以轻松...
透视规律!hh poker软件... 透视规律!hh poker软件,本来是有挂(透视)必赢方法(有挂技巧);1、hh poker软件ai...
透视安卓版!xpoker辅助工... 透视安卓版!xpoker辅助工具,线上德州的辅助器是什么,教你教程(有挂解说);1、透视安卓版!xp...
透视教程!pokemmo内置修... 透视教程!pokemmo内置修改器,从来是真的有挂(透视)2025新版教程(有挂脚本)1、完成pok...
辅助透视!wepoker透视有... 辅助透视!wepoker透视有吗,聚星ai辅助工具激活码,解密教程(有挂技巧)1、下载好聚星ai辅助...
透视科技!aapoker辅助器... 透视科技!aapoker辅助器是真的吗,一直真的是有挂(透视)新2025教程(有挂脚本)1、aapo...
透视ai代打!pokernow... 透视ai代打!pokernow辅助控制,pokemmo脚本辅助,专业教程(有挂攻略)1、许多玩家不知...