0

When I get information about hosting plan of a webapp using Microsoft.WindowsAzure.Management.WebSites.Models.WebSite.Sku property I can get following options: Free, Shared, Basic, Standard.

But in the portal I see that Basic plan has small, middle and large instances (B1, B2, B3).

How can I determine instance size of current hosting plan using Azure.NET SDK?

Andriy Kozachuk
  • 743
  • 1
  • 13
  • 27

1 Answers1

2

ServerFarm.WorkerSize is the property you're looking for. It's a property of the App Service Plan, not the individual website.

BenV
  • 12,052
  • 13
  • 64
  • 92