Microsoft.Web/serverfarms
daolsyd01#
如何在创建之前确定特定订阅/位置中可用的Azure应用服务计划SKU?
$appservice = Get-AzAppServicePlan -Location "West US" foreach($app in $appservice){ $resourceGroup = $app.ResourceGroup $appName = $app.Name $resources = Get-AzResource -ResourceGroupName $resourceGroup | Where-Object { $_.ResourceName -eq $appName } $sku = $resources.Sku $skus += $sku }
或者
(Get-AzAppServicePlan -Location "West US").SKU
resources | where type =~ "Microsoft.Web/serverfarms" and location has "WestUS" | project sku
resources | where type =~ "Microsoft.Web/serverfarms" and subscriptionId has "xxxxx" | project sku.tier
1条答案
按热度按时间daolsyd01#
如何在创建之前确定特定订阅/位置中可用的Azure应用服务计划SKU?
或者