TriggerRecurrence

Manages a Recurrence Trigger within a Logic App Workflow

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
        {
            Location = "East US",
        });
        var exampleWorkflow = new Azure.LogicApps.Workflow("exampleWorkflow", new Azure.LogicApps.WorkflowArgs
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
        });
        var exampleTriggerRecurrence = new Azure.LogicApps.TriggerRecurrence("exampleTriggerRecurrence", new Azure.LogicApps.TriggerRecurrenceArgs
        {
            LogicAppId = exampleWorkflow.Id,
            Frequency = "Day",
            Interval = 1,
        });
    }

}
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 pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="East US")
example_workflow = azure.logicapps.Workflow("exampleWorkflow",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_trigger_recurrence = azure.logicapps.TriggerRecurrence("exampleTriggerRecurrence",
    logic_app_id=example_workflow.id,
    frequency="Day",
    interval=1)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "East US"});
const exampleWorkflow = new azure.logicapps.Workflow("exampleWorkflow", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
});
const exampleTriggerRecurrence = new azure.logicapps.TriggerRecurrence("exampleTriggerRecurrence", {
    logicAppId: exampleWorkflow.id,
    frequency: "Day",
    interval: 1,
});

Create a TriggerRecurrence Resource

def TriggerRecurrence(resource_name, opts=None, frequency=None, interval=None, logic_app_id=None, name=None, start_time=None, __props__=None);
name string
The unique name of the resource.
args TriggerRecurrenceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TriggerRecurrenceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TriggerRecurrenceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

TriggerRecurrence Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The TriggerRecurrence resource accepts the following input properties:

Frequency string

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

Interval int

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.

LogicAppId string

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

Name string

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

StartTime string

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

Frequency string

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

Interval int

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.

LogicAppId string

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

Name string

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

StartTime string

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

frequency string

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

interval number

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.

logicAppId string

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

name string

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

startTime string

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

frequency str

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

interval float

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.

logic_app_id str

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

name str

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

start_time str

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

Outputs

All input properties are implicitly available as output properties. Additionally, the TriggerRecurrence resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing TriggerRecurrence Resource

Get an existing TriggerRecurrence resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TriggerRecurrenceState, opts?: CustomResourceOptions): TriggerRecurrence
static get(resource_name, id, opts=None, frequency=None, interval=None, logic_app_id=None, name=None, start_time=None, __props__=None);
func GetTriggerRecurrence(ctx *Context, name string, id IDInput, state *TriggerRecurrenceState, opts ...ResourceOption) (*TriggerRecurrence, error)
public static TriggerRecurrence Get(string name, Input<string> id, TriggerRecurrenceState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Frequency string

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

Interval int

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.

LogicAppId string

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

Name string

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

StartTime string

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

Frequency string

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

Interval int

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.

LogicAppId string

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

Name string

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

StartTime string

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

frequency string

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

interval number

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.

logicAppId string

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

name string

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

startTime string

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

frequency str

Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.

interval float

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.

logic_app_id str

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

name str

Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.

start_time str

Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.