다음을 통해 공유


Workflows - Update

워크플로를 업데이트합니다.

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}?api-version=2016-06-01

URI 매개 변수

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

string

리소스 그룹 이름입니다.

subscriptionId
path True

string

구독 ID입니다.

workflowName
path True

string

워크플로 이름입니다.

api-version
query True

string

API 버전입니다.

요청 본문

Name 형식 Description
___location

string

리소스 위치입니다.

properties.definition

Object

정의입니다. Azure Logic Apps워크플로 정의 언어에 대한 스키마 참조를 참조하세요.

properties.integrationAccount

ResourceReference

통합 계정입니다.

properties.parameters

<string,  WorkflowParameter>

매개 변수입니다.

properties.sku

Sku

sku입니다.

properties.state

WorkflowState

주.

tags

object

리소스 태그입니다.

응답

Name 형식 Description
200 OK

Workflow

그래

보안

azure_auth

Azure Active Directory OAuth2 흐름.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Patch a workflow

샘플 요청

PATCH https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow?api-version=2016-06-01

{
  "properties": {
    "definition": {
      "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
      "contentVersion": "1.0.0.0",
      "parameters": {
        "$connections": {
          "defaultValue": {},
          "type": "Object"
        }
      },
      "triggers": {
        "manual": {
          "type": "Request",
          "kind": "Http",
          "inputs": {
            "schema": {}
          }
        }
      },
      "actions": {
        "Find_pet_by_ID": {
          "runAfter": {},
          "type": "ApiConnection",
          "inputs": {
            "host": {
              "connection": {
                "name": "@parameters('$connections')['test-custom-connector']['connectionId']"
              }
            },
            "method": "get",
            "path": "/pet/@{encodeURIComponent('1')}"
          }
        }
      },
      "outputs": {}
    },
    "parameters": {
      "$connections": {
        "value": {
          "test-custom-connector": {
            "connectionId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector",
            "connectionName": "test-custom-connector",
            "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector"
          }
        }
      }
    }
  },
  "___location": "brazilsouth",
  "tags": {}
}

샘플 응답

{
  "properties": {
    "provisioningState": "Succeeded",
    "createdTime": "2018-04-25T01:39:21.4365247Z",
    "changedTime": "2018-08-09T22:54:54.3533634Z",
    "state": "Enabled",
    "version": "08586677515911718341",
    "accessEndpoint": "http://tempuri.org",
    "integrationAccount": {
      "name": "test-integration-account",
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
      "type": "Microsoft.Logic/integrationAccounts"
    },
    "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": {}
  }
}

정의

Name Description
Object
ParameterType
ResourceReference

리소스 참조입니다.

Sku

sku 형식입니다.

SkuName

SKU 이름입니다.

Workflow

워크플로 유형입니다.

WorkflowParameter

워크플로 매개 변수입니다.

WorkflowProvisioningState
WorkflowState

Object

ParameterType

Description
NotSpecified
String
SecureString
Int
Float
Bool
Array
Object
SecureObject

ResourceReference

리소스 참조입니다.

Name 형식 Description
id

string

리소스 ID입니다.

name

string

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

type

string

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

Sku

sku 형식입니다.

Name 형식 Description
name

SkuName

이름입니다.

plan

ResourceReference

계획에 대한 참조입니다.

SkuName

SKU 이름입니다.

Description
NotSpecified
Free
Shared
Basic
Standard
Premium

Workflow

워크플로 유형입니다.

Name 형식 Description
id

string

리소스 ID입니다.

___location

string

리소스 위치입니다.

name

string

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

properties.accessEndpoint

string

액세스 엔드포인트를 가져옵니다.

properties.changedTime

string (date-time)

변경된 시간을 가져옵니다.

properties.createdTime

string (date-time)

만든 시간을 가져옵니다.

properties.definition

Object

정의입니다. Azure Logic Apps워크플로 정의 언어에 대한 스키마 참조를 참조하세요.

properties.integrationAccount

ResourceReference

통합 계정입니다.

properties.parameters

<string,  WorkflowParameter>

매개 변수입니다.

properties.provisioningState

WorkflowProvisioningState

프로비전 상태를 가져옵니다.

properties.sku

Sku

sku입니다.

properties.state

WorkflowState

주.

properties.version

string

버전을 가져옵니다.

tags

object

리소스 태그입니다.

type

string

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

WorkflowParameter

워크플로 매개 변수입니다.

Name 형식 Description
description

string

설명입니다.

metadata

Object

메타데이터입니다.

type

ParameterType

형식입니다.

value

Object

값입니다.

WorkflowProvisioningState

Description
NotSpecified
Accepted
Running
Ready
Creating
Created
Deleting
Deleted
Canceled
Failed
Succeeded
Moving
Updating
Registering
Registered
Unregistering
Unregistered
Completed

WorkflowState

Description
NotSpecified
Completed
Enabled
Disabled
Deleted
Suspended