Class 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,
});
}
}
Inherited Members
Namespace: Pulumi.Azure.LogicApps
Assembly: Pulumi.Azure.dll
Syntax
public class TriggerRecurrence : CustomResource
Constructors
View SourceTriggerRecurrence(String, TriggerRecurrenceArgs, CustomResourceOptions)
Create a TriggerRecurrence resource with the given unique name, arguments, and options.
Declaration
public TriggerRecurrence(string name, TriggerRecurrenceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TriggerRecurrenceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceFrequency
Specifies the Frequency at which this Trigger should be run. Possible values include Month, Week, Day, Hour, Minute and Second.
Declaration
public Output<string> Frequency { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Interval
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.
Declaration
public Output<int> Interval { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
LogicAppId
Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
Declaration
public Output<string> LogicAppId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StartTime
Specifies the start date and time for this trigger in RFC3339 format: 2000-01-02T03:04:05Z.
Declaration
public Output<string> StartTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, TriggerRecurrenceState, CustomResourceOptions)
Get an existing TriggerRecurrence resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static TriggerRecurrence Get(string name, Input<string> id, TriggerRecurrenceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TriggerRecurrenceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| TriggerRecurrence |