UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

85 lines (84 loc) 2.32 kB
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>; }