共用方式為


Web Apps - List Functions

列出網站或部署位置的功能的描述。

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

URI 參數

名稱 位於 必要 類型 Description
name
path True

string

網站名稱。

resourceGroupName
path True

string

minLength: 1
maxLength: 90

資源群組的名稱。 名稱不區分大小寫。

subscriptionId
path True

string (uuid)

目標訂用帳戶的標識碼。 此值必須是 UUID。

api-version
query True

string

minLength: 1

用於此作業的 API 版本。

回應

名稱 類型 Description
200 OK

FunctionEnvelopeCollection

Azure 作業已順利完成。

404 Not Found

伺服器找不到要求的資源。

Other Status Codes

DefaultErrorResponse

未預期的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

定義

名稱 Description
createdByType

建立資源的身分識別類型。

DefaultErrorResponse

App Service 錯誤回應。

DefaultErrorResponseError

錯誤模型。

DefaultErrorResponseErrorDetailsItem

詳細的錯誤。

FunctionEnvelope

功能資訊。

FunctionEnvelopeCollection

Kudu函數資訊元素的集合。

systemData

與建立和上次修改資源相關的元數據。

createdByType

建立資源的身分識別類型。

Description
User
Application
ManagedIdentity
Key

DefaultErrorResponse

App Service 錯誤回應。

名稱 類型 Description
error

DefaultErrorResponseError

錯誤模型。

DefaultErrorResponseError

錯誤模型。

名稱 類型 Description
code

string

標準化字串,以程式設計方式識別錯誤。

details

DefaultErrorResponseErrorDetailsItem[]

詳細的錯誤。

innererror

string

偵錯錯誤的詳細資訊。

message

string

詳細的錯誤描述和偵錯資訊。

target

string

詳細的錯誤描述和偵錯資訊。

DefaultErrorResponseErrorDetailsItem

詳細的錯誤。

名稱 類型 Description
code

string

標準化字串,以程式設計方式識別錯誤。

message

string

詳細的錯誤描述和偵錯資訊。

target

string

詳細的錯誤描述和偵錯資訊。

FunctionEnvelope

功能資訊。

名稱 類型 Description
id

string (arm-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

函式應用程式識別碼。

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 Resource Manager 中繼資料。

type

string

資源的類型。 例如「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」

FunctionEnvelopeCollection

Kudu函數資訊元素的集合。

名稱 類型 Description
nextLink

string (uri)

專案下一頁的連結

value

FunctionEnvelope[]

本頁的功能信封項目

systemData

與建立和上次修改資源相關的元數據。

名稱 類型 Description
createdAt

string (date-time)

資源建立的時間戳(UTC)。

createdBy

string

建立資源的身分識別。

createdByType

createdByType

建立資源的身分識別類型。

lastModifiedAt

string (date-time)

上次修改的資源時間戳 (UTC)

lastModifiedBy

string

上次修改資源的身分識別。

lastModifiedByType

createdByType

上次修改資源的身分識別類型。