<t>There are various ways to find the sku and capabilities for resources. This link references a few options for you: https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-sku-not-available-errors<br/>
<br/>
The current server farm descriptions are:<br/>
<br/>
name Tier Full name<br/>
D1 Shared an D1 Shared<br/>
F1 Free an F1 Free<br/>
B1 Basic an B1 Basic<br/>
B2 Basic an B2 Basic<br/>
B3 Basic an B3 Basic<br/>
S1 Standard an S1 Standard<br/>
S2 Standard an S2 Standard<br/>
S3 Standard an S3 Standard<br/>
P1 Premium an P1 Premium<br/>
P2 Premium an P2 Premium<br/>
P3 Premium an P3 Premium<br/>
P1V2 PremiumV2 an P1V2 PremiumV2<br/>
P2V2 PremiumV2 an P2V2 PremiumV2<br/>
P3V2 PremiumV2 an P3V2 PremiumV2<br/>
I1 Isolated an I2 Isolated<br/>
I2 Isolated an I2 Isolated<br/>
I3 Isolated an I3 Isolated<br/>
Y1 Dynamic a function consumption plan<br/>
<br/>
```<br/>
<br/>
to deploy a server farm use this resource definition in ARM:<br/>
<br/>
```<br/>
{<br/>
"type": "Microsoft.Web/serverfarms",<br/>
"apiVersion": "2016-09-01",<br/>
"name": "[parameters('hostingPlanName')]",<br/>
"location": "[resourceGroup().location]",<br/>
"properties": {<br/>
"name": "[parameters('hostingPlanName')]"<br/>
},<br/>
"sku": {<br/>
"name": "[parameters('hostingPlanSkuName')]",<br/>
"tier": "[parameters('hostingPlanSkuTier')]"<br/>
}<br/>
}<br/>
<br/>
```<br/>
<br/>
alternatively for a consumption plan; you can use a more specific api version:<br/>
<br/>
```<br/>
{<br/>
"type": "Microsoft.Web/serverfarms",<br/>
"apiVersion": "2015-04-01",<br/>
"name": "[variables('hostingPlanName')]",<br/>
"location": "[resourceGroup().location]",<br/>
"properties": {<br/>
"name": "[variables('hostingPlanName')]",<br/>
"computeMode": "Dynamic",<br/>
"sku": "Dynamic"<br/>
}<br/>
}<br/>
<br/>
```<br/>
<br/>
<br/>
is there an Y2 consumption plan?<br/>
<br/>
Currently, Azure does not support this, Azure only support one type consumption plan.<br/>
<br/>
More information about this please r<br/>
<br/>
*(Réponse tronquée)*</t>