Documentation
¶
Index ¶
- type ActionCustom
- type ActionCustomArgs
- type ActionCustomState
- type ActionHttp
- type ActionHttpArgs
- 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 IntegrationAccountState
- type LookupIntegrationAccountArgs
- type LookupIntegrationAccountResult
- type LookupWorkflowArgs
- type LookupWorkflowResult
- type TriggerCustom
- type TriggerCustomArgs
- type TriggerCustomState
- type TriggerHttpRequest
- type TriggerHttpRequestArgs
- type TriggerHttpRequestState
- type TriggerRecurrence
- type TriggerRecurrenceArgs
- type TriggerRecurrenceState
- type Workflow
- type WorkflowArgs
- 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 }) }
```
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.
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 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 }) }
```
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.
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 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.Map{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
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.
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 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 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 }) }
```
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.
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 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 }) }
```
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.
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 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"` }
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 }) }
```
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.
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 }
The set of arguments for constructing a TriggerRecurrence resource.
func (TriggerRecurrenceArgs) ElementType ¶
func (TriggerRecurrenceArgs) ElementType() reflect.Type
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 }
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"` // 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 }) }
```
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.
type WorkflowArgs ¶
type WorkflowArgs struct { // 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 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 // 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