Web Apps - Get Workflow
Web サイトの ID またはデプロイ スロットによってワークフロー情報を取得します。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}?api-version=2023-12-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
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)。 |
workflow
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z][a-z0-9]*$ |
ワークフロー名。 |
api-version
|
query | True |
string |
API バージョン |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
返されるワークフロー情報。 |
|
404 Not Found |
{workflowName} という名前のワークフローは存在しません。 |
|
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 | ユーザー アカウントを偽装する |
例
GET a workflow
要求のサンプル
応答のサンプル
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/stateful1",
"name": "testsite2/stateful1",
"type": "Microsoft.Web/sites/workflows",
"kind": "Stateful",
"location": "USAAnywhere",
"properties": {
"files": {
"workflow.json": {
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {},
"triggers": {}
}
},
"connections.json": {
"managedApiConnections": {
"office365": {
"api": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/office365"
},
"connection": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/connections/office365-1"
},
"connectionRuntimeUrl": "string",
"authentication": {
"type": "Raw",
"scheme": "Key",
"parameter": "@appsetting('office365-connectionKey')"
}
}
}
}
},
"flowState": "Enabled",
"health": {
"state": "Healthy"
}
}
}
定義
名前 | 説明 |
---|---|
Default |
App Service エラー応答。 |
Details | |
Error |
エラー モデル。 |
Error |
API から返されるエラー応答の本文。 |
Properties |
その他のワークフロー プロパティ。 |
Workflow |
ワークフロー プロパティの定義。 |
Workflow |
ワークフローの正常性を表します。 |
Workflow |
ワークフローの正常性状態を取得または設定します。 |
Workflow |
ワークフローの状態。 |
DefaultErrorResponse
App Service エラー応答。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
デバッグ エラーの詳細。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
ErrorEntity
API から返されるエラー応答の本文。
名前 | 型 | 説明 |
---|---|---|
code |
string |
基本的なエラー コード。 |
details |
エラーの詳細。 |
|
extendedCode |
string |
エラーの種類。 |
innerErrors |
内部エラー。 |
|
message |
string |
エラーの詳細。 |
messageTemplate |
string |
メッセージ テンプレート。 |
parameters |
string[] |
テンプレートのパラメーター。 |
target |
string |
エラーターゲット。 |
Properties
その他のワークフロー プロパティ。
名前 | 型 | 説明 |
---|---|---|
files |
object |
ファイルを取得または設定します。 |
flowState |
ワークフローの状態を取得または設定します。 |
|
health |
ワークフローの正常性を取得または設定します。 |
WorkflowEnvelope
ワークフロー プロパティの定義。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
kind |
string |
リソースの種類。 |
location |
string |
リソースの場所。 |
name |
string |
リソース名を取得します。 |
properties |
その他のワークフロー プロパティ。 |
|
type |
string |
リソースの種類を取得します。 |
WorkflowHealth
ワークフローの正常性を表します。
名前 | 型 | 説明 |
---|---|---|
error |
ワークフロー エラーを取得または設定します。 |
|
state |
ワークフローの正常性状態を取得または設定します。 |
WorkflowHealthState
ワークフローの正常性状態を取得または設定します。
値 | 説明 |
---|---|
Healthy | |
NotSpecified | |
Unhealthy | |
Unknown |
WorkflowState
ワークフローの状態。
値 | 説明 |
---|---|
Completed | |
Deleted | |
Disabled | |
Enabled | |
NotSpecified | |
Suspended |