import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Gets a list of repositories metadata. * * Uses Azure REST API version 2025-09-01. * * Other available API versions: 2025-06-01, 2025-07-01-preview, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native securityinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listSourceControlRepositories(args: ListSourceControlRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise; export interface ListSourceControlRepositoriesArgs { /** * OAuth ClientId. Required when `kind` is `OAuth` */ clientId?: string; /** * OAuth Code. Required when `kind` is `OAuth` */ code?: string; /** * Application installation ID. Required when `kind` is `App`. Supported by `GitHub` only. */ installationId?: string; /** * The kind of repository access credentials */ kind: string | enums.securityinsights.RepositoryAccessKind; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * OAuth State. Required when `kind` is `OAuth` */ state?: string; /** * Personal Access Token. Required when `kind` is `PAT` */ token?: string; /** * The name of the workspace. */ workspaceName: string; } /** * List all the source controls. */ export interface ListSourceControlRepositoriesResult { /** * The link to the next page of items */ readonly nextLink: string; /** * The Repo items on this page */ readonly value: outputs.securityinsights.RepoResponse[]; } /** * Gets a list of repositories metadata. * * Uses Azure REST API version 2025-09-01. * * Other available API versions: 2025-06-01, 2025-07-01-preview, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native securityinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listSourceControlRepositoriesOutput(args: ListSourceControlRepositoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface ListSourceControlRepositoriesOutputArgs { /** * OAuth ClientId. Required when `kind` is `OAuth` */ clientId?: pulumi.Input; /** * OAuth Code. Required when `kind` is `OAuth` */ code?: pulumi.Input; /** * Application installation ID. Required when `kind` is `App`. Supported by `GitHub` only. */ installationId?: pulumi.Input; /** * The kind of repository access credentials */ kind: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * OAuth State. Required when `kind` is `OAuth` */ state?: pulumi.Input; /** * Personal Access Token. Required when `kind` is `PAT` */ token?: pulumi.Input; /** * The name of the workspace. */ workspaceName: pulumi.Input; } //# sourceMappingURL=listSourceControlRepositories.d.ts.map