@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a trigger.
*
* Uses Azure REST API version 2018-06-01.
*/
export declare function getTrigger(args: GetTriggerArgs, opts?: pulumi.InvokeOptions): Promise<GetTriggerResult>;
export interface GetTriggerArgs {
/**
* The factory name.
*/
factoryName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
/**
* The trigger name.
*/
triggerName: string;
}
/**
* Trigger resource type.
*/
export interface GetTriggerResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Etag identifies change in the resource.
*/
readonly etag: string;
/**
* The resource identifier.
*/
readonly id: string;
/**
* The resource name.
*/
readonly name: string;
/**
* Properties of the trigger.
*/
readonly properties: outputs.datafactory.BlobEventsTriggerResponse | outputs.datafactory.BlobTriggerResponse | outputs.datafactory.ChainingTriggerResponse | outputs.datafactory.CustomEventsTriggerResponse | outputs.datafactory.MultiplePipelineTriggerResponse | outputs.datafactory.RerunTumblingWindowTriggerResponse | outputs.datafactory.ScheduleTriggerResponse | outputs.datafactory.TumblingWindowTriggerResponse;
/**
* The resource type.
*/
readonly type: string;
}
/**
* Gets a trigger.
*
* Uses Azure REST API version 2018-06-01.
*/
export declare function getTriggerOutput(args: GetTriggerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTriggerResult>;
export interface GetTriggerOutputArgs {
/**
* The factory name.
*/
factoryName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The trigger name.
*/
triggerName: pulumi.Input<string>;
}