import * as pulumi from "@pulumi/pulumi"; /** * This resource allows you to manage dependabot automated security fixes for a single repository. See the * [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) * 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 repo = new github.Repository("repo", { * name: "my-repo", * description: "GitHub repo managed by Terraform", * "private": false, * vulnerabilityAlerts: true, * }); * const example = new github.RepositoryDependabotSecurityUpdates("example", { * repository: test.name, * enabled: true, * }); * ``` * * ## Import * * ### Import by name * * ```sh * $ pulumi import github:index/repositoryDependabotSecurityUpdates:RepositoryDependabotSecurityUpdates example my-repo * ``` */ export declare class RepositoryDependabotSecurityUpdates extends pulumi.CustomResource { /** * Get an existing RepositoryDependabotSecurityUpdates 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?: RepositoryDependabotSecurityUpdatesState, opts?: pulumi.CustomResourceOptions): RepositoryDependabotSecurityUpdates; /** * Returns true if the given object is an instance of RepositoryDependabotSecurityUpdates. 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 RepositoryDependabotSecurityUpdates; /** * The state of the automated security fixes. */ readonly enabled: pulumi.Output; /** * The name of the GitHub repository. */ readonly repository: pulumi.Output; /** * Create a RepositoryDependabotSecurityUpdates 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: RepositoryDependabotSecurityUpdatesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RepositoryDependabotSecurityUpdates resources. */ export interface RepositoryDependabotSecurityUpdatesState { /** * The state of the automated security fixes. */ enabled?: pulumi.Input; /** * The name of the GitHub repository. */ repository?: pulumi.Input; } /** * The set of arguments for constructing a RepositoryDependabotSecurityUpdates resource. */ export interface RepositoryDependabotSecurityUpdatesArgs { /** * The state of the automated security fixes. */ enabled: pulumi.Input; /** * The name of the GitHub repository. */ repository: pulumi.Input; }