1. Packages
  2. Azure Native
  3. API Docs
  4. securityinsights
  5. listSourceControlRepositories
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.securityinsights.listSourceControlRepositories

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 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.

    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>
    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]
    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 CompletableFuture<ListSourceControlRepositoriesResult> listSourceControlRepositories(ListSourceControlRepositoriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:securityinsights:listSourceControlRepositories
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    The name of the workspace.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    The name of the workspace.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    The name of the workspace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi