We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.datafactory.getTriggerSchedules
Start a Neo task
Explain and create an azure.datafactory.getTriggerSchedules resource
Use this data source to access information about all existing trigger schedules in Azure Data Factory.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.datafactory.getTriggerSchedules({
dataFactoryId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DataFactory/factories/datafactory1",
});
export const items = example.then(example => example.items);
import pulumi
import pulumi_azure as azure
example = azure.datafactory.get_trigger_schedules(data_factory_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DataFactory/factories/datafactory1")
pulumi.export("items", example.items)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/datafactory"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := datafactory.GetTriggerSchedules(ctx, &datafactory.GetTriggerSchedulesArgs{
DataFactoryId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DataFactory/factories/datafactory1",
}, nil)
if err != nil {
return err
}
ctx.Export("items", example.Items)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.DataFactory.GetTriggerSchedules.Invoke(new()
{
DataFactoryId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DataFactory/factories/datafactory1",
});
return new Dictionary<string, object?>
{
["items"] = example.Apply(getTriggerSchedulesResult => getTriggerSchedulesResult.Items),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.datafactory.DatafactoryFunctions;
import com.pulumi.azure.datafactory.inputs.GetTriggerSchedulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DatafactoryFunctions.getTriggerSchedules(GetTriggerSchedulesArgs.builder()
.dataFactoryId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DataFactory/factories/datafactory1")
.build());
ctx.export("items", example.items());
}
}
variables:
example:
fn::invoke:
function: azure:datafactory:getTriggerSchedules
arguments:
dataFactoryId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DataFactory/factories/datafactory1
outputs:
items: ${example.items}
Using getTriggerSchedules
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTriggerSchedules(args: GetTriggerSchedulesArgs, opts?: InvokeOptions): Promise<GetTriggerSchedulesResult>
function getTriggerSchedulesOutput(args: GetTriggerSchedulesOutputArgs, opts?: InvokeOptions): Output<GetTriggerSchedulesResult>def get_trigger_schedules(data_factory_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTriggerSchedulesResult
def get_trigger_schedules_output(data_factory_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTriggerSchedulesResult]func GetTriggerSchedules(ctx *Context, args *GetTriggerSchedulesArgs, opts ...InvokeOption) (*GetTriggerSchedulesResult, error)
func GetTriggerSchedulesOutput(ctx *Context, args *GetTriggerSchedulesOutputArgs, opts ...InvokeOption) GetTriggerSchedulesResultOutput> Note: This function is named GetTriggerSchedules in the Go SDK.
public static class GetTriggerSchedules
{
public static Task<GetTriggerSchedulesResult> InvokeAsync(GetTriggerSchedulesArgs args, InvokeOptions? opts = null)
public static Output<GetTriggerSchedulesResult> Invoke(GetTriggerSchedulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTriggerSchedulesResult> getTriggerSchedules(GetTriggerSchedulesArgs args, InvokeOptions options)
public static Output<GetTriggerSchedulesResult> getTriggerSchedules(GetTriggerSchedulesArgs args, InvokeOptions options)
fn::invoke:
function: azure:datafactory/getTriggerSchedules:getTriggerSchedules
arguments:
# arguments dictionaryThe following arguments are supported:
- Data
Factory stringId - The ID of the Azure Data Factory to fetch trigger schedules from.
- Data
Factory stringId - The ID of the Azure Data Factory to fetch trigger schedules from.
- data
Factory StringId - The ID of the Azure Data Factory to fetch trigger schedules from.
- data
Factory stringId - The ID of the Azure Data Factory to fetch trigger schedules from.
- data_
factory_ strid - The ID of the Azure Data Factory to fetch trigger schedules from.
- data
Factory StringId - The ID of the Azure Data Factory to fetch trigger schedules from.
getTriggerSchedules Result
The following output properties are available:
- Data
Factory stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items List<string>
- A list of trigger schedule names available in this Azure Data Factory.
- Data
Factory stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items []string
- A list of trigger schedule names available in this Azure Data Factory.
- data
Factory StringId - id String
- The provider-assigned unique ID for this managed resource.
- items List<String>
- A list of trigger schedule names available in this Azure Data Factory.
- data
Factory stringId - id string
- The provider-assigned unique ID for this managed resource.
- items string[]
- A list of trigger schedule names available in this Azure Data Factory.
- data_
factory_ strid - id str
- The provider-assigned unique ID for this managed resource.
- items Sequence[str]
- A list of trigger schedule names available in this Azure Data Factory.
- data
Factory StringId - id String
- The provider-assigned unique ID for this managed resource.
- items List<String>
- A list of trigger schedule names available in this Azure Data Factory.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
