Partager via


WebsitesClient.GetAppServicePlan(String, String) Method

Definition

Gets the app service plan from the specified resource group

public Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.AppServicePlan GetAppServicePlan (string resourceGroupName, string appServicePlanName);
public Microsoft.Azure.Management.WebSites.Models.ServerFarmWithRichSku GetAppServicePlan (string resourceGroupName, string appServicePlanName);
member this.GetAppServicePlan : string * string -> Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.AppServicePlan
member this.GetAppServicePlan : string * string -> Microsoft.Azure.Management.WebSites.Models.ServerFarmWithRichSku
Public Function GetAppServicePlan (resourceGroupName As String, appServicePlanName As String) As AppServicePlan
Public Function GetAppServicePlan (resourceGroupName As String, appServicePlanName As String) As ServerFarmWithRichSku

Parameters

resourceGroupName
String

Name of the resource group

appServicePlanName
String

Name of the App Service Plan name

Returns

Microsoft.Azure.Management.WebSites.Models.ServerFarmWithRichSku

Object represents the AppServicePlan

Applies to