你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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