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

Workflow Versions - Get

获取工作流版本。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}?api-version=2023-12-01

URI 参数

名称 必需 类型 说明
name
path True

string

站点名称。

resourceGroupName
path True

string

资源所属的资源组的名称。

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

subscriptionId
path True

string

Azure 订阅 ID。 这是一个 GUID 格式的字符串, (例如 00000000-0000-0000-0000-0000000000000) 。

versionId
path True

string

工作流 versionId。

workflowName
path True

string

工作流名称。

api-version
query True

string

API 版本

响应

名称 类型 说明
200 OK

WorkflowVersion

确定

Other Status Codes

ErrorResponse

描述操作失败原因的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 流

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

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

Get a workflow version

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/hostruntime/runtime/webhooks/workflow/api/management/workflows/test-workflow/versions/08586676824806722526?api-version=2023-12-01

Sample Response

{
  "properties": {
    "createdTime": "2018-04-25T01:39:21.4365247Z",
    "changedTime": "2018-08-09T22:54:54.3533634Z",
    "version": "08586677515911718341",
    "definition": {
      "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
      "contentVersion": "1.0.0.0",
      "parameters": {},
      "triggers": {},
      "actions": {},
      "outputs": {}
    },
    "parameters": {},
    "endpointsConfiguration": {
      "workflow": {
        "outgoingIpAddresses": [],
        "accessEndpointIpAddresses": []
      },
      "connector": {
        "outgoingIpAddresses": []
      }
    }
  },
  "id": "/workflows/test-workflow",
  "name": "test-workflow",
  "type": "/workflows/versions"
}

定义

名称 说明
ErrorProperties

错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。

ErrorResponse

错误响应指示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。

FlowAccessControlConfiguration

访问控制配置。

FlowAccessControlConfigurationPolicy

访问控制配置策略。

FlowEndpoints

流终结点配置。

FlowEndpointsConfiguration

终结点配置。

IpAddress

IP 地址。

IpAddressRange

IP 地址范围。

Object
OpenAuthenticationAccessPolicies

Open 类型的 AuthenticationPolicy。

OpenAuthenticationAccessPolicy

打开用户定义的身份验证访问策略。

OpenAuthenticationPolicyClaim

打开身份验证策略声明。

OpenAuthenticationProviderType

打开身份验证策略提供程序类型。

ParameterType

参数类型。

ResourceReference

资源引用。

WorkflowParameter

工作流参数。

WorkflowProvisioningState

工作流预配状态。

WorkflowSku

SKU 类型。

WorkflowSkuName

SKU 名称。

WorkflowState

工作流状态。

WorkflowVersion

工作流版本。

ErrorProperties

错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。

名称 类型 说明
code

string

错误代码。

message

string

指示操作失败原因的错误消息。

ErrorResponse

错误响应指示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。

名称 类型 说明
error

ErrorProperties

错误属性。

FlowAccessControlConfiguration

访问控制配置。

名称 类型 说明
actions

FlowAccessControlConfigurationPolicy

工作流操作的访问控制配置。

contents

FlowAccessControlConfigurationPolicy

用于访问工作流运行内容的访问控制配置。

triggers

FlowAccessControlConfigurationPolicy

用于调用工作流触发器的访问控制配置。

workflowManagement

FlowAccessControlConfigurationPolicy

工作流管理的访问控制配置。

FlowAccessControlConfigurationPolicy

访问控制配置策略。

名称 类型 说明
allowedCallerIpAddresses

IpAddressRange[]

允许的调用方 IP 地址范围。

openAuthenticationPolicies

OpenAuthenticationAccessPolicies

工作流的身份验证策略。

FlowEndpoints

流终结点配置。

名称 类型 说明
accessEndpointIpAddresses

IpAddress[]

访问终结点 IP 地址。

outgoingIpAddresses

IpAddress[]

传出 IP 地址。

FlowEndpointsConfiguration

终结点配置。

名称 类型 说明
connector

FlowEndpoints

连接器终结点。

workflow

FlowEndpoints

工作流终结点。

IpAddress

IP 地址。

名称 类型 说明
address

string

地址。

IpAddressRange

IP 地址范围。

名称 类型 说明
addressRange

string

IP 地址范围。

Object

OpenAuthenticationAccessPolicies

Open 类型的 AuthenticationPolicy。

名称 类型 说明
policies

<string,  OpenAuthenticationAccessPolicy>

打开身份验证策略。

OpenAuthenticationAccessPolicy

打开用户定义的身份验证访问策略。

名称 类型 说明
claims

OpenAuthenticationPolicyClaim[]

访问策略声明。

type

OpenAuthenticationProviderType

OAuth 的提供程序类型。

OpenAuthenticationPolicyClaim

打开身份验证策略声明。

名称 类型 说明
name

string

声明名称。

value

string

声明的值。

OpenAuthenticationProviderType

打开身份验证策略提供程序类型。

名称 类型 说明
AAD

string

ParameterType

参数类型。

名称 类型 说明
Array

string

Bool

string

Float

string

Int

string

NotSpecified

string

Object

string

SecureObject

string

SecureString

string

String

string

ResourceReference

资源引用。

名称 类型 说明
id

string

资源 ID。

name

string

获取资源名称。

type

string

获取资源类型。

WorkflowParameter

工作流参数。

名称 类型 说明
description

string

说明。

metadata

Object

元数据。

type

ParameterType

类型。

value

Object

值。

WorkflowProvisioningState

工作流预配状态。

名称 类型 说明
Accepted

string

Canceled

string

Completed

string

Created

string

Creating

string

Deleted

string

Deleting

string

Failed

string

InProgress

string

Moving

string

NotSpecified

string

Pending

string

Ready

string

Registered

string

Registering

string

Renewing

string

Running

string

Succeeded

string

Unregistered

string

Unregistering

string

Updating

string

Waiting

string

WorkflowSku

SKU 类型。

名称 类型 说明
name

WorkflowSkuName

名称。

plan

ResourceReference

对计划的引用。

WorkflowSkuName

SKU 名称。

名称 类型 说明
Basic

string

Free

string

NotSpecified

string

Premium

string

Shared

string

Standard

string

WorkflowState

工作流状态。

名称 类型 说明
Completed

string

Deleted

string

Disabled

string

Enabled

string

NotSpecified

string

Suspended

string

WorkflowVersion

工作流版本。

名称 类型 说明
id

string

资源 ID。

location

string

资源位置。

name

string

获取资源名称。

properties.accessControl

FlowAccessControlConfiguration

访问控制配置。

properties.accessEndpoint

string

获取访问终结点。

properties.changedTime

string

获取更改的时间。

properties.createdTime

string

获取创建时间。

properties.definition

Object

定义。

properties.endpointsConfiguration

FlowEndpointsConfiguration

终结点配置。

properties.integrationAccount

ResourceReference

集成帐户。

properties.parameters

<string,  WorkflowParameter>

参数。

properties.provisioningState

WorkflowProvisioningState

预配状态。

properties.sku

WorkflowSku

SKU。

properties.state

WorkflowState

状态。

properties.version

string

获取版本。

tags

object

资源标记。

type

string

获取资源类型。