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

Web Apps - List Functions

列出网站或部署槽的函数的说明。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions?api-version=2025-03-01

URI 参数

名称 必需 类型 说明
name
path True

string

网站名称。

resourceGroupName
path True

string

minLength: 1
maxLength: 90

资源组的名称。 此名称不区分大小写。

subscriptionId
path True

string (uuid)

目标订阅的 ID。 该值必须是 UUID。

api-version
query True

string

minLength: 1

要用于此操作的 API 版本。

响应

名称 类型 说明
200 OK

FunctionEnvelopeCollection

Azure作已成功完成。

404 Not Found

服务器找不到请求的资源。

Other Status Codes

DefaultErrorResponse

意外错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
user_impersonation 模拟用户帐户

定义

名称 说明
createdByType

创建资源的标识的类型。

DefaultErrorResponse

应用服务错误响应。

DefaultErrorResponseError

错误模型。

DefaultErrorResponseErrorDetailsItem

详细错误。

FunctionEnvelope

功能信息。

FunctionEnvelopeCollection

捻角羚功能信息元素的集合。

systemData

与创建和上次修改资源相关的元数据。

createdByType

创建资源的标识的类型。

说明
User
Application
ManagedIdentity
Key

DefaultErrorResponse

应用服务错误响应。

名称 类型 说明
error

DefaultErrorResponseError

错误模型。

DefaultErrorResponseError

错误模型。

名称 类型 说明
code

string

标准化字符串,以编程方式识别错误。

details

DefaultErrorResponseErrorDetailsItem[]

详细错误。

innererror

string

调试错误的更多信息。

message

string

详细的错误描述和调试信息。

target

string

详细的错误描述和调试信息。

DefaultErrorResponseErrorDetailsItem

详细错误。

名称 类型 说明
code

string

标准化字符串,以编程方式识别错误。

message

string

详细的错误描述和调试信息。

target

string

详细的错误描述和调试信息。

FunctionEnvelope

功能信息。

名称 类型 说明
id

string (arm-id)

资源的完全限定资源 ID。 例如,“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”

kind

string

资源类型。

name

string

资源的名称

properties.config

配置信息。

properties.config_href

string

配置 URI。

properties.files

object

文件列表。

properties.function_app_id

string

函数应用 ID。

properties.href

string

函数 URI。

properties.invoke_url_template

string

调用 URL

properties.isDisabled

boolean

获取或设置一个值,该值指示是否禁用函数

properties.language

string

函数语言

properties.script_href

string

脚本 URI。

properties.script_root_path_href

string

编写根路径 URI 脚本。

properties.secrets_file_href

string

机密文件 URI。

properties.test_data

string

通过 Azure 门户进行测试时使用的测试数据。

properties.test_data_href

string

测试数据 URI。

systemData

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

type

string

资源类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

FunctionEnvelopeCollection

捻角羚功能信息元素的集合。

名称 类型 说明
nextLink

string (uri)

指向下一页项目的链接

value

FunctionEnvelope[]

本页的功能信封项目

systemData

与创建和上次修改资源相关的元数据。

名称 类型 说明
createdAt

string (date-time)

资源创建时间戳(UTC)。

createdBy

string

创建资源的标识。

createdByType

createdByType

创建资源的标识的类型。

lastModifiedAt

string (date-time)

上次修改的资源时间戳(UTC)

lastModifiedBy

string

上次修改资源的标识。

lastModifiedByType

createdByType

上次修改资源的标识的类型。