Web Apps - Get Function
Web サイトの ID による関数情報の取得、またはデプロイ スロットの説明。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}?api-version=2025-03-01
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
function
|
path | True |
string |
関数名。 |
|
name
|
path | True |
string |
サイト名。 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
リソースが属するリソース グループの名前。 |
|
subscription
|
path | True |
string |
Azure のサブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-000000000000)。 |
|
api-version
|
query | True |
string |
API バージョン |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
返された関数情報。 |
|
| 404 Not Found |
名前が {functionName} の関数が存在しません。 |
|
| Other Status Codes |
App Service エラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| user_impersonation | ユーザー アカウントを偽装する |
定義
| 名前 | 説明 |
|---|---|
|
Default |
App Service エラー応答。 |
| Details | |
| Error |
エラー モデル。 |
|
Function |
関数情報。 |
DefaultErrorResponse
App Service エラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー モデル。 |
Details
| 名前 | 型 | 説明 |
|---|---|---|
| code |
string |
プログラムでエラーを識別するための標準化された文字列。 |
| message |
string |
詳細なエラーの説明とデバッグ情報。 |
| target |
string |
詳細なエラーの説明とデバッグ情報。 |
Error
エラー モデル。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
string |
プログラムでエラーを識別するための標準化された文字列。 |
| details |
Details[] |
詳細なエラー。 |
| innererror |
string |
エラーのデバッグに関する詳細情報。 |
| message |
string |
詳細なエラーの説明とデバッグ情報。 |
| target |
string |
詳細なエラーの説明とデバッグ情報。 |
FunctionEnvelope
関数情報。
| 名前 | 型 | 説明 |
|---|---|---|
| id |
string |
リソース ID。 |
| kind |
string |
リソースの種類。 |
| name |
string |
リソース名。 |
| properties.config |
object |
構成情報。 |
| 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 Portal を使用してテストするときに使用されるテスト データ。 |
| properties.test_data_href |
string |
テスト データ URI。 |
| type |
string |
リソースの種類。 |