This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
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 for details.
Using listSourceControlRepositories
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listSourceControlRepositories(args: ListSourceControlRepositoriesArgs, opts?: InvokeOptions): Promise<ListSourceControlRepositoriesResult>
function listSourceControlRepositoriesOutput(args: ListSourceControlRepositoriesOutputArgs, opts?: InvokeOutputOptions): Output<ListSourceControlRepositoriesResult>def list_source_control_repositories(client_id: Optional[str] = None,
code: Optional[str] = None,
installation_id: Optional[str] = None,
kind: Optional[Union[str, RepositoryAccessKind]] = None,
resource_group_name: Optional[str] = None,
state: Optional[str] = None,
token: Optional[str] = None,
workspace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListSourceControlRepositoriesResult
def list_source_control_repositories_output(client_id: pulumi.Input[Optional[str]] = None,
code: pulumi.Input[Optional[str]] = None,
installation_id: pulumi.Input[Optional[str]] = None,
kind: pulumi.Input[Optional[Union[str, RepositoryAccessKind]]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
token: pulumi.Input[Optional[str]] = None,
workspace_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[ListSourceControlRepositoriesResult]func ListSourceControlRepositories(ctx *Context, args *ListSourceControlRepositoriesArgs, opts ...InvokeOption) (*ListSourceControlRepositoriesResult, error)
func ListSourceControlRepositoriesOutput(ctx *Context, args *ListSourceControlRepositoriesOutputArgs, opts ...InvokeOption) ListSourceControlRepositoriesResultOutput> Note: This function is named ListSourceControlRepositories in the Go SDK.
public static class ListSourceControlRepositories
{
public static Task<ListSourceControlRepositoriesResult> InvokeAsync(ListSourceControlRepositoriesArgs args, InvokeOptions? opts = null)
public static Output<ListSourceControlRepositoriesResult> Invoke(ListSourceControlRepositoriesInvokeArgs args, InvokeOptions? opts = null)
public static Output<ListSourceControlRepositoriesResult> Invoke(ListSourceControlRepositoriesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<ListSourceControlRepositoriesResult> listSourceControlRepositories(ListSourceControlRepositoriesArgs args, InvokeOptions options)
public static Output<ListSourceControlRepositoriesResult> listSourceControlRepositories(ListSourceControlRepositoriesArgs args, InvokeOptions options)
public static Output<ListSourceControlRepositoriesResult> listSourceControlRepositories(ListSourceControlRepositoriesArgs args, InvokeOutputOptions options)
fn::invoke:
function: azure-native:securityinsights:listSourceControlRepositories
arguments:
# arguments dictionarydata "azure-native_securityinsights_list_source_control_repositories" "name" {
# arguments
}The following arguments are supported:
- Kind
string | Pulumi.
Azure Native. Security Insights. Repository Access Kind - The kind of repository access credentials
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- Client
Id string - OAuth ClientId. Required when
kindisOAuth - Code string
- OAuth Code. Required when
kindisOAuth - Installation
Id string - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - State string
- OAuth State. Required when
kindisOAuth - Token string
- Personal Access Token. Required when
kindisPAT
- Kind
string | Repository
Access Kind - The kind of repository access credentials
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- Client
Id string - OAuth ClientId. Required when
kindisOAuth - Code string
- OAuth Code. Required when
kindisOAuth - Installation
Id string - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - State string
- OAuth State. Required when
kindisOAuth - Token string
- Personal Access Token. Required when
kindisPAT
- kind string | "OAuth" | "PAT" | "App"
- The kind of repository access credentials
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- workspace_
name string - The name of the workspace.
- client_
id string - OAuth ClientId. Required when
kindisOAuth - code string
- OAuth Code. Required when
kindisOAuth - installation_
id string - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - state string
- OAuth State. Required when
kindisOAuth - token string
- Personal Access Token. Required when
kindisPAT
- kind
String | Repository
Access Kind - The kind of repository access credentials
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
- client
Id String - OAuth ClientId. Required when
kindisOAuth - code String
- OAuth Code. Required when
kindisOAuth - installation
Id String - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - state String
- OAuth State. Required when
kindisOAuth - token String
- Personal Access Token. Required when
kindisPAT
- kind
string | Repository
Access Kind - The kind of repository access credentials
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the workspace.
- client
Id string - OAuth ClientId. Required when
kindisOAuth - code string
- OAuth Code. Required when
kindisOAuth - installation
Id string - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - state string
- OAuth State. Required when
kindisOAuth - token string
- Personal Access Token. Required when
kindisPAT
- kind
str | Repository
Access Kind - The kind of repository access credentials
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the workspace.
- client_
id str - OAuth ClientId. Required when
kindisOAuth - code str
- OAuth Code. Required when
kindisOAuth - installation_
id str - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - state str
- OAuth State. Required when
kindisOAuth - token str
- Personal Access Token. Required when
kindisPAT
- kind String | "OAuth" | "PAT" | "App"
- The kind of repository access credentials
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
- client
Id String - OAuth ClientId. Required when
kindisOAuth - code String
- OAuth Code. Required when
kindisOAuth - installation
Id String - Application installation ID. Required when
kindisApp. Supported byGitHubonly. - state String
- OAuth State. Required when
kindisOAuth - token String
- Personal Access Token. Required when
kindisPAT
listSourceControlRepositories Result
The following output properties are available:
- Next
Link string - The link to the next page of items
- Value
List<Pulumi.
Azure Native. Security Insights. Outputs. Repo Response> - The Repo items on this page
- Next
Link string - The link to the next page of items
- Value
[]Repo
Response - The Repo items on this page
- next_
link string - The link to the next page of items
- value list(object)
- The Repo items on this page
- next
Link String - The link to the next page of items
- value
List<Repo
Response> - The Repo items on this page
- next
Link string - The link to the next page of items
- value
Repo
Response[] - The Repo items on this page
- next_
link str - The link to the next page of items
- value
Sequence[Repo
Response] - The Repo items on this page
- next
Link String - The link to the next page of items
- value List<Property Map>
- The Repo items on this page
Supporting Types
RepoResponse
- Branches List<string>
- Array of branches.
- Full
Name string - The name of the repository.
- Installation
Id double - The installation id of the repository.
- Url string
- The url to access the repository.
- Branches []string
- Array of branches.
- Full
Name string - The name of the repository.
- Installation
Id float64 - The installation id of the repository.
- Url string
- The url to access the repository.
- branches list(string)
- Array of branches.
- full_
name string - The name of the repository.
- installation_
id number - The installation id of the repository.
- url string
- The url to access the repository.
- branches List<String>
- Array of branches.
- full
Name String - The name of the repository.
- installation
Id Double - The installation id of the repository.
- url String
- The url to access the repository.
- branches string[]
- Array of branches.
- full
Name string - The name of the repository.
- installation
Id number - The installation id of the repository.
- url string
- The url to access the repository.
- branches Sequence[str]
- Array of branches.
- full_
name str - The name of the repository.
- installation_
id float - The installation id of the repository.
- url str
- The url to access the repository.
- branches List<String>
- Array of branches.
- full
Name String - The name of the repository.
- installation
Id Number - The installation id of the repository.
- url String
- The url to access the repository.
RepositoryAccessKind
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi