UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

120 lines (119 loc) 4.28 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import meraki:networks/webhooksHttpServers:WebhooksHttpServers example "http_server_id,network_id" * ``` */ export declare class WebhooksHttpServers extends pulumi.CustomResource { /** * Get an existing WebhooksHttpServers 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?: WebhooksHttpServersState, opts?: pulumi.CustomResourceOptions): WebhooksHttpServers; /** * Returns true if the given object is an instance of WebhooksHttpServers. 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 WebhooksHttpServers; /** * httpServerId path parameter. Http server ID */ readonly httpServerId: pulumi.Output<string>; /** * A name for easy reference to the HTTP server */ readonly name: pulumi.Output<string>; /** * A Meraki network ID. */ readonly networkId: pulumi.Output<string>; /** * The payload template to use when posting data to the HTTP server. */ readonly payloadTemplate: pulumi.Output<outputs.networks.WebhooksHttpServersPayloadTemplate>; /** * A shared secret that will be included in POSTs sent to the HTTP server. This secret can be used to verify that the request was sent by Meraki. */ readonly sharedSecret: pulumi.Output<string>; /** * The URL of the HTTP server. */ readonly url: pulumi.Output<string>; /** * Create a WebhooksHttpServers 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: WebhooksHttpServersArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WebhooksHttpServers resources. */ export interface WebhooksHttpServersState { /** * httpServerId path parameter. Http server ID */ httpServerId?: pulumi.Input<string>; /** * A name for easy reference to the HTTP server */ name?: pulumi.Input<string>; /** * A Meraki network ID. */ networkId?: pulumi.Input<string>; /** * The payload template to use when posting data to the HTTP server. */ payloadTemplate?: pulumi.Input<inputs.networks.WebhooksHttpServersPayloadTemplate>; /** * A shared secret that will be included in POSTs sent to the HTTP server. This secret can be used to verify that the request was sent by Meraki. */ sharedSecret?: pulumi.Input<string>; /** * The URL of the HTTP server. */ url?: pulumi.Input<string>; } /** * The set of arguments for constructing a WebhooksHttpServers resource. */ export interface WebhooksHttpServersArgs { /** * httpServerId path parameter. Http server ID */ httpServerId?: pulumi.Input<string>; /** * A name for easy reference to the HTTP server */ name?: pulumi.Input<string>; /** * A Meraki network ID. */ networkId: pulumi.Input<string>; /** * The payload template to use when posting data to the HTTP server. */ payloadTemplate?: pulumi.Input<inputs.networks.WebhooksHttpServersPayloadTemplate>; /** * A shared secret that will be included in POSTs sent to the HTTP server. This secret can be used to verify that the request was sent by Meraki. */ sharedSecret?: pulumi.Input<string>; /** * The URL of the HTTP server. */ url?: pulumi.Input<string>; }