1. Packages
  2. Azure Native v2
  3. API Docs
  4. securityinsights
  5. listSourceControlRepositories
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.securityinsights.listSourceControlRepositories

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets a list of repositories metadata. Azure REST API version: 2023-06-01-preview.

Other available API versions: 2021-03-01-preview, 2021-09-01-preview, 2021-10-01-preview, 2022-01-01-preview, 2022-04-01-preview, 2022-05-01-preview, 2022-06-01-preview, 2022-07-01-preview, 2022-08-01-preview, 2022-09-01-preview, 2022-10-01-preview, 2022-11-01-preview, 2022-12-01-preview, 2023-02-01-preview, 2023-03-01-preview, 2023-04-01-preview, 2023-05-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-11-01, 2023-12-01-preview, 2024-01-01-preview, 2024-03-01, 2024-04-01-preview, 2024-09-01, 2024-10-01-preview.

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?: InvokeOptions): Output<ListSourceControlRepositoriesResult>
Copy
def list_source_control_repositories(resource_group_name: Optional[str] = None,
                                     workspace_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> ListSourceControlRepositoriesResult
def list_source_control_repositories_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                     workspace_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[ListSourceControlRepositoriesResult]
Copy
func ListSourceControlRepositories(ctx *Context, args *ListSourceControlRepositoriesArgs, opts ...InvokeOption) (*ListSourceControlRepositoriesResult, error)
func ListSourceControlRepositoriesOutput(ctx *Context, args *ListSourceControlRepositoriesOutputArgs, opts ...InvokeOption) ListSourceControlRepositoriesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListSourceControlRepositoriesResult> listSourceControlRepositories(ListSourceControlRepositoriesArgs args, InvokeOptions options)
public static Output<ListSourceControlRepositoriesResult> listSourceControlRepositories(ListSourceControlRepositoriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:securityinsights:listSourceControlRepositories
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.

listSourceControlRepositories Result

The following output properties are available:

NextLink string
URL to fetch the next set of repositories.
Value List<Pulumi.AzureNative.SecurityInsights.Outputs.RepoResponse>
Array of repositories.
NextLink string
URL to fetch the next set of repositories.
Value []RepoResponse
Array of repositories.
nextLink String
URL to fetch the next set of repositories.
value List<RepoResponse>
Array of repositories.
nextLink string
URL to fetch the next set of repositories.
value RepoResponse[]
Array of repositories.
next_link str
URL to fetch the next set of repositories.
value Sequence[RepoResponse]
Array of repositories.
nextLink String
URL to fetch the next set of repositories.
value List<Property Map>
Array of repositories.

Supporting Types

RepoResponse

Branches List<string>
Array of branches.
FullName string
The name of the repository.
Url string
The url to access the repository.
Branches []string
Array of branches.
FullName string
The name of the repository.
Url string
The url to access the repository.
branches List<String>
Array of branches.
fullName String
The name of the repository.
url String
The url to access the repository.
branches string[]
Array of branches.
fullName string
The name 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.
url str
The url to access the repository.
branches List<String>
Array of branches.
fullName String
The name of the repository.
url String
The url to access the repository.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi