getTriggerSchedules

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)
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 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
})
}
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}

Return

A collection of values returned by getTriggerSchedules.

Parameters

argument

A collection of arguments for invoking getTriggerSchedules.


Return

A collection of values returned by getTriggerSchedules.

Parameters

dataFactoryId

The ID of the Azure Data Factory to fetch trigger schedules from.

See also


Return

A collection of values returned by getTriggerSchedules.

Parameters

argument

Builder for com.pulumi.azure.datafactory.kotlin.inputs.GetTriggerSchedulesPlainArgs.

See also