Web Apps - List Functions
列出網站的函式或部署位置的描述。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions?api-version=2023-12-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
name
|
path | True |
string |
網站名稱。 |
resource
|
path | True |
string |
資源所屬資源群組的名稱。 Regex pattern: |
subscription
|
path | True |
string |
您的 Azure 訂用帳戶識別碼。 這是 GUID 格式的字串 (例如 0000000000-0000-0000-0000-0000000000000) 。 |
api-version
|
query | True |
string |
API 版本 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
傳回的函式資訊。 |
|
404 Not Found |
標識符為 {functionName} 的函式未執行。 |
|
Other Status Codes |
App Service 錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
定義
名稱 | Description |
---|---|
Default |
App Service 錯誤回應。 |
Details | |
Error |
錯誤模型。 |
Function |
函式資訊。 |
Function |
Kudu 函式資訊專案的集合。 |
DefaultErrorResponse
App Service 錯誤回應。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤模型。 |
Details
名稱 | 類型 | Description |
---|---|---|
code |
string |
標準化字串,以程序設計方式識別錯誤。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
Error
錯誤模型。
名稱 | 類型 | Description |
---|---|---|
code |
string |
標準化字串,以程序設計方式識別錯誤。 |
details |
Details[] |
詳細的錯誤。 |
innererror |
string |
偵錯錯誤的詳細資訊。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
FunctionEnvelope
函式資訊。
名稱 | 類型 | Description |
---|---|---|
id |
string |
資源標識碼。 |
kind |
string |
資源種類。 |
name |
string |
資源名稱。 |
properties.config |
object |
設定資訊。 |
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。 |
type |
string |
資源類型。 |
FunctionEnvelopeCollection
Kudu 函式資訊專案的集合。
名稱 | 類型 | Description |
---|---|---|
nextLink |
string |
連結至下一頁的資源。 |
value |
資源的集合。 |