Web Apps - Get Function
Web サイトの ID またはデプロイ スロットで関数情報を取得するための説明。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}?api-version=2024-04-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 |
リソースの種類。 |