@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
174 lines • 5.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = new meraki.organizations.AlertsProfiles("example", {
* alertCondition: {
* bitRateBps: 10000,
* duration: 60,
* "interface": "wan1",
* jitterMs: 100,
* latencyMs: 100,
* lossRatio: 0.1,
* mos: 3.5,
* window: 600,
* },
* description: "WAN 1 high utilization",
* networkTags: [
* "tag1",
* "tag2",
* ],
* organizationId: "string",
* recipients: {
* emails: ["admin@example.org"],
* httpServerIds: ["aHR0cHM6Ly93d3cuZXhhbXBsZS5jb20vcGF0aA=="],
* },
* type: "wanUtilization",
* });
* export const merakiOrganizationsAlertsProfilesExample = example;
* ```
*
* ## Import
*
* ```sh
* $ pulumi import meraki:organizations/alertsProfiles:AlertsProfiles example "organization_id"
* ```
*/
export declare class AlertsProfiles extends pulumi.CustomResource {
/**
* Get an existing AlertsProfiles 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?: AlertsProfilesState, opts?: pulumi.CustomResourceOptions): AlertsProfiles;
/**
* Returns true if the given object is an instance of AlertsProfiles. 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 AlertsProfiles;
/**
* The conditions that determine if the alert triggers
*/
readonly alertCondition: pulumi.Output<outputs.organizations.AlertsProfilesAlertCondition>;
/**
* alertConfigId path parameter. Alert config ID
*/
readonly alertConfigId: pulumi.Output<string>;
/**
* User supplied description of the alert
*/
readonly description: pulumi.Output<string>;
/**
* Is the alert config enabled
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Networks with these tags will be monitored for the alert
*/
readonly networkTags: pulumi.Output<string[]>;
/**
* organizationId path parameter. Organization ID
*/
readonly organizationId: pulumi.Output<string>;
/**
* List of recipients that will recieve the alert.
*/
readonly recipients: pulumi.Output<outputs.organizations.AlertsProfilesRecipients>;
/**
* The alert type
*/
readonly type: pulumi.Output<string>;
/**
* Create a AlertsProfiles 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: AlertsProfilesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AlertsProfiles resources.
*/
export interface AlertsProfilesState {
/**
* The conditions that determine if the alert triggers
*/
alertCondition?: pulumi.Input<inputs.organizations.AlertsProfilesAlertCondition | undefined>;
/**
* alertConfigId path parameter. Alert config ID
*/
alertConfigId?: pulumi.Input<string | undefined>;
/**
* User supplied description of the alert
*/
description?: pulumi.Input<string | undefined>;
/**
* Is the alert config enabled
*/
enabled?: pulumi.Input<boolean | undefined>;
/**
* Networks with these tags will be monitored for the alert
*/
networkTags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* organizationId path parameter. Organization ID
*/
organizationId?: pulumi.Input<string | undefined>;
/**
* List of recipients that will recieve the alert.
*/
recipients?: pulumi.Input<inputs.organizations.AlertsProfilesRecipients | undefined>;
/**
* The alert type
*/
type?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a AlertsProfiles resource.
*/
export interface AlertsProfilesArgs {
/**
* The conditions that determine if the alert triggers
*/
alertCondition?: pulumi.Input<inputs.organizations.AlertsProfilesAlertCondition | undefined>;
/**
* alertConfigId path parameter. Alert config ID
*/
alertConfigId?: pulumi.Input<string | undefined>;
/**
* User supplied description of the alert
*/
description?: pulumi.Input<string | undefined>;
/**
* Is the alert config enabled
*/
enabled?: pulumi.Input<boolean | undefined>;
/**
* Networks with these tags will be monitored for the alert
*/
networkTags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* organizationId path parameter. Organization ID
*/
organizationId: pulumi.Input<string>;
/**
* List of recipients that will recieve the alert.
*/
recipients?: pulumi.Input<inputs.organizations.AlertsProfilesRecipients | undefined>;
/**
* The alert type
*/
type?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=alertsProfiles.d.ts.map