@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* A type of trigger based on schedule
*
* Uses Azure REST API version 2021-08-01. In version 2.x of the Azure Native provider, it used API version 2021-08-01.
*/
export declare class ScheduledTrigger extends pulumi.CustomResource {
/**
* Get an existing ScheduledTrigger resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ScheduledTrigger;
/**
* Returns true if the given object is an instance of ScheduledTrigger. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ScheduledTrigger;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Time at which the trigger was created.
*/
readonly createdAt: pulumi.Output<string>;
/**
* Kind of synchronization on trigger.
* Expected value is 'ScheduleBased'.
*/
readonly kind: pulumi.Output<"ScheduleBased">;
/**
* Name of the azure resource
*/
readonly name: pulumi.Output<string>;
/**
* Gets the provisioning state
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Recurrence Interval
*/
readonly recurrenceInterval: pulumi.Output<string>;
/**
* Synchronization mode
*/
readonly synchronizationMode: pulumi.Output<string | undefined>;
/**
* Synchronization time
*/
readonly synchronizationTime: pulumi.Output<string>;
/**
* System Data of the Azure resource.
*/
readonly systemData: pulumi.Output<outputs.datashare.SystemDataResponse>;
/**
* Gets the trigger state
*/
readonly triggerStatus: pulumi.Output<string>;
/**
* Type of the azure resource
*/
readonly type: pulumi.Output<string>;
/**
* Name of the user who created the trigger.
*/
readonly userName: pulumi.Output<string>;
/**
* Create a ScheduledTrigger resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ScheduledTriggerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ScheduledTrigger resource.
*/
export interface ScheduledTriggerArgs {
/**
* The name of the share account.
*/
accountName: pulumi.Input<string>;
/**
* Kind of synchronization on trigger.
* Expected value is 'ScheduleBased'.
*/
kind: pulumi.Input<"ScheduleBased">;
/**
* Recurrence Interval
*/
recurrenceInterval: pulumi.Input<string | enums.datashare.RecurrenceInterval>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the share subscription which will hold the data set sink.
*/
shareSubscriptionName: pulumi.Input<string>;
/**
* Synchronization mode
*/
synchronizationMode?: pulumi.Input<string | enums.datashare.SynchronizationMode>;
/**
* Synchronization time
*/
synchronizationTime: pulumi.Input<string>;
/**
* The name of the trigger.
*/
triggerName?: pulumi.Input<string>;
}