import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating a Harness Repo Branch Rule. */ export declare class RepoRuleBranch extends pulumi.CustomResource { /** * Get an existing RepoRuleBranch 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?: RepoRuleBranchState, opts?: pulumi.CustomResourceOptions): RepoRuleBranch; /** * Returns true if the given object is an instance of RepoRuleBranch. 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 RepoRuleBranch; /** * List of users who can bypass this rule. */ readonly bypasses: pulumi.Output; /** * Timestamp when the rule was created. */ readonly created: pulumi.Output; /** * ID of the user who created the rule. */ readonly createdBy: pulumi.Output; /** * Description of the rule. */ readonly description: pulumi.Output; /** * Identifier of the rule. */ readonly identifier: pulumi.Output; /** * Unique identifier of the organization. */ readonly orgId: pulumi.Output; /** * Pattern of branch to which rule will apply. */ readonly patterns: pulumi.Output; /** * Policies to be applied for this rule. */ readonly policies: pulumi.Output; /** * Unique identifier of the project. */ readonly projectId: pulumi.Output; /** * Repo identifier of the repository. */ readonly repoIdentifier: pulumi.Output; /** * State of the rule (active, disable, monitor). */ readonly state: pulumi.Output; /** * Timestamp when the rule was updated. */ readonly updated: pulumi.Output; /** * ID of the user who updated the rule. */ readonly updatedBy: pulumi.Output; /** * Create a RepoRuleBranch 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: RepoRuleBranchArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RepoRuleBranch resources. */ export interface RepoRuleBranchState { /** * List of users who can bypass this rule. */ bypasses?: pulumi.Input[] | undefined>; /** * Timestamp when the rule was created. */ created?: pulumi.Input; /** * ID of the user who created the rule. */ createdBy?: pulumi.Input; /** * Description of the rule. */ description?: pulumi.Input; /** * Identifier of the rule. */ identifier?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Pattern of branch to which rule will apply. */ patterns?: pulumi.Input[] | undefined>; /** * Policies to be applied for this rule. */ policies?: pulumi.Input[] | undefined>; /** * Unique identifier of the project. */ projectId?: pulumi.Input; /** * Repo identifier of the repository. */ repoIdentifier?: pulumi.Input; /** * State of the rule (active, disable, monitor). */ state?: pulumi.Input; /** * Timestamp when the rule was updated. */ updated?: pulumi.Input; /** * ID of the user who updated the rule. */ updatedBy?: pulumi.Input; } /** * The set of arguments for constructing a RepoRuleBranch resource. */ export interface RepoRuleBranchArgs { /** * List of users who can bypass this rule. */ bypasses: pulumi.Input[]>; /** * Description of the rule. */ description?: pulumi.Input; /** * Identifier of the rule. */ identifier: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Pattern of branch to which rule will apply. */ patterns?: pulumi.Input[] | undefined>; /** * Policies to be applied for this rule. */ policies: pulumi.Input[]>; /** * Unique identifier of the project. */ projectId?: pulumi.Input; /** * Repo identifier of the repository. */ repoIdentifier: pulumi.Input; /** * State of the rule (active, disable, monitor). */ state: pulumi.Input; } //# sourceMappingURL=repoRuleBranch.d.ts.map