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

IPlatformInformation 接口

定义

注意

现已弃用此 API。

用于访问 AppService 计划信息、OS 和面向用户的 PL 的接口。

注意:此功能目前有限,但会随着对更多特定于平台的默认值的追求而增长。

[System.Obsolete]
public interface IPlatformInformation
[<System.Obsolete>]
type IPlatformInformation = interface
Public Interface IPlatformInformation
属性

方法

GetContainerName()
已过时.

在 linux 上运行时返回应用程序容器名称。

GetLinuxStampName()
已过时.

在 linux 上运行时返回应用程序标记名称。

GetLinuxTenant()
已过时.

在 linux 上运行时返回应用程序租户。

GetOperatingSystem()
已过时.

确定基础操作系统。

GetWorkerRuntimeType()
已过时.

确定基础辅助角色运行时。

IsInConsumptionPlan()
已过时.

确定基础计划是否为消耗量。

适用于