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

LogicApp client class
Mostrar archivo Open project: Azure/azure-powershell

Public Methods

Method 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

Method Description
DoesLogicAppExist ( string resourceGroupName, string workflowName ) : bool

Checks whether logic app exists or not

Method Details

CancelWorkflowRun() public method

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
return void

CreateWorkflow() public method

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
return Workflow

GetWorkflow() public method

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
return Workflow

GetWorkflowRun() public method

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
return WorkflowRun

GetWorkflowRunAction() public method

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
return WorkflowRunAction

GetWorkflowRunActions() public method

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
return Page

GetWorkflowRuns() public method

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
return Page

GetWorkflowTrigger() public method

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
return WorkflowTrigger

GetWorkflowTriggerCallbackUrl() public method

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
return WorkflowTriggerCallbackUrl

GetWorkflowTriggerHistories() public method

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
return Page

GetWorkflowTriggerHistory() public method

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
return WorkflowTriggerHistory

GetWorkflowTriggers() public method

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
return Page

GetWorkflowUpgradedDefinition() public method

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
return object

GetWorkflowVersion() public method

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
return WorkflowVersion

LogicAppClient() public method

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

LogicAppClient() public method

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
return Microsoft.Azure.Commands.Common.Authentication

LogicAppClient() public method

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

RemoveWorkflow() public method

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
return void

RunWorkflowTrigger() public method

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
return void

UpdateWorkflow() public method

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
return Workflow

ValidateWorkflow() public method

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.
return void