@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a specific trigger by name.
*
* Uses Azure REST API version 2023-07-01.
*/
export declare function getFileEventTrigger(args: GetFileEventTriggerArgs, opts?: pulumi.InvokeOptions): Promise<GetFileEventTriggerResult>;
export interface GetFileEventTriggerArgs {
/**
* The device name.
*/
deviceName: string;
/**
* The trigger name.
*/
name: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* Trigger details.
*/
export interface GetFileEventTriggerResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.
*/
readonly customContextTag?: string;
/**
* The path ID that uniquely identifies the object.
*/
readonly id: string;
/**
* Trigger Kind.
* Expected value is 'FileEvent'.
*/
readonly kind: "FileEvent";
/**
* The object name.
*/
readonly name: string;
/**
* Role sink info.
*/
readonly sinkInfo: outputs.databoxedge.RoleSinkInfoResponse;
/**
* File event source details.
*/
readonly sourceInfo: outputs.databoxedge.FileSourceInfoResponse;
/**
* Metadata pertaining to creation and last modification of Trigger
*/
readonly systemData: outputs.databoxedge.SystemDataResponse;
/**
* The hierarchical type of the object.
*/
readonly type: string;
}
/**
* Get a specific trigger by name.
*
* Uses Azure REST API version 2023-07-01.
*/
export declare function getFileEventTriggerOutput(args: GetFileEventTriggerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFileEventTriggerResult>;
export interface GetFileEventTriggerOutputArgs {
/**
* The device name.
*/
deviceName: pulumi.Input<string>;
/**
* The trigger name.
*/
name: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}