1. Packages
  2. Azure Native
  3. API Docs
  4. databoxedge
  5. PeriodicTimerEventTrigger
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.databoxedge.PeriodicTimerEventTrigger

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Trigger details. Azure REST API version: 2022-03-01. Prior API version in Azure Native 1.x: 2020-12-01.

    Example Usage

    TriggerPut

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var periodicTimerEventTrigger = new AzureNative.DataBoxEdge.PeriodicTimerEventTrigger("periodicTimerEventTrigger", new()
        {
            DeviceName = "testedgedevice",
            Name = "trigger1",
            ResourceGroupName = "GroupForEdgeAutomation",
        });
    
    });
    
    package main
    
    import (
    	databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databoxedge.NewPeriodicTimerEventTrigger(ctx, "periodicTimerEventTrigger", &databoxedge.PeriodicTimerEventTriggerArgs{
    			DeviceName:        pulumi.String("testedgedevice"),
    			Name:              pulumi.String("trigger1"),
    			ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.databoxedge.PeriodicTimerEventTrigger;
    import com.pulumi.azurenative.databoxedge.PeriodicTimerEventTriggerArgs;
    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) {
            var periodicTimerEventTrigger = new PeriodicTimerEventTrigger("periodicTimerEventTrigger", PeriodicTimerEventTriggerArgs.builder()
                .deviceName("testedgedevice")
                .name("trigger1")
                .resourceGroupName("GroupForEdgeAutomation")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    periodic_timer_event_trigger = azure_native.databoxedge.PeriodicTimerEventTrigger("periodicTimerEventTrigger",
        device_name="testedgedevice",
        name="trigger1",
        resource_group_name="GroupForEdgeAutomation")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const periodicTimerEventTrigger = new azure_native.databoxedge.PeriodicTimerEventTrigger("periodicTimerEventTrigger", {
        deviceName: "testedgedevice",
        name: "trigger1",
        resourceGroupName: "GroupForEdgeAutomation",
    });
    
    resources:
      periodicTimerEventTrigger:
        type: azure-native:databoxedge:PeriodicTimerEventTrigger
        properties:
          deviceName: testedgedevice
          name: trigger1
          resourceGroupName: GroupForEdgeAutomation
    

    Create PeriodicTimerEventTrigger Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PeriodicTimerEventTrigger(name: string, args: PeriodicTimerEventTriggerArgs, opts?: CustomResourceOptions);
    @overload
    def PeriodicTimerEventTrigger(resource_name: str,
                                  args: PeriodicTimerEventTriggerArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PeriodicTimerEventTrigger(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  device_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  sink_info: Optional[RoleSinkInfoArgs] = None,
                                  source_info: Optional[PeriodicTimerSourceInfoArgs] = None,
                                  custom_context_tag: Optional[str] = None,
                                  name: Optional[str] = None)
    func NewPeriodicTimerEventTrigger(ctx *Context, name string, args PeriodicTimerEventTriggerArgs, opts ...ResourceOption) (*PeriodicTimerEventTrigger, error)
    public PeriodicTimerEventTrigger(string name, PeriodicTimerEventTriggerArgs args, CustomResourceOptions? opts = null)
    public PeriodicTimerEventTrigger(String name, PeriodicTimerEventTriggerArgs args)
    public PeriodicTimerEventTrigger(String name, PeriodicTimerEventTriggerArgs args, CustomResourceOptions options)
    
    type: azure-native:databoxedge:PeriodicTimerEventTrigger
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PeriodicTimerEventTriggerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PeriodicTimerEventTriggerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PeriodicTimerEventTriggerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PeriodicTimerEventTriggerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PeriodicTimerEventTriggerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var periodicTimerEventTriggerResource = new AzureNative.DataBoxEdge.PeriodicTimerEventTrigger("periodicTimerEventTriggerResource", new()
    {
        DeviceName = "string",
        Kind = "string",
        ResourceGroupName = "string",
        SinkInfo = new AzureNative.DataBoxEdge.Inputs.RoleSinkInfoArgs
        {
            RoleId = "string",
        },
        SourceInfo = new AzureNative.DataBoxEdge.Inputs.PeriodicTimerSourceInfoArgs
        {
            Schedule = "string",
            StartTime = "string",
            Topic = "string",
        },
        CustomContextTag = "string",
        Name = "string",
    });
    
    example, err := databoxedge.NewPeriodicTimerEventTrigger(ctx, "periodicTimerEventTriggerResource", &databoxedge.PeriodicTimerEventTriggerArgs{
    DeviceName: pulumi.String("string"),
    Kind: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    SinkInfo: &databoxedge.RoleSinkInfoArgs{
    RoleId: pulumi.String("string"),
    },
    SourceInfo: &databoxedge.PeriodicTimerSourceInfoArgs{
    Schedule: pulumi.String("string"),
    StartTime: pulumi.String("string"),
    Topic: pulumi.String("string"),
    },
    CustomContextTag: pulumi.String("string"),
    Name: pulumi.String("string"),
    })
    
    var periodicTimerEventTriggerResource = new PeriodicTimerEventTrigger("periodicTimerEventTriggerResource", PeriodicTimerEventTriggerArgs.builder()
        .deviceName("string")
        .kind("string")
        .resourceGroupName("string")
        .sinkInfo(RoleSinkInfoArgs.builder()
            .roleId("string")
            .build())
        .sourceInfo(PeriodicTimerSourceInfoArgs.builder()
            .schedule("string")
            .startTime("string")
            .topic("string")
            .build())
        .customContextTag("string")
        .name("string")
        .build());
    
    periodic_timer_event_trigger_resource = azure_native.databoxedge.PeriodicTimerEventTrigger("periodicTimerEventTriggerResource",
        device_name="string",
        kind="string",
        resource_group_name="string",
        sink_info=azure_native.databoxedge.RoleSinkInfoArgs(
            role_id="string",
        ),
        source_info=azure_native.databoxedge.PeriodicTimerSourceInfoArgs(
            schedule="string",
            start_time="string",
            topic="string",
        ),
        custom_context_tag="string",
        name="string")
    
    const periodicTimerEventTriggerResource = new azure_native.databoxedge.PeriodicTimerEventTrigger("periodicTimerEventTriggerResource", {
        deviceName: "string",
        kind: "string",
        resourceGroupName: "string",
        sinkInfo: {
            roleId: "string",
        },
        sourceInfo: {
            schedule: "string",
            startTime: "string",
            topic: "string",
        },
        customContextTag: "string",
        name: "string",
    });
    
    type: azure-native:databoxedge:PeriodicTimerEventTrigger
    properties:
        customContextTag: string
        deviceName: string
        kind: string
        name: string
        resourceGroupName: string
        sinkInfo:
            roleId: string
        sourceInfo:
            schedule: string
            startTime: string
            topic: string
    

    PeriodicTimerEventTrigger Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PeriodicTimerEventTrigger resource accepts the following input properties:

    DeviceName string
    Creates or updates a trigger
    ResourceGroupName string
    The resource group name.
    SinkInfo Pulumi.AzureNative.DataBoxEdge.Inputs.RoleSinkInfo
    Role Sink information.
    SourceInfo Pulumi.AzureNative.DataBoxEdge.Inputs.PeriodicTimerSourceInfo
    Periodic timer details.
    CustomContextTag 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.
    Name string
    The trigger name.
    DeviceName string
    Creates or updates a trigger
    ResourceGroupName string
    The resource group name.
    SinkInfo RoleSinkInfoArgs
    Role Sink information.
    SourceInfo PeriodicTimerSourceInfoArgs
    Periodic timer details.
    CustomContextTag 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.
    Name string
    The trigger name.
    deviceName String
    Creates or updates a trigger
    resourceGroupName String
    The resource group name.
    sinkInfo RoleSinkInfo
    Role Sink information.
    sourceInfo PeriodicTimerSourceInfo
    Periodic timer details.
    customContextTag 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.
    name String
    The trigger name.
    deviceName string
    Creates or updates a trigger
    resourceGroupName string
    The resource group name.
    sinkInfo RoleSinkInfo
    Role Sink information.
    sourceInfo PeriodicTimerSourceInfo
    Periodic timer details.
    customContextTag 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.
    name string
    The trigger name.
    device_name str
    Creates or updates a trigger
    resource_group_name str
    The resource group name.
    sink_info RoleSinkInfoArgs
    Role Sink information.
    source_info PeriodicTimerSourceInfoArgs
    Periodic timer details.
    custom_context_tag str
    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.
    name str
    The trigger name.
    deviceName String
    Creates or updates a trigger
    resourceGroupName String
    The resource group name.
    sinkInfo Property Map
    Role Sink information.
    sourceInfo Property Map
    Periodic timer details.
    customContextTag 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.
    name String
    The trigger name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PeriodicTimerEventTrigger resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of Trigger
    Type string
    The hierarchical type of the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of Trigger
    Type string
    The hierarchical type of the object.
    id String
    The provider-assigned unique ID for this managed resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of Trigger
    type String
    The hierarchical type of the object.
    id string
    The provider-assigned unique ID for this managed resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of Trigger
    type string
    The hierarchical type of the object.
    id str
    The provider-assigned unique ID for this managed resource.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of Trigger
    type str
    The hierarchical type of the object.
    id String
    The provider-assigned unique ID for this managed resource.
    systemData Property Map
    Metadata pertaining to creation and last modification of Trigger
    type String
    The hierarchical type of the object.

    Supporting Types

    PeriodicTimerSourceInfo, PeriodicTimerSourceInfoArgs

    Schedule string
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    StartTime string
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    Topic string
    Topic where periodic events are published to IoT device.
    Schedule string
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    StartTime string
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    Topic string
    Topic where periodic events are published to IoT device.
    schedule String
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    startTime String
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic String
    Topic where periodic events are published to IoT device.
    schedule string
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    startTime string
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic string
    Topic where periodic events are published to IoT device.
    schedule str
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    start_time str
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic str
    Topic where periodic events are published to IoT device.
    schedule String
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    startTime String
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic String
    Topic where periodic events are published to IoT device.

    PeriodicTimerSourceInfoResponse, PeriodicTimerSourceInfoResponseArgs

    Schedule string
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    StartTime string
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    Topic string
    Topic where periodic events are published to IoT device.
    Schedule string
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    StartTime string
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    Topic string
    Topic where periodic events are published to IoT device.
    schedule String
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    startTime String
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic String
    Topic where periodic events are published to IoT device.
    schedule string
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    startTime string
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic string
    Topic where periodic events are published to IoT device.
    schedule str
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    start_time str
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic str
    Topic where periodic events are published to IoT device.
    schedule String
    Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
    startTime String
    The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
    topic String
    Topic where periodic events are published to IoT device.

    RoleSinkInfo, RoleSinkInfoArgs

    RoleId string
    Compute role ID.
    RoleId string
    Compute role ID.
    roleId String
    Compute role ID.
    roleId string
    Compute role ID.
    role_id str
    Compute role ID.
    roleId String
    Compute role ID.

    RoleSinkInfoResponse, RoleSinkInfoResponseArgs

    RoleId string
    Compute role ID.
    RoleId string
    Compute role ID.
    roleId String
    Compute role ID.
    roleId string
    Compute role ID.
    role_id str
    Compute role ID.
    roleId String
    Compute role ID.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:databoxedge:PeriodicTimerEventTrigger trigger1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi