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

109 lines (108 loc) 2.69 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Trigger in a shareSubscription * * Uses Azure REST API version 2021-08-01. */ export declare function getScheduledTrigger(args: GetScheduledTriggerArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduledTriggerResult>; export interface GetScheduledTriggerArgs { /** * The name of the share account. */ accountName: string; /** * The resource group name. */ resourceGroupName: string; /** * The name of the shareSubscription. */ shareSubscriptionName: string; /** * The name of the trigger. */ triggerName: string; } /** * A type of trigger based on schedule */ export interface GetScheduledTriggerResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Time at which the trigger was created. */ readonly createdAt: string; /** * The resource id of the azure resource */ readonly id: string; /** * Kind of synchronization on trigger. * Expected value is 'ScheduleBased'. */ readonly kind: "ScheduleBased"; /** * Name of the azure resource */ readonly name: string; /** * Gets the provisioning state */ readonly provisioningState: string; /** * Recurrence Interval */ readonly recurrenceInterval: string; /** * Synchronization mode */ readonly synchronizationMode?: string; /** * Synchronization time */ readonly synchronizationTime: string; /** * System Data of the Azure resource. */ readonly systemData: outputs.datashare.SystemDataResponse; /** * Gets the trigger state */ readonly triggerStatus: string; /** * Type of the azure resource */ readonly type: string; /** * Name of the user who created the trigger. */ readonly userName: string; } /** * Get a Trigger in a shareSubscription * * Uses Azure REST API version 2021-08-01. */ export declare function getScheduledTriggerOutput(args: GetScheduledTriggerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduledTriggerResult>; export interface GetScheduledTriggerOutputArgs { /** * The name of the share account. */ accountName: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; /** * The name of the shareSubscription. */ shareSubscriptionName: pulumi.Input<string>; /** * The name of the trigger. */ triggerName: pulumi.Input<string>; }