Workflows - Update
Updates alur kerja.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}?api-version=2016-06-01
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
resource
|
path | True |
string |
Nama grup sumber daya. |
subscription
|
path | True |
string |
Id langganan. |
workflow
|
path | True |
string |
Nama alur kerja. |
api-version
|
query | True |
string |
Versi API. |
Isi Permintaan
Nama | Jenis | Deskripsi |
---|---|---|
location |
string |
Lokasi sumber daya. |
properties.definition |
Definisinya. Lihat Referensi skema untuk Bahasa Definisi Alur Kerja di Azure Logic Apps. |
|
properties.integrationAccount |
Akun integrasi. |
|
properties.parameters |
<string,
Workflow |
Parameter. |
properties.sku |
Sku. |
|
properties.state |
Negara bagian. |
|
tags |
object |
Tag sumber daya. |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
OK |
Keamanan
azure_auth
Alur OAuth2 Azure Active Directory.
Jenis:
oauth2
Alur:
implicit
URL Otorisasi:
https://login.microsoftonline.com/common/oauth2/authorize
Cakupan
Nama | Deskripsi |
---|---|
user_impersonation | meniru akun pengguna Anda |
Contoh
Patch a workflow
Permintaan sampel
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": {}
}
Respon sampel
{
"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": {}
}
}
Definisi
Nama | Deskripsi |
---|---|
Object | |
Parameter |
|
Resource |
Referensi sumber daya. |
Sku |
Jenis sku. |
Sku |
Nama sku. |
Workflow |
Jenis alur kerja. |
Workflow |
Parameter alur kerja. |
Workflow |
|
Workflow |
Object
ParameterType
Nama | Jenis | Deskripsi |
---|---|---|
Array |
string |
|
Bool |
string |
|
Float |
string |
|
Int |
string |
|
NotSpecified |
string |
|
Object |
string |
|
SecureObject |
string |
|
SecureString |
string |
|
String |
string |
ResourceReference
Referensi sumber daya.
Nama | Jenis | Deskripsi |
---|---|---|
id |
string |
Id sumber daya. |
name |
string |
Mendapatkan nama sumber daya. |
type |
string |
Mendapatkan jenis sumber daya. |
Sku
Jenis sku.
Nama | Jenis | Deskripsi |
---|---|---|
name |
Nama. |
|
plan |
Referensi ke rencana. |
SkuName
Nama sku.
Nama | Jenis | Deskripsi |
---|---|---|
Basic |
string |
|
Free |
string |
|
NotSpecified |
string |
|
Premium |
string |
|
Shared |
string |
|
Standard |
string |
Workflow
Jenis alur kerja.
Nama | Jenis | Deskripsi |
---|---|---|
id |
string |
Id sumber daya. |
location |
string |
Lokasi sumber daya. |
name |
string |
Mendapatkan nama sumber daya. |
properties.accessEndpoint |
string |
Mendapatkan titik akhir akses. |
properties.changedTime |
string |
Mendapatkan waktu yang diubah. |
properties.createdTime |
string |
Mendapatkan waktu yang dibuat. |
properties.definition |
Definisinya. Lihat Referensi skema untuk Bahasa Definisi Alur Kerja di Azure Logic Apps. |
|
properties.integrationAccount |
Akun integrasi. |
|
properties.parameters |
<string,
Workflow |
Parameter. |
properties.provisioningState |
Mendapatkan status penyediaan. |
|
properties.sku |
Sku. |
|
properties.state |
Negara bagian. |
|
properties.version |
string |
Mendapatkan versinya. |
tags |
object |
Tag sumber daya. |
type |
string |
Mendapatkan jenis sumber daya. |
WorkflowParameter
Parameter alur kerja.
Nama | Jenis | Deskripsi |
---|---|---|
description |
string |
Deskripsi. |
metadata |
Metadata. |
|
type |
Jenisnya. |
|
value |
Nilainya. |
WorkflowProvisioningState
Nama | Jenis | Deskripsi |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Completed |
string |
|
Created |
string |
|
Creating |
string |
|
Deleted |
string |
|
Deleting |
string |
|
Failed |
string |
|
Moving |
string |
|
NotSpecified |
string |
|
Ready |
string |
|
Registered |
string |
|
Registering |
string |
|
Running |
string |
|
Succeeded |
string |
|
Unregistered |
string |
|
Unregistering |
string |
|
Updating |
string |
WorkflowState
Nama | Jenis | Deskripsi |
---|---|---|
Completed |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Enabled |
string |
|
NotSpecified |
string |
|
Suspended |
string |