import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Logic App Workflow. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "workflow-resources", * location: "West Europe", * }); * const exampleWorkflow = new azure.logicapps.Workflow("example", { * name: "workflow1", * location: example.location, * resourceGroupName: example.name, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Logic` - 2019-05-01 * * ## Import * * Logic App Workflows can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:logicapps/workflow:Workflow workflow1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1 * ``` */ export declare class Workflow extends pulumi.CustomResource { /** * Get an existing Workflow resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WorkflowState, opts?: pulumi.CustomResourceOptions): Workflow; /** * Returns true if the given object is an instance of Workflow. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Workflow; /** * A `accessControl` block as defined below. */ readonly accessControl: pulumi.Output; /** * The Access Endpoint for the Logic App Workflow. */ readonly accessEndpoint: pulumi.Output; /** * The list of access endpoint IP addresses of connector. */ readonly connectorEndpointIpAddresses: pulumi.Output; /** * The list of outgoing IP addresses of connector. */ readonly connectorOutboundIpAddresses: pulumi.Output; /** * Is the Logic App Workflow enabled? Defaults to `true`. */ readonly enabled: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * The ID of the Integration Service Environment to which this Logic App Workflow belongs. Changing this forces a new Logic App Workflow to be created. */ readonly integrationServiceEnvironmentId: pulumi.Output; /** * Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The ID of the integration account linked by this Logic App Workflow. */ readonly logicAppIntegrationAccountId: pulumi.Output; /** * Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * A map of Key-Value pairs. * * > **Note:** Any parameters specified must exist in the Schema defined in `workflowParameters`. */ readonly parameters: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The list of access endpoint IP addresses of workflow. */ readonly workflowEndpointIpAddresses: pulumi.Output; /** * The list of outgoing IP addresses of workflow. */ readonly workflowOutboundIpAddresses: pulumi.Output; /** * Specifies a map of Key-Value pairs of the Parameter Definitions to use for this Logic App Workflow. The key is the parameter name, and the value is a JSON encoded string of the parameter definition (see: ). */ readonly workflowParameters: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Specifies the Schema to use for this Logic App Workflow. Defaults to `https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#`. Changing this forces a new resource to be created. */ readonly workflowSchema: pulumi.Output; /** * Specifies the version of the Schema used for this Logic App Workflow. Defaults to `1.0.0.0`. Changing this forces a new resource to be created. */ readonly workflowVersion: pulumi.Output; /** * Create a Workflow resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkflowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Workflow resources. */ export interface WorkflowState { /** * A `accessControl` block as defined below. */ accessControl?: pulumi.Input; /** * The Access Endpoint for the Logic App Workflow. */ accessEndpoint?: pulumi.Input; /** * The list of access endpoint IP addresses of connector. */ connectorEndpointIpAddresses?: pulumi.Input[]>; /** * The list of outgoing IP addresses of connector. */ connectorOutboundIpAddresses?: pulumi.Input[]>; /** * Is the Logic App Workflow enabled? Defaults to `true`. */ enabled?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The ID of the Integration Service Environment to which this Logic App Workflow belongs. Changing this forces a new Logic App Workflow to be created. */ integrationServiceEnvironmentId?: pulumi.Input; /** * Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The ID of the integration account linked by this Logic App Workflow. */ logicAppIntegrationAccountId?: pulumi.Input; /** * Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A map of Key-Value pairs. * * > **Note:** Any parameters specified must exist in the Schema defined in `workflowParameters`. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The list of access endpoint IP addresses of workflow. */ workflowEndpointIpAddresses?: pulumi.Input[]>; /** * The list of outgoing IP addresses of workflow. */ workflowOutboundIpAddresses?: pulumi.Input[]>; /** * Specifies a map of Key-Value pairs of the Parameter Definitions to use for this Logic App Workflow. The key is the parameter name, and the value is a JSON encoded string of the parameter definition (see: ). */ workflowParameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies the Schema to use for this Logic App Workflow. Defaults to `https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#`. Changing this forces a new resource to be created. */ workflowSchema?: pulumi.Input; /** * Specifies the version of the Schema used for this Logic App Workflow. Defaults to `1.0.0.0`. Changing this forces a new resource to be created. */ workflowVersion?: pulumi.Input; } /** * The set of arguments for constructing a Workflow resource. */ export interface WorkflowArgs { /** * A `accessControl` block as defined below. */ accessControl?: pulumi.Input; /** * Is the Logic App Workflow enabled? Defaults to `true`. */ enabled?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The ID of the Integration Service Environment to which this Logic App Workflow belongs. Changing this forces a new Logic App Workflow to be created. */ integrationServiceEnvironmentId?: pulumi.Input; /** * Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The ID of the integration account linked by this Logic App Workflow. */ logicAppIntegrationAccountId?: pulumi.Input; /** * Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A map of Key-Value pairs. * * > **Note:** Any parameters specified must exist in the Schema defined in `workflowParameters`. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies a map of Key-Value pairs of the Parameter Definitions to use for this Logic App Workflow. The key is the parameter name, and the value is a JSON encoded string of the parameter definition (see: ). */ workflowParameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies the Schema to use for this Logic App Workflow. Defaults to `https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#`. Changing this forces a new resource to be created. */ workflowSchema?: pulumi.Input; /** * Specifies the version of the Schema used for this Logic App Workflow. Defaults to `1.0.0.0`. Changing this forces a new resource to be created. */ workflowVersion?: pulumi.Input; }