import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Repository Protected Branches in Oracle Cloud Infrastructure Devops service. * * Returns a list of Protected Branches. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositoryProtectedBranches = oci.devops.getRepositoryProtectedBranches({ * repositoryId: testRepository.id, * name: repositoryProtectedBranchName, * }); * ``` */ export declare function getRepositoryProtectedBranches(args: GetRepositoryProtectedBranchesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositoryProtectedBranches. */ export interface GetRepositoryProtectedBranchesArgs { filters?: inputs.DevOps.GetRepositoryProtectedBranchesFilter[]; /** * A filter to return only resources that match the given branch name. */ name?: string; /** * Unique repository identifier. */ repositoryId: string; } /** * A collection of values returned by getRepositoryProtectedBranches. */ export interface GetRepositoryProtectedBranchesResult { readonly filters?: outputs.DevOps.GetRepositoryProtectedBranchesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * The list of protected_branch_collection. */ readonly protectedBranchCollections: outputs.DevOps.GetRepositoryProtectedBranchesProtectedBranchCollection[]; readonly repositoryId: string; } /** * This data source provides the list of Repository Protected Branches in Oracle Cloud Infrastructure Devops service. * * Returns a list of Protected Branches. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositoryProtectedBranches = oci.devops.getRepositoryProtectedBranches({ * repositoryId: testRepository.id, * name: repositoryProtectedBranchName, * }); * ``` */ export declare function getRepositoryProtectedBranchesOutput(args: GetRepositoryProtectedBranchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepositoryProtectedBranches. */ export interface GetRepositoryProtectedBranchesOutputArgs { filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given branch name. */ name?: pulumi.Input; /** * Unique repository identifier. */ repositoryId: pulumi.Input; } //# sourceMappingURL=getRepositoryProtectedBranches.d.ts.map