@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
151 lines (150 loc) • 4.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides Fastly Next-Gen WAF Alert Jira integrations, which provide a connection to Jira.
*
* ## Example Usage
*
* Basic usage:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const demoJiraAlert = new fastly.NgwafAlertJiraIntegration("demo_jira_alert", {
* description: "A description",
* host: "https://mycompany.atlassian.net",
* issueType: "task",
* key: "a1b2c3d4e5f6789012345678901234567",
* project: "test",
* username: "user",
* workspaceId: demo.id,
* });
* ```
*
* ## Import
*
* Fastly Next-Gen WAF Alert Jira integrations can be imported using their ID and the ID of the workspace they belong to.
*
* ```sh
* $ pulumi import fastly:index/ngwafAlertJiraIntegration:NgwafAlertJiraIntegration example <workspace_id>/<alert_id>
* ```
*/
export declare class NgwafAlertJiraIntegration extends pulumi.CustomResource {
/**
* Get an existing NgwafAlertJiraIntegration 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?: NgwafAlertJiraIntegrationState, opts?: pulumi.CustomResourceOptions): NgwafAlertJiraIntegration;
/**
* Returns true if the given object is an instance of NgwafAlertJiraIntegration. 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 NgwafAlertJiraIntegration;
/**
* The description of the alert.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The name of the Jira instance.
*/
readonly host: pulumi.Output<string>;
/**
* The Jira issue type associated with the ticket.
*/
readonly issueType: pulumi.Output<string | undefined>;
/**
* The Jira key.
*/
readonly key: pulumi.Output<string>;
/**
* The Jira project where the issue will be created.
*/
readonly project: pulumi.Output<string>;
/**
* The Jira username of the user who created the ticket.
*/
readonly username: pulumi.Output<string>;
/**
* The ID of the workspace.
*/
readonly workspaceId: pulumi.Output<string>;
/**
* Create a NgwafAlertJiraIntegration 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: NgwafAlertJiraIntegrationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NgwafAlertJiraIntegration resources.
*/
export interface NgwafAlertJiraIntegrationState {
/**
* The description of the alert.
*/
description?: pulumi.Input<string>;
/**
* The name of the Jira instance.
*/
host?: pulumi.Input<string>;
/**
* The Jira issue type associated with the ticket.
*/
issueType?: pulumi.Input<string>;
/**
* The Jira key.
*/
key?: pulumi.Input<string>;
/**
* The Jira project where the issue will be created.
*/
project?: pulumi.Input<string>;
/**
* The Jira username of the user who created the ticket.
*/
username?: pulumi.Input<string>;
/**
* The ID of the workspace.
*/
workspaceId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a NgwafAlertJiraIntegration resource.
*/
export interface NgwafAlertJiraIntegrationArgs {
/**
* The description of the alert.
*/
description?: pulumi.Input<string>;
/**
* The name of the Jira instance.
*/
host: pulumi.Input<string>;
/**
* The Jira issue type associated with the ticket.
*/
issueType?: pulumi.Input<string>;
/**
* The Jira key.
*/
key: pulumi.Input<string>;
/**
* The Jira project where the issue will be created.
*/
project: pulumi.Input<string>;
/**
* The Jira username of the user who created the ticket.
*/
username: pulumi.Input<string>;
/**
* The ID of the workspace.
*/
workspaceId: pulumi.Input<string>;
}