import * as pulumi from "@pulumi/pulumi"; /** * This resource allows you to manage vulnerability alerts for a GitHub repository. See the * [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts) * for details of usage and how this will impact your repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = new github.Repository("example", { * name: "my-repo", * description: "GitHub repo managed by Terraform", * visibility: "private", * }); * const exampleRepositoryVulnerabilityAlerts = new github.RepositoryVulnerabilityAlerts("example", { * repository: example.name, * enabled: true, * }); * ``` * * ## Import * * Repository vulnerability alerts can be imported using the `repositoryName`: * * ```sh * $ pulumi import github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts example my-repo * ``` */ export declare class RepositoryVulnerabilityAlerts extends pulumi.CustomResource { /** * Get an existing RepositoryVulnerabilityAlerts 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, state?: RepositoryVulnerabilityAlertsState, opts?: pulumi.CustomResourceOptions): RepositoryVulnerabilityAlerts; /** * Returns true if the given object is an instance of RepositoryVulnerabilityAlerts. 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 RepositoryVulnerabilityAlerts; /** * Whether vulnerability alerts are enabled for the repository. Defaults to `true`. */ readonly enabled: pulumi.Output; /** * The name of the repository to configure vulnerability alerts for. */ readonly repository: pulumi.Output; /** * The ID of the repository. */ readonly repositoryId: pulumi.Output; /** * Create a RepositoryVulnerabilityAlerts 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: RepositoryVulnerabilityAlertsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RepositoryVulnerabilityAlerts resources. */ export interface RepositoryVulnerabilityAlertsState { /** * Whether vulnerability alerts are enabled for the repository. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the repository to configure vulnerability alerts for. */ repository?: pulumi.Input; /** * The ID of the repository. */ repositoryId?: pulumi.Input; } /** * The set of arguments for constructing a RepositoryVulnerabilityAlerts resource. */ export interface RepositoryVulnerabilityAlertsArgs { /** * Whether vulnerability alerts are enabled for the repository. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the repository to configure vulnerability alerts for. */ repository: pulumi.Input; } //# sourceMappingURL=repositoryVulnerabilityAlerts.d.ts.map