azure-native.securityinsights.listSourceControlRepositories
Explore with Pulumi AI
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.
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the workspace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
listSourceControlRepositories Result
The following output properties are available:
- Next
Link string - URL to fetch the next set of repositories.
- Value
List<Pulumi.
Azure Native. Security Insights. Outputs. Repo Response> - Array of repositories.
- Next
Link string - URL to fetch the next set of repositories.
- Value
[]Repo
Response - Array of repositories.
- next
Link String - URL to fetch the next set of repositories.
- value
List<Repo
Response> - Array of repositories.
- next
Link string - URL to fetch the next set of repositories.
- value
Repo
Response[] - Array of repositories.
- next_
link str - URL to fetch the next set of repositories.
- value
Sequence[Repo
Response] - Array of repositories.
- next
Link String - URL to fetch the next set of repositories.
- value List<Property Map>
- Array of repositories.
Supporting Types
RepoResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0