UNPKG

@equinix-labs/pulumi-equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

214 lines (213 loc) 6.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Fabric V4 API compatible resource allows creation and management of Equinix Fabric Stream Alert Rules' * } * * Additional Documentation: * * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm * * API: https://developer.equinix.com/catalog/fabricv4#tag/Stream-Alert-Rules */ export declare class StreamAlertRule extends pulumi.CustomResource { /** * Get an existing StreamAlertRule 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StreamAlertRuleState, opts?: pulumi.CustomResourceOptions): StreamAlertRule; /** * Returns true if the given object is an instance of StreamAlertRule. 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 StreamAlertRule; /** * Details of the last change on the stream resource */ readonly changeLog: pulumi.Output<outputs.fabric.StreamAlertRuleChangeLog>; /** * Stream alert rule metric critical threshold */ readonly criticalThreshold: pulumi.Output<string>; /** * Customer-provided stream alert rule description */ readonly description: pulumi.Output<string>; /** * Stream alert rule enabled status */ readonly enabled: pulumi.Output<boolean>; /** * Equinix assigned URI of the stream alert rule */ readonly href: pulumi.Output<string>; /** * Stream alert rule metric name */ readonly metricName: pulumi.Output<string>; /** * Customer-provided stream alert rule name */ readonly name: pulumi.Output<string>; /** * Stream alert rule metric operand */ readonly operand: pulumi.Output<string>; /** * Resource selector for the stream alert rule */ readonly resourceSelector: pulumi.Output<outputs.fabric.StreamAlertRuleResourceSelector>; /** * Value representing provisioning status for the stream alert rule */ readonly state: pulumi.Output<string>; /** * The stream UUID that contains this alert rule */ readonly streamId: pulumi.Output<string>; readonly timeouts: pulumi.Output<outputs.fabric.StreamAlertRuleTimeouts | undefined>; /** * Type of the stream alert rule */ readonly type: pulumi.Output<string>; /** * Equinix assigned unique identifier for the stream alert rule */ readonly uuid: pulumi.Output<string>; /** * Stream alert rule metric warning threshold */ readonly warningThreshold: pulumi.Output<string>; /** * Stream alert rule metric window size */ readonly windowSize: pulumi.Output<string>; /** * Create a StreamAlertRule 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: StreamAlertRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamAlertRule resources. */ export interface StreamAlertRuleState { /** * Details of the last change on the stream resource */ changeLog?: pulumi.Input<inputs.fabric.StreamAlertRuleChangeLog>; /** * Stream alert rule metric critical threshold */ criticalThreshold?: pulumi.Input<string>; /** * Customer-provided stream alert rule description */ description?: pulumi.Input<string>; /** * Stream alert rule enabled status */ enabled?: pulumi.Input<boolean>; /** * Equinix assigned URI of the stream alert rule */ href?: pulumi.Input<string>; /** * Stream alert rule metric name */ metricName?: pulumi.Input<string>; /** * Customer-provided stream alert rule name */ name?: pulumi.Input<string>; /** * Stream alert rule metric operand */ operand?: pulumi.Input<string>; /** * Resource selector for the stream alert rule */ resourceSelector?: pulumi.Input<inputs.fabric.StreamAlertRuleResourceSelector>; /** * Value representing provisioning status for the stream alert rule */ state?: pulumi.Input<string>; /** * The stream UUID that contains this alert rule */ streamId?: pulumi.Input<string>; timeouts?: pulumi.Input<inputs.fabric.StreamAlertRuleTimeouts>; /** * Type of the stream alert rule */ type?: pulumi.Input<string>; /** * Equinix assigned unique identifier for the stream alert rule */ uuid?: pulumi.Input<string>; /** * Stream alert rule metric warning threshold */ warningThreshold?: pulumi.Input<string>; /** * Stream alert rule metric window size */ windowSize?: pulumi.Input<string>; } /** * The set of arguments for constructing a StreamAlertRule resource. */ export interface StreamAlertRuleArgs { /** * Stream alert rule metric critical threshold */ criticalThreshold: pulumi.Input<string>; /** * Customer-provided stream alert rule description */ description: pulumi.Input<string>; /** * Stream alert rule enabled status */ enabled?: pulumi.Input<boolean>; /** * Stream alert rule metric name */ metricName: pulumi.Input<string>; /** * Customer-provided stream alert rule name */ name?: pulumi.Input<string>; /** * Stream alert rule metric operand */ operand: pulumi.Input<string>; /** * Resource selector for the stream alert rule */ resourceSelector?: pulumi.Input<inputs.fabric.StreamAlertRuleResourceSelector>; /** * The stream UUID that contains this alert rule */ streamId: pulumi.Input<string>; timeouts?: pulumi.Input<inputs.fabric.StreamAlertRuleTimeouts>; /** * Type of the stream alert rule */ type: pulumi.Input<string>; /** * Stream alert rule metric warning threshold */ warningThreshold: pulumi.Input<string>; /** * Stream alert rule metric window size */ windowSize: pulumi.Input<string>; }