Share via


Web Apps - Get Instance Workflow Slot

웹 사이트 또는 배포 슬롯에 대한 ID로 워크플로 정보를 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows/{workflowName}?api-version=2023-12-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
name
path True

string

사이트 이름입니다.

resourceGroupName
path True

string

리소스가 속한 리소스 그룹의 이름입니다.

Regex pattern: ^[-\w\._\(\)]+[^\.]$

slot
path True

string

배포 슬롯의 이름입니다.

subscriptionId
path True

string

Azure 구독 ID. GUID 형식 문자열입니다(예: 00000000-0000-0000-0000-0000-00000000000).

workflowName
path True

string

워크플로 이름입니다.

Regex pattern: ^[a-z][a-z0-9]*$

api-version
query True

string

API 버전

응답

Name 형식 Description
200 OK

WorkflowEnvelope

반환된 워크플로 정보입니다.

404 Not Found

이름이 {workflowName}인 워크플로가 없습니다.

Other Status Codes

DefaultErrorResponse

오류 응답을 App Service.

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

GET a workflow Slot

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/slots/staging/workflows/stateful1?api-version=2023-12-01

Sample Response

{
  "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"
    }
  }
}

정의

Name Description
DefaultErrorResponse

오류 응답을 App Service.

Details
Error

오류 모델.

ErrorEntity

API에서 반환된 오류 응답의 본문입니다.

Properties

추가 워크플로 속성입니다.

WorkflowEnvelope

워크플로 속성 정의입니다.

WorkflowHealth

워크플로 상태를 나타냅니다.

WorkflowHealthState

워크플로 상태를 가져오거나 설정합니다.

WorkflowState

워크플로 상태입니다.

DefaultErrorResponse

오류 응답을 App Service.

Name 형식 Description
error

Error

오류 모델.

Details

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

Error

오류 모델.

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

details

Details[]

자세한 오류입니다.

innererror

string

디버그 오류에 대한 자세한 정보입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

ErrorEntity

API에서 반환된 오류 응답의 본문입니다.

Name 형식 Description
code

string

기본 오류 코드입니다.

details

ErrorEntity[]

오류 세부 정보.

extendedCode

string

오류 유형입니다.

innerErrors

ErrorEntity[]

내부 오류입니다.

message

string

오류에 대한 모든 세부 정보입니다.

messageTemplate

string

메시지 템플릿.

parameters

string[]

템플릿에 대한 매개 변수입니다.

target

string

오류 대상입니다.

Properties

추가 워크플로 속성입니다.

Name 형식 Description
files

object

파일을 가져오거나 설정합니다.

flowState

WorkflowState

워크플로의 상태를 가져오거나 설정합니다.

health

WorkflowHealth

워크플로 상태를 가져오거나 설정합니다.

WorkflowEnvelope

워크플로 속성 정의입니다.

Name 형식 Description
id

string

리소스 ID입니다.

kind

string

리소스 종류입니다.

location

string

리소스 위치입니다.

name

string

리소스 이름을 가져옵니다.

properties

Properties

추가 워크플로 속성입니다.

type

string

리소스 종류를 가져옵니다.

WorkflowHealth

워크플로 상태를 나타냅니다.

Name 형식 Description
error

ErrorEntity

워크플로 오류를 가져오거나 설정합니다.

state

WorkflowHealthState

워크플로 상태를 가져오거나 설정합니다.

WorkflowHealthState

워크플로 상태를 가져오거나 설정합니다.

Name 형식 Description
Healthy

string

NotSpecified

string

Unhealthy

string

Unknown

string

WorkflowState

워크플로 상태입니다.

Name 형식 Description
Completed

string

Deleted

string

Disabled

string

Enabled

string

NotSpecified

string

Suspended

string