Documentation
¶
Index ¶
- type ActionCustom
- type ActionCustomArgs
- type ActionCustomInput
- type ActionCustomOutput
- type ActionCustomState
- type ActionHttp
- type ActionHttpArgs
- type ActionHttpInput
- type ActionHttpOutput
- type ActionHttpRunAfter
- type ActionHttpRunAfterArgs
- type ActionHttpRunAfterArray
- type ActionHttpRunAfterArrayInput
- type ActionHttpRunAfterArrayOutput
- func (ActionHttpRunAfterArrayOutput) ElementType() reflect.Type
- func (o ActionHttpRunAfterArrayOutput) Index(i pulumi.IntInput) ActionHttpRunAfterOutput
- func (o ActionHttpRunAfterArrayOutput) ToActionHttpRunAfterArrayOutput() ActionHttpRunAfterArrayOutput
- func (o ActionHttpRunAfterArrayOutput) ToActionHttpRunAfterArrayOutputWithContext(ctx context.Context) ActionHttpRunAfterArrayOutput
- type ActionHttpRunAfterInput
- type ActionHttpRunAfterOutput
- func (o ActionHttpRunAfterOutput) ActionName() pulumi.StringOutput
- func (o ActionHttpRunAfterOutput) ActionResult() pulumi.StringOutput
- func (ActionHttpRunAfterOutput) ElementType() reflect.Type
- func (o ActionHttpRunAfterOutput) ToActionHttpRunAfterOutput() ActionHttpRunAfterOutput
- func (o ActionHttpRunAfterOutput) ToActionHttpRunAfterOutputWithContext(ctx context.Context) ActionHttpRunAfterOutput
- type ActionHttpState
- type IntegrationAccount
- type IntegrationAccountArgs
- type IntegrationAccountInput
- type IntegrationAccountOutput
- type IntegrationAccountState
- type InterationServiceEnvironment
- func (InterationServiceEnvironment) ElementType() reflect.Type
- func (i InterationServiceEnvironment) ToInterationServiceEnvironmentOutput() InterationServiceEnvironmentOutput
- func (i InterationServiceEnvironment) ToInterationServiceEnvironmentOutputWithContext(ctx context.Context) InterationServiceEnvironmentOutput
- type InterationServiceEnvironmentArgs
- type InterationServiceEnvironmentInput
- type InterationServiceEnvironmentOutput
- func (InterationServiceEnvironmentOutput) ElementType() reflect.Type
- func (o InterationServiceEnvironmentOutput) ToInterationServiceEnvironmentOutput() InterationServiceEnvironmentOutput
- func (o InterationServiceEnvironmentOutput) ToInterationServiceEnvironmentOutputWithContext(ctx context.Context) InterationServiceEnvironmentOutput
- type InterationServiceEnvironmentState
- type LookupIntegrationAccountArgs
- type LookupIntegrationAccountResult
- type LookupWorkflowArgs
- type LookupWorkflowResult
- type TriggerCustom
- type TriggerCustomArgs
- type TriggerCustomInput
- type TriggerCustomOutput
- type TriggerCustomState
- type TriggerHttpRequest
- type TriggerHttpRequestArgs
- type TriggerHttpRequestInput
- type TriggerHttpRequestOutput
- type TriggerHttpRequestState
- type TriggerRecurrence
- type TriggerRecurrenceArgs
- type TriggerRecurrenceInput
- type TriggerRecurrenceOutput
- type TriggerRecurrenceState
- type Workflow
- type WorkflowArgs
- type WorkflowInput
- type WorkflowOutput
- type WorkflowState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCustom ¶
type ActionCustom struct { pulumi.CustomResourceState // Specifies the JSON Blob defining the Body of this Custom Action. Body pulumi.StringOutput `pulumi:"body"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` // Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages a Custom Action within a Logic App Workflow
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } exampleWorkflow, err := logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = logicapps.NewActionCustom(ctx, "exampleActionCustom", &logicapps.ActionCustomArgs{ LogicAppId: exampleWorkflow.ID(), Body: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"description\": \"A variable to configure the auto expiration age in days. Configured in negative number. Default is -30 (30 days old).\",\n", " \"inputs\": {\n", " \"variables\": [\n", " {\n", " \"name\": \"ExpirationAgeInDays\",\n", " \"type\": \"Integer\",\n", " \"value\": -30\n", " }\n", " ]\n", " },\n", " \"runAfter\": {},\n", " \"type\": \"InitializeVariable\"\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Logic App Custom Actions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/actionCustom:ActionCustom custom1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/actions/custom1
```
func GetActionCustom ¶
func GetActionCustom(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionCustomState, opts ...pulumi.ResourceOption) (*ActionCustom, error)
GetActionCustom gets an existing ActionCustom resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionCustom ¶
func NewActionCustom(ctx *pulumi.Context, name string, args *ActionCustomArgs, opts ...pulumi.ResourceOption) (*ActionCustom, error)
NewActionCustom registers a new resource with the given unique name, arguments, and options.
func (ActionCustom) ElementType ¶ added in v3.31.1
func (ActionCustom) ElementType() reflect.Type
func (ActionCustom) ToActionCustomOutput ¶ added in v3.31.1
func (i ActionCustom) ToActionCustomOutput() ActionCustomOutput
func (ActionCustom) ToActionCustomOutputWithContext ¶ added in v3.31.1
func (i ActionCustom) ToActionCustomOutputWithContext(ctx context.Context) ActionCustomOutput
type ActionCustomArgs ¶
type ActionCustomArgs struct { // Specifies the JSON Blob defining the Body of this Custom Action. Body pulumi.StringInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringInput // Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a ActionCustom resource.
func (ActionCustomArgs) ElementType ¶
func (ActionCustomArgs) ElementType() reflect.Type
type ActionCustomInput ¶ added in v3.31.1
type ActionCustomInput interface { pulumi.Input ToActionCustomOutput() ActionCustomOutput ToActionCustomOutputWithContext(ctx context.Context) ActionCustomOutput }
type ActionCustomOutput ¶ added in v3.31.1
type ActionCustomOutput struct {
*pulumi.OutputState
}
func (ActionCustomOutput) ElementType ¶ added in v3.31.1
func (ActionCustomOutput) ElementType() reflect.Type
func (ActionCustomOutput) ToActionCustomOutput ¶ added in v3.31.1
func (o ActionCustomOutput) ToActionCustomOutput() ActionCustomOutput
func (ActionCustomOutput) ToActionCustomOutputWithContext ¶ added in v3.31.1
func (o ActionCustomOutput) ToActionCustomOutputWithContext(ctx context.Context) ActionCustomOutput
type ActionCustomState ¶
type ActionCustomState struct { // Specifies the JSON Blob defining the Body of this Custom Action. Body pulumi.StringPtrInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput // Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
func (ActionCustomState) ElementType ¶
func (ActionCustomState) ElementType() reflect.Type
type ActionHttp ¶
type ActionHttp struct { pulumi.CustomResourceState // Specifies the HTTP Body that should be sent to the `uri` when this HTTP Action is triggered. Body pulumi.StringPtrOutput `pulumi:"body"` // Specifies a Map of Key-Value Pairs that should be sent to the `uri` when this HTTP Action is triggered. Headers pulumi.StringMapOutput `pulumi:"headers"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` // Specifies the HTTP Method which should be used for this HTTP Action. Possible values include `DELETE`, `GET`, `PATCH`, `POST` and `PUT`. Method pulumi.StringOutput `pulumi:"method"` // Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A `runAfter` block is as defined below. RunAfters ActionHttpRunAfterArrayOutput `pulumi:"runAfters"` // Specifies the URI which will be called when this HTTP Action is triggered. Uri pulumi.StringOutput `pulumi:"uri"` }
Manages an HTTP Action within a Logic App Workflow
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } exampleWorkflow, err := logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = logicapps.NewActionHttp(ctx, "exampleActionHttp", &logicapps.ActionHttpArgs{ LogicAppId: exampleWorkflow.ID(), Method: pulumi.String("GET"), Uri: pulumi.String("http://example.com/some-webhook"), }) if err != nil { return err } return nil }) }
```
## Import
Logic App HTTP Actions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/actionHttp:ActionHttp webhook1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/actions/webhook1
```
func GetActionHttp ¶
func GetActionHttp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionHttpState, opts ...pulumi.ResourceOption) (*ActionHttp, error)
GetActionHttp gets an existing ActionHttp resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionHttp ¶
func NewActionHttp(ctx *pulumi.Context, name string, args *ActionHttpArgs, opts ...pulumi.ResourceOption) (*ActionHttp, error)
NewActionHttp registers a new resource with the given unique name, arguments, and options.
func (ActionHttp) ElementType ¶ added in v3.31.1
func (ActionHttp) ElementType() reflect.Type
func (ActionHttp) ToActionHttpOutput ¶ added in v3.31.1
func (i ActionHttp) ToActionHttpOutput() ActionHttpOutput
func (ActionHttp) ToActionHttpOutputWithContext ¶ added in v3.31.1
func (i ActionHttp) ToActionHttpOutputWithContext(ctx context.Context) ActionHttpOutput
type ActionHttpArgs ¶
type ActionHttpArgs struct { // Specifies the HTTP Body that should be sent to the `uri` when this HTTP Action is triggered. Body pulumi.StringPtrInput // Specifies a Map of Key-Value Pairs that should be sent to the `uri` when this HTTP Action is triggered. Headers pulumi.StringMapInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringInput // Specifies the HTTP Method which should be used for this HTTP Action. Possible values include `DELETE`, `GET`, `PATCH`, `POST` and `PUT`. Method pulumi.StringInput // Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A `runAfter` block is as defined below. RunAfters ActionHttpRunAfterArrayInput // Specifies the URI which will be called when this HTTP Action is triggered. Uri pulumi.StringInput }
The set of arguments for constructing a ActionHttp resource.
func (ActionHttpArgs) ElementType ¶
func (ActionHttpArgs) ElementType() reflect.Type
type ActionHttpInput ¶ added in v3.31.1
type ActionHttpInput interface { pulumi.Input ToActionHttpOutput() ActionHttpOutput ToActionHttpOutputWithContext(ctx context.Context) ActionHttpOutput }
type ActionHttpOutput ¶ added in v3.31.1
type ActionHttpOutput struct {
*pulumi.OutputState
}
func (ActionHttpOutput) ElementType ¶ added in v3.31.1
func (ActionHttpOutput) ElementType() reflect.Type
func (ActionHttpOutput) ToActionHttpOutput ¶ added in v3.31.1
func (o ActionHttpOutput) ToActionHttpOutput() ActionHttpOutput
func (ActionHttpOutput) ToActionHttpOutputWithContext ¶ added in v3.31.1
func (o ActionHttpOutput) ToActionHttpOutputWithContext(ctx context.Context) ActionHttpOutput
type ActionHttpRunAfter ¶ added in v3.7.0
type ActionHttpRunAfter struct { // Specifies the name of the precedent HTTP Action. ActionName string `pulumi:"actionName"` // Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include `Succeeded`, `Failed`, `Skipped` and `TimedOut`. ActionResult string `pulumi:"actionResult"` }
type ActionHttpRunAfterArgs ¶ added in v3.7.0
type ActionHttpRunAfterArgs struct { // Specifies the name of the precedent HTTP Action. ActionName pulumi.StringInput `pulumi:"actionName"` // Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include `Succeeded`, `Failed`, `Skipped` and `TimedOut`. ActionResult pulumi.StringInput `pulumi:"actionResult"` }
func (ActionHttpRunAfterArgs) ElementType ¶ added in v3.7.0
func (ActionHttpRunAfterArgs) ElementType() reflect.Type
func (ActionHttpRunAfterArgs) ToActionHttpRunAfterOutput ¶ added in v3.7.0
func (i ActionHttpRunAfterArgs) ToActionHttpRunAfterOutput() ActionHttpRunAfterOutput
func (ActionHttpRunAfterArgs) ToActionHttpRunAfterOutputWithContext ¶ added in v3.7.0
func (i ActionHttpRunAfterArgs) ToActionHttpRunAfterOutputWithContext(ctx context.Context) ActionHttpRunAfterOutput
type ActionHttpRunAfterArray ¶ added in v3.7.0
type ActionHttpRunAfterArray []ActionHttpRunAfterInput
func (ActionHttpRunAfterArray) ElementType ¶ added in v3.7.0
func (ActionHttpRunAfterArray) ElementType() reflect.Type
func (ActionHttpRunAfterArray) ToActionHttpRunAfterArrayOutput ¶ added in v3.7.0
func (i ActionHttpRunAfterArray) ToActionHttpRunAfterArrayOutput() ActionHttpRunAfterArrayOutput
func (ActionHttpRunAfterArray) ToActionHttpRunAfterArrayOutputWithContext ¶ added in v3.7.0
func (i ActionHttpRunAfterArray) ToActionHttpRunAfterArrayOutputWithContext(ctx context.Context) ActionHttpRunAfterArrayOutput
type ActionHttpRunAfterArrayInput ¶ added in v3.7.0
type ActionHttpRunAfterArrayInput interface { pulumi.Input ToActionHttpRunAfterArrayOutput() ActionHttpRunAfterArrayOutput ToActionHttpRunAfterArrayOutputWithContext(context.Context) ActionHttpRunAfterArrayOutput }
ActionHttpRunAfterArrayInput is an input type that accepts ActionHttpRunAfterArray and ActionHttpRunAfterArrayOutput values. You can construct a concrete instance of `ActionHttpRunAfterArrayInput` via:
ActionHttpRunAfterArray{ ActionHttpRunAfterArgs{...} }
type ActionHttpRunAfterArrayOutput ¶ added in v3.7.0
type ActionHttpRunAfterArrayOutput struct{ *pulumi.OutputState }
func (ActionHttpRunAfterArrayOutput) ElementType ¶ added in v3.7.0
func (ActionHttpRunAfterArrayOutput) ElementType() reflect.Type
func (ActionHttpRunAfterArrayOutput) Index ¶ added in v3.7.0
func (o ActionHttpRunAfterArrayOutput) Index(i pulumi.IntInput) ActionHttpRunAfterOutput
func (ActionHttpRunAfterArrayOutput) ToActionHttpRunAfterArrayOutput ¶ added in v3.7.0
func (o ActionHttpRunAfterArrayOutput) ToActionHttpRunAfterArrayOutput() ActionHttpRunAfterArrayOutput
func (ActionHttpRunAfterArrayOutput) ToActionHttpRunAfterArrayOutputWithContext ¶ added in v3.7.0
func (o ActionHttpRunAfterArrayOutput) ToActionHttpRunAfterArrayOutputWithContext(ctx context.Context) ActionHttpRunAfterArrayOutput
type ActionHttpRunAfterInput ¶ added in v3.7.0
type ActionHttpRunAfterInput interface { pulumi.Input ToActionHttpRunAfterOutput() ActionHttpRunAfterOutput ToActionHttpRunAfterOutputWithContext(context.Context) ActionHttpRunAfterOutput }
ActionHttpRunAfterInput is an input type that accepts ActionHttpRunAfterArgs and ActionHttpRunAfterOutput values. You can construct a concrete instance of `ActionHttpRunAfterInput` via:
ActionHttpRunAfterArgs{...}
type ActionHttpRunAfterOutput ¶ added in v3.7.0
type ActionHttpRunAfterOutput struct{ *pulumi.OutputState }
func (ActionHttpRunAfterOutput) ActionName ¶ added in v3.7.0
func (o ActionHttpRunAfterOutput) ActionName() pulumi.StringOutput
Specifies the name of the precedent HTTP Action.
func (ActionHttpRunAfterOutput) ActionResult ¶ added in v3.7.0
func (o ActionHttpRunAfterOutput) ActionResult() pulumi.StringOutput
Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include `Succeeded`, `Failed`, `Skipped` and `TimedOut`.
func (ActionHttpRunAfterOutput) ElementType ¶ added in v3.7.0
func (ActionHttpRunAfterOutput) ElementType() reflect.Type
func (ActionHttpRunAfterOutput) ToActionHttpRunAfterOutput ¶ added in v3.7.0
func (o ActionHttpRunAfterOutput) ToActionHttpRunAfterOutput() ActionHttpRunAfterOutput
func (ActionHttpRunAfterOutput) ToActionHttpRunAfterOutputWithContext ¶ added in v3.7.0
func (o ActionHttpRunAfterOutput) ToActionHttpRunAfterOutputWithContext(ctx context.Context) ActionHttpRunAfterOutput
type ActionHttpState ¶
type ActionHttpState struct { // Specifies the HTTP Body that should be sent to the `uri` when this HTTP Action is triggered. Body pulumi.StringPtrInput // Specifies a Map of Key-Value Pairs that should be sent to the `uri` when this HTTP Action is triggered. Headers pulumi.StringMapInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput // Specifies the HTTP Method which should be used for this HTTP Action. Possible values include `DELETE`, `GET`, `PATCH`, `POST` and `PUT`. Method pulumi.StringPtrInput // Specifies the name of the HTTP Action to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A `runAfter` block is as defined below. RunAfters ActionHttpRunAfterArrayInput // Specifies the URI which will be called when this HTTP Action is triggered. Uri pulumi.StringPtrInput }
func (ActionHttpState) ElementType ¶
func (ActionHttpState) ElementType() reflect.Type
type IntegrationAccount ¶ added in v3.8.0
type IntegrationAccount struct { pulumi.CustomResourceState // The Azure Region where the Logic App Integration Account should exist. Changing this forces a new Logic App Integration Account to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Logic App Integration Account. Changing this forces a new Logic App Integration Account to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Logic App Integration Account should exist. Changing this forces a new Logic App Integration Account to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The sku name of the Logic App Integration Account. Possible Values are `Basic`, `Free` and `Standard`. SkuName pulumi.StringOutput `pulumi:"skuName"` // A mapping of tags which should be assigned to the Logic App Integration Account. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Logic App Integration Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = logicapps.NewIntegrationAccount(ctx, "exampleIntegrationAccount", &logicapps.IntegrationAccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, SkuName: pulumi.String("Standard"), Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
Logic App Integration Accounts can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/integrationAccount:IntegrationAccount example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1
```
func GetIntegrationAccount ¶ added in v3.8.0
func GetIntegrationAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationAccountState, opts ...pulumi.ResourceOption) (*IntegrationAccount, error)
GetIntegrationAccount gets an existing IntegrationAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIntegrationAccount ¶ added in v3.8.0
func NewIntegrationAccount(ctx *pulumi.Context, name string, args *IntegrationAccountArgs, opts ...pulumi.ResourceOption) (*IntegrationAccount, error)
NewIntegrationAccount registers a new resource with the given unique name, arguments, and options.
func (IntegrationAccount) ElementType ¶ added in v3.31.1
func (IntegrationAccount) ElementType() reflect.Type
func (IntegrationAccount) ToIntegrationAccountOutput ¶ added in v3.31.1
func (i IntegrationAccount) ToIntegrationAccountOutput() IntegrationAccountOutput
func (IntegrationAccount) ToIntegrationAccountOutputWithContext ¶ added in v3.31.1
func (i IntegrationAccount) ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput
type IntegrationAccountArgs ¶ added in v3.8.0
type IntegrationAccountArgs struct { // The Azure Region where the Logic App Integration Account should exist. Changing this forces a new Logic App Integration Account to be created. Location pulumi.StringPtrInput // The name which should be used for this Logic App Integration Account. Changing this forces a new Logic App Integration Account to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Logic App Integration Account should exist. Changing this forces a new Logic App Integration Account to be created. ResourceGroupName pulumi.StringInput // The sku name of the Logic App Integration Account. Possible Values are `Basic`, `Free` and `Standard`. SkuName pulumi.StringInput // A mapping of tags which should be assigned to the Logic App Integration Account. Tags pulumi.StringMapInput }
The set of arguments for constructing a IntegrationAccount resource.
func (IntegrationAccountArgs) ElementType ¶ added in v3.8.0
func (IntegrationAccountArgs) ElementType() reflect.Type
type IntegrationAccountInput ¶ added in v3.31.1
type IntegrationAccountInput interface { pulumi.Input ToIntegrationAccountOutput() IntegrationAccountOutput ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput }
type IntegrationAccountOutput ¶ added in v3.31.1
type IntegrationAccountOutput struct {
*pulumi.OutputState
}
func (IntegrationAccountOutput) ElementType ¶ added in v3.31.1
func (IntegrationAccountOutput) ElementType() reflect.Type
func (IntegrationAccountOutput) ToIntegrationAccountOutput ¶ added in v3.31.1
func (o IntegrationAccountOutput) ToIntegrationAccountOutput() IntegrationAccountOutput
func (IntegrationAccountOutput) ToIntegrationAccountOutputWithContext ¶ added in v3.31.1
func (o IntegrationAccountOutput) ToIntegrationAccountOutputWithContext(ctx context.Context) IntegrationAccountOutput
type IntegrationAccountState ¶ added in v3.8.0
type IntegrationAccountState struct { // The Azure Region where the Logic App Integration Account should exist. Changing this forces a new Logic App Integration Account to be created. Location pulumi.StringPtrInput // The name which should be used for this Logic App Integration Account. Changing this forces a new Logic App Integration Account to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Logic App Integration Account should exist. Changing this forces a new Logic App Integration Account to be created. ResourceGroupName pulumi.StringPtrInput // The sku name of the Logic App Integration Account. Possible Values are `Basic`, `Free` and `Standard`. SkuName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Logic App Integration Account. Tags pulumi.StringMapInput }
func (IntegrationAccountState) ElementType ¶ added in v3.8.0
func (IntegrationAccountState) ElementType() reflect.Type
type InterationServiceEnvironment ¶ added in v3.16.0
type InterationServiceEnvironment struct { pulumi.CustomResourceState // The type of access endpoint to use for the Integration Service Environment. Possible Values are `Internal` and `External`. Changing this forces a new Integration Service Environment to be created. AccessEndpointType pulumi.StringOutput `pulumi:"accessEndpointType"` // The list of access endpoint ip addresses of connector. ConnectorEndpointIpAddresses pulumi.StringArrayOutput `pulumi:"connectorEndpointIpAddresses"` // The list of outgoing ip addresses of connector. ConnectorOutboundIpAddresses pulumi.StringArrayOutput `pulumi:"connectorOutboundIpAddresses"` // The Azure Region where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the Integration Service Environment. Changing this forces a new Integration Service Environment to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The sku name and capacity of the Integration Service Environment. Possible Values for `sku` element are `Developer` and `Premium` and possible values for the `capacity` element are from `0` to `10`. Defaults to `sku` of `Developer` with a `Capacity` of `0` (e.g. `Developer_0`). Changing this forces a new Integration Service Environment to be created when `sku` element is not the same with existing one. SkuName pulumi.StringPtrOutput `pulumi:"skuName"` // A mapping of tags which should be assigned to the Integration Service Environment. Tags pulumi.StringMapOutput `pulumi:"tags"` // A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to subnets must be provided. Changing this forces a new Integration Service Environment to be created. VirtualNetworkSubnetIds pulumi.StringArrayOutput `pulumi:"virtualNetworkSubnetIds"` // The list of access endpoint ip addresses of workflow. WorkflowEndpointIpAddresses pulumi.StringArrayOutput `pulumi:"workflowEndpointIpAddresses"` // The list of outgoing ip addresses of workflow. WorkflowOutboundIpAddresses pulumi.StringArrayOutput `pulumi:"workflowOutboundIpAddresses"` }
Manages private and isolated Logic App instances within an Azure virtual network.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("westeurope"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/22"), }, }) if err != nil { return err } isesubnet1, err := network.NewSubnet(ctx, "isesubnet1", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.0/26"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("integrationServiceEnvironments"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Name: pulumi.String("Microsoft.Logic/integrationServiceEnvironments"), }, }, }, }) if err != nil { return err } isesubnet2, err := network.NewSubnet(ctx, "isesubnet2", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.64/26"), }, }) if err != nil { return err } isesubnet3, err := network.NewSubnet(ctx, "isesubnet3", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.128/26"), }, }) if err != nil { return err } isesubnet4, err := network.NewSubnet(ctx, "isesubnet4", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.192/26"), }, }) if err != nil { return err } _, err = logicapps.NewInterationServiceEnvironment(ctx, "exampleInterationServiceEnvironment", &logicapps.InterationServiceEnvironmentArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("Developer_0"), AccessEndpointType: pulumi.String("Internal"), VirtualNetworkSubnetIds: pulumi.StringArray{ isesubnet1.ID(), isesubnet2.ID(), isesubnet3.ID(), isesubnet4.ID(), }, Tags: pulumi.StringMap{ "environment": pulumi.String("development"), }, }) if err != nil { return err } return nil }) }
```
## Import
Integration Service Environments can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/interationServiceEnvironment:InterationServiceEnvironment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationServiceEnvironments/ise1
```
func GetInterationServiceEnvironment ¶ added in v3.16.0
func GetInterationServiceEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterationServiceEnvironmentState, opts ...pulumi.ResourceOption) (*InterationServiceEnvironment, error)
GetInterationServiceEnvironment gets an existing InterationServiceEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInterationServiceEnvironment ¶ added in v3.16.0
func NewInterationServiceEnvironment(ctx *pulumi.Context, name string, args *InterationServiceEnvironmentArgs, opts ...pulumi.ResourceOption) (*InterationServiceEnvironment, error)
NewInterationServiceEnvironment registers a new resource with the given unique name, arguments, and options.
func (InterationServiceEnvironment) ElementType ¶ added in v3.31.1
func (InterationServiceEnvironment) ElementType() reflect.Type
func (InterationServiceEnvironment) ToInterationServiceEnvironmentOutput ¶ added in v3.31.1
func (i InterationServiceEnvironment) ToInterationServiceEnvironmentOutput() InterationServiceEnvironmentOutput
func (InterationServiceEnvironment) ToInterationServiceEnvironmentOutputWithContext ¶ added in v3.31.1
func (i InterationServiceEnvironment) ToInterationServiceEnvironmentOutputWithContext(ctx context.Context) InterationServiceEnvironmentOutput
type InterationServiceEnvironmentArgs ¶ added in v3.16.0
type InterationServiceEnvironmentArgs struct { // The type of access endpoint to use for the Integration Service Environment. Possible Values are `Internal` and `External`. Changing this forces a new Integration Service Environment to be created. AccessEndpointType pulumi.StringInput // The Azure Region where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created. Location pulumi.StringPtrInput // The name of the Integration Service Environment. Changing this forces a new Integration Service Environment to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created. ResourceGroupName pulumi.StringInput // The sku name and capacity of the Integration Service Environment. Possible Values for `sku` element are `Developer` and `Premium` and possible values for the `capacity` element are from `0` to `10`. Defaults to `sku` of `Developer` with a `Capacity` of `0` (e.g. `Developer_0`). Changing this forces a new Integration Service Environment to be created when `sku` element is not the same with existing one. SkuName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Integration Service Environment. Tags pulumi.StringMapInput // A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to subnets must be provided. Changing this forces a new Integration Service Environment to be created. VirtualNetworkSubnetIds pulumi.StringArrayInput }
The set of arguments for constructing a InterationServiceEnvironment resource.
func (InterationServiceEnvironmentArgs) ElementType ¶ added in v3.16.0
func (InterationServiceEnvironmentArgs) ElementType() reflect.Type
type InterationServiceEnvironmentInput ¶ added in v3.31.1
type InterationServiceEnvironmentInput interface { pulumi.Input ToInterationServiceEnvironmentOutput() InterationServiceEnvironmentOutput ToInterationServiceEnvironmentOutputWithContext(ctx context.Context) InterationServiceEnvironmentOutput }
type InterationServiceEnvironmentOutput ¶ added in v3.31.1
type InterationServiceEnvironmentOutput struct {
*pulumi.OutputState
}
func (InterationServiceEnvironmentOutput) ElementType ¶ added in v3.31.1
func (InterationServiceEnvironmentOutput) ElementType() reflect.Type
func (InterationServiceEnvironmentOutput) ToInterationServiceEnvironmentOutput ¶ added in v3.31.1
func (o InterationServiceEnvironmentOutput) ToInterationServiceEnvironmentOutput() InterationServiceEnvironmentOutput
func (InterationServiceEnvironmentOutput) ToInterationServiceEnvironmentOutputWithContext ¶ added in v3.31.1
func (o InterationServiceEnvironmentOutput) ToInterationServiceEnvironmentOutputWithContext(ctx context.Context) InterationServiceEnvironmentOutput
type InterationServiceEnvironmentState ¶ added in v3.16.0
type InterationServiceEnvironmentState struct { // The type of access endpoint to use for the Integration Service Environment. Possible Values are `Internal` and `External`. Changing this forces a new Integration Service Environment to be created. AccessEndpointType pulumi.StringPtrInput // The list of access endpoint ip addresses of connector. ConnectorEndpointIpAddresses pulumi.StringArrayInput // The list of outgoing ip addresses of connector. ConnectorOutboundIpAddresses pulumi.StringArrayInput // The Azure Region where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created. Location pulumi.StringPtrInput // The name of the Integration Service Environment. Changing this forces a new Integration Service Environment to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created. ResourceGroupName pulumi.StringPtrInput // The sku name and capacity of the Integration Service Environment. Possible Values for `sku` element are `Developer` and `Premium` and possible values for the `capacity` element are from `0` to `10`. Defaults to `sku` of `Developer` with a `Capacity` of `0` (e.g. `Developer_0`). Changing this forces a new Integration Service Environment to be created when `sku` element is not the same with existing one. SkuName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Integration Service Environment. Tags pulumi.StringMapInput // A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to subnets must be provided. Changing this forces a new Integration Service Environment to be created. VirtualNetworkSubnetIds pulumi.StringArrayInput // The list of access endpoint ip addresses of workflow. WorkflowEndpointIpAddresses pulumi.StringArrayInput // The list of outgoing ip addresses of workflow. WorkflowOutboundIpAddresses pulumi.StringArrayInput }
func (InterationServiceEnvironmentState) ElementType ¶ added in v3.16.0
func (InterationServiceEnvironmentState) ElementType() reflect.Type
type LookupIntegrationAccountArgs ¶ added in v3.8.0
type LookupIntegrationAccountArgs struct { // The name of this Logic App Integration Account. Name string `pulumi:"name"` // The name of the Resource Group where the Logic App Integration Account exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getIntegrationAccount.
type LookupIntegrationAccountResult ¶ added in v3.8.0
type LookupIntegrationAccountResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the Logic App Integration Account exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The sku name of the Logic App Integration Account. SkuName string `pulumi:"skuName"` // A mapping of tags assigned to the Logic App Integration Account. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getIntegrationAccount.
func LookupIntegrationAccount ¶ added in v3.8.0
func LookupIntegrationAccount(ctx *pulumi.Context, args *LookupIntegrationAccountArgs, opts ...pulumi.InvokeOption) (*LookupIntegrationAccountResult, error)
Use this data source to access information about an existing Logic App Integration Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := logicapps.LookupIntegrationAccount(ctx, &logicapps.LookupIntegrationAccountArgs{ Name: "example-account", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupWorkflowArgs ¶
type LookupWorkflowArgs struct { // The name of the Logic App Workflow. Name string `pulumi:"name"` // The name of the Resource Group in which the Logic App Workflow exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getWorkflow.
type LookupWorkflowResult ¶
type LookupWorkflowResult struct { // The Access Endpoint for the Logic App Workflow AccessEndpoint string `pulumi:"accessEndpoint"` // The list of access endpoint ip addresses of connector. ConnectorEndpointIpAddresses []string `pulumi:"connectorEndpointIpAddresses"` // The list of outgoing ip addresses of connector. ConnectorOutboundIpAddresses []string `pulumi:"connectorOutboundIpAddresses"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure location where the Logic App Workflow exists. Location string `pulumi:"location"` // The ID of the integration account linked by this Logic App Workflow. LogicAppIntegrationAccountId string `pulumi:"logicAppIntegrationAccountId"` Name string `pulumi:"name"` // A map of Key-Value pairs. Parameters map[string]string `pulumi:"parameters"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The list of access endpoint ip addresses of workflow. WorkflowEndpointIpAddresses []string `pulumi:"workflowEndpointIpAddresses"` // The list of outgoing ip addresses of workflow. WorkflowOutboundIpAddresses []string `pulumi:"workflowOutboundIpAddresses"` // The Schema used for this Logic App Workflow. WorkflowSchema string `pulumi:"workflowSchema"` // The version of the Schema used for this Logic App Workflow. Defaults to `1.0.0.0`. WorkflowVersion string `pulumi:"workflowVersion"` }
A collection of values returned by getWorkflow.
func LookupWorkflow ¶
func LookupWorkflow(ctx *pulumi.Context, args *LookupWorkflowArgs, opts ...pulumi.InvokeOption) (*LookupWorkflowResult, error)
Use this data source to access information about an existing Logic App Workflow.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := logicapps.LookupWorkflow(ctx, &logicapps.LookupWorkflowArgs{ Name: "workflow1", ResourceGroupName: "my-resource-group", }, nil) if err != nil { return err } ctx.Export("accessEndpoint", example.AccessEndpoint) return nil }) }
```
type TriggerCustom ¶
type TriggerCustom struct { pulumi.CustomResourceState // Specifies the JSON Blob defining the Body of this Custom Trigger. Body pulumi.StringOutput `pulumi:"body"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` // Specifies the name of the HTTP Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages a Custom Trigger within a Logic App Workflow
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } exampleWorkflow, err := logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = logicapps.NewTriggerCustom(ctx, "exampleTriggerCustom", &logicapps.TriggerCustomArgs{ LogicAppId: exampleWorkflow.ID(), Body: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "{\n", " \"recurrence\": {\n", " \"frequency\": \"Day\",\n", " \"interval\": 1\n", " },\n", " \"type\": \"Recurrence\"\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Logic App Custom Triggers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/triggerCustom:TriggerCustom custom1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/triggers/custom1
```
func GetTriggerCustom ¶
func GetTriggerCustom(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerCustomState, opts ...pulumi.ResourceOption) (*TriggerCustom, error)
GetTriggerCustom gets an existing TriggerCustom resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTriggerCustom ¶
func NewTriggerCustom(ctx *pulumi.Context, name string, args *TriggerCustomArgs, opts ...pulumi.ResourceOption) (*TriggerCustom, error)
NewTriggerCustom registers a new resource with the given unique name, arguments, and options.
func (TriggerCustom) ElementType ¶ added in v3.31.1
func (TriggerCustom) ElementType() reflect.Type
func (TriggerCustom) ToTriggerCustomOutput ¶ added in v3.31.1
func (i TriggerCustom) ToTriggerCustomOutput() TriggerCustomOutput
func (TriggerCustom) ToTriggerCustomOutputWithContext ¶ added in v3.31.1
func (i TriggerCustom) ToTriggerCustomOutputWithContext(ctx context.Context) TriggerCustomOutput
type TriggerCustomArgs ¶
type TriggerCustomArgs struct { // Specifies the JSON Blob defining the Body of this Custom Trigger. Body pulumi.StringInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringInput // Specifies the name of the HTTP Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a TriggerCustom resource.
func (TriggerCustomArgs) ElementType ¶
func (TriggerCustomArgs) ElementType() reflect.Type
type TriggerCustomInput ¶ added in v3.31.1
type TriggerCustomInput interface { pulumi.Input ToTriggerCustomOutput() TriggerCustomOutput ToTriggerCustomOutputWithContext(ctx context.Context) TriggerCustomOutput }
type TriggerCustomOutput ¶ added in v3.31.1
type TriggerCustomOutput struct {
*pulumi.OutputState
}
func (TriggerCustomOutput) ElementType ¶ added in v3.31.1
func (TriggerCustomOutput) ElementType() reflect.Type
func (TriggerCustomOutput) ToTriggerCustomOutput ¶ added in v3.31.1
func (o TriggerCustomOutput) ToTriggerCustomOutput() TriggerCustomOutput
func (TriggerCustomOutput) ToTriggerCustomOutputWithContext ¶ added in v3.31.1
func (o TriggerCustomOutput) ToTriggerCustomOutputWithContext(ctx context.Context) TriggerCustomOutput
type TriggerCustomState ¶
type TriggerCustomState struct { // Specifies the JSON Blob defining the Body of this Custom Trigger. Body pulumi.StringPtrInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput // Specifies the name of the HTTP Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
func (TriggerCustomState) ElementType ¶
func (TriggerCustomState) ElementType() reflect.Type
type TriggerHttpRequest ¶
type TriggerHttpRequest struct { pulumi.CustomResourceState // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` // Specifies the HTTP Method which the request be using. Possible values include `DELETE`, `GET`, `PATCH`, `POST` or `PUT`. Method pulumi.StringPtrOutput `pulumi:"method"` // Specifies the name of the HTTP Request Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the Relative Path used for this Request. RelativePath pulumi.StringPtrOutput `pulumi:"relativePath"` // A JSON Blob defining the Schema of the incoming request. This needs to be valid JSON. Schema pulumi.StringOutput `pulumi:"schema"` }
Manages a HTTP Request Trigger within a Logic App Workflow
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } exampleWorkflow, err := logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = logicapps.NewTriggerHttpRequest(ctx, "exampleTriggerHttpRequest", &logicapps.TriggerHttpRequestArgs{ LogicAppId: exampleWorkflow.ID(), Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v", "{\n", " \"type\": \"object\",\n", " \"properties\": {\n", " \"hello\": {\n", " \"type\": \"string\"\n", " }\n", " }\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Logic App HTTP Request Triggers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/triggerHttpRequest:TriggerHttpRequest request1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/triggers/request1
```
func GetTriggerHttpRequest ¶
func GetTriggerHttpRequest(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerHttpRequestState, opts ...pulumi.ResourceOption) (*TriggerHttpRequest, error)
GetTriggerHttpRequest gets an existing TriggerHttpRequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTriggerHttpRequest ¶
func NewTriggerHttpRequest(ctx *pulumi.Context, name string, args *TriggerHttpRequestArgs, opts ...pulumi.ResourceOption) (*TriggerHttpRequest, error)
NewTriggerHttpRequest registers a new resource with the given unique name, arguments, and options.
func (TriggerHttpRequest) ElementType ¶ added in v3.31.1
func (TriggerHttpRequest) ElementType() reflect.Type
func (TriggerHttpRequest) ToTriggerHttpRequestOutput ¶ added in v3.31.1
func (i TriggerHttpRequest) ToTriggerHttpRequestOutput() TriggerHttpRequestOutput
func (TriggerHttpRequest) ToTriggerHttpRequestOutputWithContext ¶ added in v3.31.1
func (i TriggerHttpRequest) ToTriggerHttpRequestOutputWithContext(ctx context.Context) TriggerHttpRequestOutput
type TriggerHttpRequestArgs ¶
type TriggerHttpRequestArgs struct { // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringInput // Specifies the HTTP Method which the request be using. Possible values include `DELETE`, `GET`, `PATCH`, `POST` or `PUT`. Method pulumi.StringPtrInput // Specifies the name of the HTTP Request Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the Relative Path used for this Request. RelativePath pulumi.StringPtrInput // A JSON Blob defining the Schema of the incoming request. This needs to be valid JSON. Schema pulumi.StringInput }
The set of arguments for constructing a TriggerHttpRequest resource.
func (TriggerHttpRequestArgs) ElementType ¶
func (TriggerHttpRequestArgs) ElementType() reflect.Type
type TriggerHttpRequestInput ¶ added in v3.31.1
type TriggerHttpRequestInput interface { pulumi.Input ToTriggerHttpRequestOutput() TriggerHttpRequestOutput ToTriggerHttpRequestOutputWithContext(ctx context.Context) TriggerHttpRequestOutput }
type TriggerHttpRequestOutput ¶ added in v3.31.1
type TriggerHttpRequestOutput struct {
*pulumi.OutputState
}
func (TriggerHttpRequestOutput) ElementType ¶ added in v3.31.1
func (TriggerHttpRequestOutput) ElementType() reflect.Type
func (TriggerHttpRequestOutput) ToTriggerHttpRequestOutput ¶ added in v3.31.1
func (o TriggerHttpRequestOutput) ToTriggerHttpRequestOutput() TriggerHttpRequestOutput
func (TriggerHttpRequestOutput) ToTriggerHttpRequestOutputWithContext ¶ added in v3.31.1
func (o TriggerHttpRequestOutput) ToTriggerHttpRequestOutputWithContext(ctx context.Context) TriggerHttpRequestOutput
type TriggerHttpRequestState ¶
type TriggerHttpRequestState struct { // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput // Specifies the HTTP Method which the request be using. Possible values include `DELETE`, `GET`, `PATCH`, `POST` or `PUT`. Method pulumi.StringPtrInput // Specifies the name of the HTTP Request Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the Relative Path used for this Request. RelativePath pulumi.StringPtrInput // A JSON Blob defining the Schema of the incoming request. This needs to be valid JSON. Schema pulumi.StringPtrInput }
func (TriggerHttpRequestState) ElementType ¶
func (TriggerHttpRequestState) ElementType() reflect.Type
type TriggerRecurrence ¶
type TriggerRecurrence struct { pulumi.CustomResourceState // Specifies the Frequency at which this Trigger should be run. Possible values include `Month`, `Week`, `Day`, `Hour`, `Minute` and `Second`. Frequency pulumi.StringOutput `pulumi:"frequency"` // Specifies interval used for the Frequency, for example a value of `4` for `interval` and `hour` for `frequency` would run the Trigger every 4 hours. Interval pulumi.IntOutput `pulumi:"interval"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` // Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the start date and time for this trigger in RFC3339 format: `2000-01-02T03:04:05Z`. StartTime pulumi.StringPtrOutput `pulumi:"startTime"` // Specifies the time zone for this trigger. Supported time zone options are listed [here](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
Manages a Recurrence Trigger within a Logic App Workflow
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } exampleWorkflow, err := logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = logicapps.NewTriggerRecurrence(ctx, "exampleTriggerRecurrence", &logicapps.TriggerRecurrenceArgs{ LogicAppId: exampleWorkflow.ID(), Frequency: pulumi.String("Day"), Interval: pulumi.Int(1), }) if err != nil { return err } return nil }) }
```
## Import
Logic App Recurrence Triggers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:logicapps/triggerRecurrence:TriggerRecurrence daily /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/triggers/daily
```
func GetTriggerRecurrence ¶
func GetTriggerRecurrence(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerRecurrenceState, opts ...pulumi.ResourceOption) (*TriggerRecurrence, error)
GetTriggerRecurrence gets an existing TriggerRecurrence resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTriggerRecurrence ¶
func NewTriggerRecurrence(ctx *pulumi.Context, name string, args *TriggerRecurrenceArgs, opts ...pulumi.ResourceOption) (*TriggerRecurrence, error)
NewTriggerRecurrence registers a new resource with the given unique name, arguments, and options.
func (TriggerRecurrence) ElementType ¶ added in v3.31.1
func (TriggerRecurrence) ElementType() reflect.Type
func (TriggerRecurrence) ToTriggerRecurrenceOutput ¶ added in v3.31.1
func (i TriggerRecurrence) ToTriggerRecurrenceOutput() TriggerRecurrenceOutput
func (TriggerRecurrence) ToTriggerRecurrenceOutputWithContext ¶ added in v3.31.1
func (i TriggerRecurrence) ToTriggerRecurrenceOutputWithContext(ctx context.Context) TriggerRecurrenceOutput
type TriggerRecurrenceArgs ¶
type TriggerRecurrenceArgs struct { // Specifies the Frequency at which this Trigger should be run. Possible values include `Month`, `Week`, `Day`, `Hour`, `Minute` and `Second`. Frequency pulumi.StringInput // Specifies interval used for the Frequency, for example a value of `4` for `interval` and `hour` for `frequency` would run the Trigger every 4 hours. Interval pulumi.IntInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringInput // Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the start date and time for this trigger in RFC3339 format: `2000-01-02T03:04:05Z`. StartTime pulumi.StringPtrInput // Specifies the time zone for this trigger. Supported time zone options are listed [here](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) TimeZone pulumi.StringPtrInput }
The set of arguments for constructing a TriggerRecurrence resource.
func (TriggerRecurrenceArgs) ElementType ¶
func (TriggerRecurrenceArgs) ElementType() reflect.Type
type TriggerRecurrenceInput ¶ added in v3.31.1
type TriggerRecurrenceInput interface { pulumi.Input ToTriggerRecurrenceOutput() TriggerRecurrenceOutput ToTriggerRecurrenceOutputWithContext(ctx context.Context) TriggerRecurrenceOutput }
type TriggerRecurrenceOutput ¶ added in v3.31.1
type TriggerRecurrenceOutput struct {
*pulumi.OutputState
}
func (TriggerRecurrenceOutput) ElementType ¶ added in v3.31.1
func (TriggerRecurrenceOutput) ElementType() reflect.Type
func (TriggerRecurrenceOutput) ToTriggerRecurrenceOutput ¶ added in v3.31.1
func (o TriggerRecurrenceOutput) ToTriggerRecurrenceOutput() TriggerRecurrenceOutput
func (TriggerRecurrenceOutput) ToTriggerRecurrenceOutputWithContext ¶ added in v3.31.1
func (o TriggerRecurrenceOutput) ToTriggerRecurrenceOutputWithContext(ctx context.Context) TriggerRecurrenceOutput
type TriggerRecurrenceState ¶
type TriggerRecurrenceState struct { // Specifies the Frequency at which this Trigger should be run. Possible values include `Month`, `Week`, `Day`, `Hour`, `Minute` and `Second`. Frequency pulumi.StringPtrInput // Specifies interval used for the Frequency, for example a value of `4` for `interval` and `hour` for `frequency` would run the Trigger every 4 hours. Interval pulumi.IntPtrInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput // Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the start date and time for this trigger in RFC3339 format: `2000-01-02T03:04:05Z`. StartTime pulumi.StringPtrInput // Specifies the time zone for this trigger. Supported time zone options are listed [here](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) TimeZone pulumi.StringPtrInput }
func (TriggerRecurrenceState) ElementType ¶
func (TriggerRecurrenceState) ElementType() reflect.Type
type Workflow ¶
type Workflow struct { pulumi.CustomResourceState // The Access Endpoint for the Logic App Workflow. AccessEndpoint pulumi.StringOutput `pulumi:"accessEndpoint"` // The list of access endpoint ip addresses of connector. ConnectorEndpointIpAddresses pulumi.StringArrayOutput `pulumi:"connectorEndpointIpAddresses"` // The list of outgoing ip addresses of connector. ConnectorOutboundIpAddresses pulumi.StringArrayOutput `pulumi:"connectorOutboundIpAddresses"` // 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.StringPtrOutput `pulumi:"integrationServiceEnvironmentId"` // Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The ID of the integration account linked by this Logic App Workflow. LogicAppIntegrationAccountId pulumi.StringPtrOutput `pulumi:"logicAppIntegrationAccountId"` // Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A map of Key-Value pairs. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // 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.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The list of access endpoint ip addresses of workflow. WorkflowEndpointIpAddresses pulumi.StringArrayOutput `pulumi:"workflowEndpointIpAddresses"` // The list of outgoing ip addresses of workflow. WorkflowOutboundIpAddresses pulumi.StringArrayOutput `pulumi:"workflowOutboundIpAddresses"` // 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.StringPtrOutput `pulumi:"workflowSchema"` // 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.StringPtrOutput `pulumi:"workflowVersion"` }
Manages a Logic App Workflow.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } _, err = logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
```
## 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
```
func GetWorkflow ¶
func GetWorkflow(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkflowState, opts ...pulumi.ResourceOption) (*Workflow, error)
GetWorkflow gets an existing Workflow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkflow ¶
func NewWorkflow(ctx *pulumi.Context, name string, args *WorkflowArgs, opts ...pulumi.ResourceOption) (*Workflow, error)
NewWorkflow registers a new resource with the given unique name, arguments, and options.
func (Workflow) ElementType ¶ added in v3.31.1
func (Workflow) ToWorkflowOutput ¶ added in v3.31.1
func (i Workflow) ToWorkflowOutput() WorkflowOutput
func (Workflow) ToWorkflowOutputWithContext ¶ added in v3.31.1
func (i Workflow) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
type WorkflowArgs ¶
type WorkflowArgs struct { // 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.StringPtrInput // Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The ID of the integration account linked by this Logic App Workflow. LogicAppIntegrationAccountId pulumi.StringPtrInput // Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A map of Key-Value pairs. Parameters pulumi.StringMapInput // 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.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // 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.StringPtrInput // 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.StringPtrInput }
The set of arguments for constructing a Workflow resource.
func (WorkflowArgs) ElementType ¶
func (WorkflowArgs) ElementType() reflect.Type
type WorkflowInput ¶ added in v3.31.1
type WorkflowInput interface { pulumi.Input ToWorkflowOutput() WorkflowOutput ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput }
type WorkflowOutput ¶ added in v3.31.1
type WorkflowOutput struct {
*pulumi.OutputState
}
func (WorkflowOutput) ElementType ¶ added in v3.31.1
func (WorkflowOutput) ElementType() reflect.Type
func (WorkflowOutput) ToWorkflowOutput ¶ added in v3.31.1
func (o WorkflowOutput) ToWorkflowOutput() WorkflowOutput
func (WorkflowOutput) ToWorkflowOutputWithContext ¶ added in v3.31.1
func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
type WorkflowState ¶
type WorkflowState struct { // The Access Endpoint for the Logic App Workflow. AccessEndpoint pulumi.StringPtrInput // The list of access endpoint ip addresses of connector. ConnectorEndpointIpAddresses pulumi.StringArrayInput // The list of outgoing ip addresses of connector. ConnectorOutboundIpAddresses pulumi.StringArrayInput // 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.StringPtrInput // Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The ID of the integration account linked by this Logic App Workflow. LogicAppIntegrationAccountId pulumi.StringPtrInput // Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A map of Key-Value pairs. Parameters pulumi.StringMapInput // 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.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The list of access endpoint ip addresses of workflow. WorkflowEndpointIpAddresses pulumi.StringArrayInput // The list of outgoing ip addresses of workflow. WorkflowOutboundIpAddresses pulumi.StringArrayInput // 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.StringPtrInput // 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.StringPtrInput }
func (WorkflowState) ElementType ¶
func (WorkflowState) ElementType() reflect.Type