C# Class Microsoft.Azure.Commands.LogicApp.Utilities.LogicAppClient

LogicApp client class
Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode Description
CancelWorkflowRun ( string resourceGroupName, string workflowName, string runName ) : void

Cancels the logic app run.

CreateWorkflow ( string resourceGroupName, string workflowName, Workflow workflow ) : Workflow

Creates workflow in the azure resource group

GetWorkflow ( string resourceGroupName, string workflowName ) : Workflow

Gets the workflow by name from given resource group.

GetWorkflowRun ( string resourceGroupName, string workflowName, string runName ) : WorkflowRun

Gets the logic app run.

GetWorkflowRunAction ( string resourceGroupName, string workflowName, string runName, string actionName ) : WorkflowRunAction

Gets the workflow run action

GetWorkflowRunActions ( string resourceGroupName, string workflowName, string runName ) : Page

Gets actions of the specified workflow run.

GetWorkflowRuns ( string resourceGroupName, string workflowName ) : Page

Gets the workflow run history.

GetWorkflowTrigger ( string resourceGroupName, string workflowName, string triggerName ) : WorkflowTrigger

Gets the specified trigger from the workflow

GetWorkflowTriggerCallbackUrl ( string resourceGroupName, string workflowName, string triggerName ) : WorkflowTriggerCallbackUrl

Gets the specified trigger callback URL from the workflow

GetWorkflowTriggerHistories ( string resourceGroupName, string workflowName, string triggerName ) : Page

Gets the workflow trigger histories.

GetWorkflowTriggerHistory ( string resourceGroupName, string workflowName, string triggerName, string historyName ) : WorkflowTriggerHistory

Gets the workflow history by name

GetWorkflowTriggers ( string resourceGroupName, string workflowName ) : Page

Gets the list of triggers in the workflow

GetWorkflowUpgradedDefinition ( string resourceGroupName, string workflowName, string targetSchemaVersion ) : object

Gets the upgraded definition for a workflow.

GetWorkflowVersion ( string resourceGroupName, string workflowName, string versionId ) : WorkflowVersion

Gets the given version of a workflow by name from given resource group.

LogicAppClient ( ) : Microsoft.Azure.Commands.Common.Authentication

Creates new LogicManagement client instance.

LogicAppClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Creates new LogicManagement client instance.

LogicAppClient ( ILogicManagementClient client ) : Microsoft.Azure.Commands.Common.Authentication

Creates new LogicManagement client instance.

RemoveWorkflow ( string resourceGroupName, string workflowName ) : void

Removes the specified workflow from the given resource group.

RunWorkflowTrigger ( string resourceGroupName, string workflowName, string triggerName ) : void

Runs the workflow trigger

UpdateWorkflow ( string resourceGroupName, string workflowName, Workflow workflow ) : Workflow

Updates workflow in the azure resource group

ValidateWorkflow ( string resourceGroupName, string location, string workflowName, Workflow workflow ) : void

Validates the specified workflow from the given resource group.

Private Methods

Méthode Description
DoesLogicAppExist ( string resourceGroupName, string workflowName ) : bool

Checks whether logic app exists or not

Method Details

CancelWorkflowRun() public méthode

Cancels the logic app run.
public CancelWorkflowRun ( string resourceGroupName, string workflowName, string runName ) : void
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
runName string Workflow run name
Résultat void

CreateWorkflow() public méthode

Creates workflow in the azure resource group
public CreateWorkflow ( string resourceGroupName, string workflowName, Workflow workflow ) : Workflow
resourceGroupName string Name of the resource group
workflowName string Workflow name
workflow Workflow Workflow object
Résultat Workflow

GetWorkflow() public méthode

Gets the workflow by name from given resource group.
public GetWorkflow ( string resourceGroupName, string workflowName ) : Workflow
resourceGroupName string Name of the resource group
workflowName string Workflow name
Résultat Workflow

GetWorkflowRun() public méthode

Gets the logic app run.
public GetWorkflowRun ( string resourceGroupName, string workflowName, string runName ) : WorkflowRun
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
runName string Name of the workflow run
Résultat WorkflowRun

GetWorkflowRunAction() public méthode

Gets the workflow run action
public GetWorkflowRunAction ( string resourceGroupName, string workflowName, string runName, string actionName ) : WorkflowRunAction
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
runName string Name of the workflow run
actionName string Name of the workflow run action
Résultat WorkflowRunAction

GetWorkflowRunActions() public méthode

Gets actions of the specified workflow run.
public GetWorkflowRunActions ( string resourceGroupName, string workflowName, string runName ) : Page
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
runName string Name of the workflow run
Résultat Page

GetWorkflowRuns() public méthode

Gets the workflow run history.
public GetWorkflowRuns ( string resourceGroupName, string workflowName ) : Page
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
Résultat Page

GetWorkflowTrigger() public méthode

Gets the specified trigger from the workflow
public GetWorkflowTrigger ( string resourceGroupName, string workflowName, string triggerName ) : WorkflowTrigger
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
triggerName string Name of the trigger
Résultat WorkflowTrigger

GetWorkflowTriggerCallbackUrl() public méthode

Gets the specified trigger callback URL from the workflow
public GetWorkflowTriggerCallbackUrl ( string resourceGroupName, string workflowName, string triggerName ) : WorkflowTriggerCallbackUrl
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
triggerName string Name of the trigger
Résultat WorkflowTriggerCallbackUrl

GetWorkflowTriggerHistories() public méthode

Gets the workflow trigger histories.
public GetWorkflowTriggerHistories ( string resourceGroupName, string workflowName, string triggerName ) : Page
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
triggerName string Name of the trigger
Résultat Page

GetWorkflowTriggerHistory() public méthode

Gets the workflow history by name
public GetWorkflowTriggerHistory ( string resourceGroupName, string workflowName, string triggerName, string historyName ) : WorkflowTriggerHistory
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
triggerName string Name of the trigger
historyName string Name of the trigger history
Résultat WorkflowTriggerHistory

GetWorkflowTriggers() public méthode

Gets the list of triggers in the workflow
public GetWorkflowTriggers ( string resourceGroupName, string workflowName ) : Page
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
Résultat Page

GetWorkflowUpgradedDefinition() public méthode

Gets the upgraded definition for a workflow.
public GetWorkflowUpgradedDefinition ( string resourceGroupName, string workflowName, string targetSchemaVersion ) : object
resourceGroupName string Name of the resource group
workflowName string Workflow name
targetSchemaVersion string Target schema version of the definition
Résultat object

GetWorkflowVersion() public méthode

Gets the given version of a workflow by name from given resource group.
public GetWorkflowVersion ( string resourceGroupName, string workflowName, string versionId ) : WorkflowVersion
resourceGroupName string Name of the resource group
workflowName string Workflow name
versionId string Version of the workflow
Résultat WorkflowVersion

LogicAppClient() public méthode

Creates new LogicManagement client instance.
public LogicAppClient ( ) : Microsoft.Azure.Commands.Common.Authentication
Résultat Microsoft.Azure.Commands.Common.Authentication

LogicAppClient() public méthode

Creates new LogicManagement client instance.
public LogicAppClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext The Azure context instance
Résultat Microsoft.Azure.Commands.Common.Authentication

LogicAppClient() public méthode

Creates new LogicManagement client instance.
public LogicAppClient ( ILogicManagementClient client ) : Microsoft.Azure.Commands.Common.Authentication
client ILogicManagementClient client reference
Résultat Microsoft.Azure.Commands.Common.Authentication

RemoveWorkflow() public méthode

Removes the specified workflow from the given resource group.
public RemoveWorkflow ( string resourceGroupName, string workflowName ) : void
resourceGroupName string Name of the resource group
workflowName string Workflow name
Résultat void

RunWorkflowTrigger() public méthode

Runs the workflow trigger
public RunWorkflowTrigger ( string resourceGroupName, string workflowName, string triggerName ) : void
resourceGroupName string Name of the resource group
workflowName string Name of the workflow
triggerName string Name of the trigger
Résultat void

UpdateWorkflow() public méthode

Updates workflow in the azure resource group
public UpdateWorkflow ( string resourceGroupName, string workflowName, Workflow workflow ) : Workflow
resourceGroupName string Name of the resource group
workflowName string Workflow name
workflow Workflow Workflow object
Résultat Workflow

ValidateWorkflow() public méthode

Validates the specified workflow from the given resource group.
public ValidateWorkflow ( string resourceGroupName, string location, string workflowName, Workflow workflow ) : void
resourceGroupName string Name of the resource group
location string The workflow location.
workflowName string Workflow name
workflow Workflow The Workflow object.
Résultat void