Condividi tramite


Workflows - Get

Ottiene un flusso di lavoro.

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

Parametri dell'URI

Nome In Necessario Tipo Descrizione
resourceGroupName
path True

string

Nome del gruppo di risorse.

subscriptionId
path True

string

ID sottoscrizione.

workflowName
path True

string

Nome del flusso di lavoro.

api-version
query True

string

Versione dell'API.

Risposte

Nome Tipo Descrizione
200 OK

Workflow

Va bene

Sicurezza

azure_auth

Flusso OAuth2 di Azure Active Directory.

Tipo: oauth2
Flow: implicit
URL di autorizzazione: https://login.microsoftonline.com/common/oauth2/authorize

Ambiti

Nome Descrizione
user_impersonation rappresentare l'account utente

Esempio

Get a workflow

Esempio di richiesta

GET 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

Risposta di esempio

{
  "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": {}
  },
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
  "name": "test-workflow",
  "type": "Microsoft.Logic/workflows",
  "location": "brazilsouth",
  "tags": {}
}

Definizioni

Nome Descrizione
Object
ParameterType
ResourceReference

Riferimento alla risorsa.

Sku

Tipo di SKU.

SkuName

Il nome SKU.

Workflow

Tipo di flusso di lavoro.

WorkflowParameter

Parametri del flusso di lavoro.

WorkflowProvisioningState
WorkflowState

Object

ParameterType

Valore Descrizione
NotSpecified
String
SecureString
Int
Float
Bool
Array
Object
SecureObject

ResourceReference

Riferimento alla risorsa.

Nome Tipo Descrizione
id

string

ID risorsa.

name

string

Ottiene il nome della risorsa.

type

string

Ottiene il tipo di risorsa.

Sku

Tipo di SKU.

Nome Tipo Descrizione
name

SkuName

Nome.

plan

ResourceReference

Riferimento al piano.

SkuName

Il nome SKU.

Valore Descrizione
NotSpecified
Free
Shared
Basic
Standard
Premium

Workflow

Tipo di flusso di lavoro.

Nome Tipo Descrizione
id

string

ID risorsa.

location

string

Percorso della risorsa.

name

string

Ottiene il nome della risorsa.

properties.accessEndpoint

string

Ottiene l'endpoint di accesso.

properties.changedTime

string (date-time)

Ottiene l'ora modificata.

properties.createdTime

string (date-time)

Ottiene l'ora di creazione.

properties.definition

Object

Definizione. Vedere informazioni di riferimento sullo schema per Il linguaggio di definizione del flusso di lavoro in App per la logica di Azure.

properties.integrationAccount

ResourceReference

Account di integrazione.

properties.parameters

<string,  WorkflowParameter>

Parametri.

properties.provisioningState

WorkflowProvisioningState

Ottiene lo stato di provisioning.

properties.sku

Sku

Sku.

properties.state

WorkflowState

Stato.

properties.version

string

Ottiene la versione.

tags

object

Tag di risorsa.

type

string

Ottiene il tipo di risorsa.

WorkflowParameter

Parametri del flusso di lavoro.

Nome Tipo Descrizione
description

string

Descrizione.

metadata

Object

Metadati.

type

ParameterType

Tipo.

value

Object

Valore.

WorkflowProvisioningState

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

WorkflowState

Valore Descrizione
NotSpecified
Completed
Enabled
Disabled
Deleted
Suspended