import * as pulumi from "@pulumi/pulumi"; /** * This resource allows you to create and manage GitHub Actions variables within your GitHub repositories. * You must have write access to a repository to use this resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const exampleVariable = new github.ActionsVariable("example_variable", { * repository: "example_repository", * variableName: "example_variable_name", * value: "example_variable_value", * }); * ``` * * ## Import * * This resource can be imported using an ID made of the repository name, and variable name separated by a `:`. * * ### Import Command * * The following command imports a GitHub actions variable named `myvariable` for the repo `myrepo` to a `github.ActionsVariable` resource named `example`. * * ```sh * $ pulumi import github:index/actionsVariable:ActionsVariable example myrepo:myvariable * ``` */ export declare class ActionsVariable extends pulumi.CustomResource { /** * Get an existing ActionsVariable 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?: ActionsVariableState, opts?: pulumi.CustomResourceOptions): ActionsVariable; /** * Returns true if the given object is an instance of ActionsVariable. 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 ActionsVariable; /** * Date the variable was created. */ readonly createdAt: pulumi.Output; /** * Name of the repository. */ readonly repository: pulumi.Output; /** * ID of the repository. */ readonly repositoryId: pulumi.Output; /** * Date the variable was last updated. */ readonly updatedAt: pulumi.Output; /** * Value of the variable. */ readonly value: pulumi.Output; /** * Name of the variable. */ readonly variableName: pulumi.Output; /** * Create a ActionsVariable 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: ActionsVariableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ActionsVariable resources. */ export interface ActionsVariableState { /** * Date the variable was created. */ createdAt?: pulumi.Input; /** * Name of the repository. */ repository?: pulumi.Input; /** * ID of the repository. */ repositoryId?: pulumi.Input; /** * Date the variable was last updated. */ updatedAt?: pulumi.Input; /** * Value of the variable. */ value?: pulumi.Input; /** * Name of the variable. */ variableName?: pulumi.Input; } /** * The set of arguments for constructing a ActionsVariable resource. */ export interface ActionsVariableArgs { /** * Name of the repository. */ repository: pulumi.Input; /** * Value of the variable. */ value: pulumi.Input; /** * Name of the variable. */ variableName: pulumi.Input; } //# sourceMappingURL=actionsVariable.d.ts.map