你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Web Apps - List Workflows Connections Slot

Lists逻辑应用的网站或部署槽的连接。

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

URI 参数

名称 必需 类型 说明
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-0000000000000) 。

api-version
query True

string

API 版本

响应

名称 类型 说明
200 OK

WorkflowEnvelope

返回Connections信息。

Other Status Codes

DefaultErrorResponse

App 服务错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 流

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

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

List the Instance Workflows Configuration Connections Slot

Sample Request

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

Sample Response

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflowconfigurations/connections",
  "name": "testsite2/connections",
  "type": "Microsoft.Web/sites/workflowsconfiguration",
  "location": "USAAnywhere",
  "properties": {
    "files": {
      "connections.json": {
        "managedApiConnections": {
          "office365": {
            "api": {
              "id": "string"
            },
            "connection": {
              "id": "string"
            },
            "connectionRuntimeUrl": "string",
            "authentication": {
              "type": "Raw",
              "scheme": "Key",
              "parameter": "@appsetting('office365-connectionKey')"
            }
          }
        }
      }
    },
    "health": {
      "state": "Healthy"
    }
  }
}

定义

名称 说明
DefaultErrorResponse

App 服务错误响应。

Details
Error

错误模型。

ErrorEntity

从 API 返回的错误响应的正文。

Properties

其他工作流属性。

WorkflowEnvelope

工作流属性定义。

WorkflowHealth

表示工作流运行状况。

WorkflowHealthState

获取或设置工作流运行状况。

WorkflowState

工作流状态。

DefaultErrorResponse

App 服务错误响应。

名称 类型 说明
error

Error

错误模型。

Details

名称 类型 说明
code

string

标准化字符串,用于以编程方式标识错误。

message

string

详细的错误说明和调试信息。

target

string

详细的错误说明和调试信息。

Error

错误模型。

名称 类型 说明
code

string

标准化字符串,用于以编程方式标识错误。

details

Details[]

详细错误。

innererror

string

调试错误的详细信息。

message

string

详细的错误说明和调试信息。

target

string

详细的错误说明和调试信息。

ErrorEntity

从 API 返回的错误响应的正文。

名称 类型 说明
code

string

基本错误代码。

details

ErrorEntity[]

错误详细信息。

extendedCode

string

错误类型。

innerErrors

ErrorEntity[]

内部错误。

message

string

错误的任何详细信息。

messageTemplate

string

消息模板。

parameters

string[]

模板的参数。

target

string

错误目标。

Properties

其他工作流属性。

名称 类型 说明
files

object

获取或设置文件。

flowState

WorkflowState

获取或设置工作流的状态。

health

WorkflowHealth

获取或设置工作流运行状况。

WorkflowEnvelope

工作流属性定义。

名称 类型 说明
id

string

资源 ID。

kind

string

资源类型。

location

string

资源位置。

name

string

获取资源名称。

properties

Properties

其他工作流属性。

type

string

获取资源类型。

WorkflowHealth

表示工作流运行状况。

名称 类型 说明
error

ErrorEntity

获取或设置工作流错误。

state

WorkflowHealthState

获取或设置工作流运行状况。

WorkflowHealthState

获取或设置工作流运行状况。

名称 类型 说明
Healthy

string

NotSpecified

string

Unhealthy

string

Unknown

string

WorkflowState

工作流状态。

名称 类型 说明
Completed

string

Deleted

string

Disabled

string

Enabled

string

NotSpecified

string

Suspended

string