Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.logicapps.kotlin
import com.pulumi.azure.logicapps.WorkflowArgs.builder
import com.pulumi.azure.logicapps.kotlin.inputs.WorkflowAccessControlArgs
import com.pulumi.azure.logicapps.kotlin.inputs.WorkflowAccessControlArgsBuilder
import com.pulumi.azure.logicapps.kotlin.inputs.WorkflowIdentityArgs
import com.pulumi.azure.logicapps.kotlin.inputs.WorkflowIdentityArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* 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,
* });
* ```
* ```python
* import pulumi
* import pulumi_azure as azure
* example = azure.core.ResourceGroup("example",
* name="workflow-resources",
* location="West Europe")
* example_workflow = azure.logicapps.Workflow("example",
* name="workflow1",
* location=example.location,
* resource_group_name=example.name)
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Azure = Pulumi.Azure;
* return await Deployment.RunAsync(() =>
* {
* var example = new Azure.Core.ResourceGroup("example", new()
* {
* Name = "workflow-resources",
* Location = "West Europe",
* });
* var exampleWorkflow = new Azure.LogicApps.Workflow("example", new()
* {
* Name = "workflow1",
* Location = example.Location,
* ResourceGroupName = example.Name,
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/logicapps"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
* Name: pulumi.String("workflow-resources"),
* Location: pulumi.String("West Europe"),
* })
* if err != nil {
* return err
* }
* _, err = logicapps.NewWorkflow(ctx, "example", &logicapps.WorkflowArgs{
* Name: pulumi.String("workflow1"),
* Location: example.Location,
* ResourceGroupName: example.Name,
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.core.ResourceGroup;
* import com.pulumi.azure.core.ResourceGroupArgs;
* import com.pulumi.azure.logicapps.Workflow;
* import com.pulumi.azure.logicapps.WorkflowArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
* public static void stack(Context ctx) {
* var example = new ResourceGroup("example", ResourceGroupArgs.builder()
* .name("workflow-resources")
* .location("West Europe")
* .build());
* var exampleWorkflow = new Workflow("exampleWorkflow", WorkflowArgs.builder()
* .name("workflow1")
* .location(example.location())
* .resourceGroupName(example.name())
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: workflow-resources
* location: West Europe
* exampleWorkflow:
* type: azure:logicapps:Workflow
* name: example
* properties:
* name: workflow1
* location: ${example.location}
* resourceGroupName: ${example.name}
* ```
*
* ## 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
* ```
* @property accessControl A `access_control` block as defined below.
* @property enabled Is the Logic App Workflow enabled? Defaults to `true`.
* @property identity An `identity` block as defined below.
* @property integrationServiceEnvironmentId 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.
* @property location Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created.
* @property logicAppIntegrationAccountId The ID of the integration account linked by this Logic App Workflow.
* @property name Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created.
* @property parameters A map of Key-Value pairs.
* > **NOTE:** Any parameters specified must exist in the Schema defined in `workflow_parameters`.
* @property resourceGroupName The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.
* @property tags A mapping of tags to assign to the resource.
* @property workflowParameters 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: ).
* @property workflowSchema 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.
* @property workflowVersion 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.
*/
public data class WorkflowArgs(
public val accessControl: Output? = null,
public val enabled: Output? = null,
public val identity: Output? = null,
public val integrationServiceEnvironmentId: Output? = null,
public val location: Output? = null,
public val logicAppIntegrationAccountId: Output? = null,
public val name: Output? = null,
public val parameters: Output