azure-native.securityinsights.listSourceControlRepositories

Explore with Pulumi AI

Gets a list of repositories metadata. API Version: 2021-03-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(operational_insights_resource_provider: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     workspace_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> ListSourceControlRepositoriesResult
def list_source_control_repositories_output(operational_insights_resource_provider: Optional[pulumi.Input[str]] = None,
                                     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:

OperationalInsightsResourceProvider string

The namespace of workspaces resource provider- Microsoft.OperationalInsights.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

WorkspaceName string

The name of the workspace.

OperationalInsightsResourceProvider string

The namespace of workspaces resource provider- Microsoft.OperationalInsights.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

WorkspaceName string

The name of the workspace.

operationalInsightsResourceProvider String

The namespace of workspaces resource provider- Microsoft.OperationalInsights.

resourceGroupName String

The name of the resource group. The name is case insensitive.

workspaceName String

The name of the workspace.

operationalInsightsResourceProvider string

The namespace of workspaces resource provider- Microsoft.OperationalInsights.

resourceGroupName string

The name of the resource group. The name is case insensitive.

workspaceName string

The name of the workspace.

operational_insights_resource_provider str

The namespace of workspaces resource provider- Microsoft.OperationalInsights.

resource_group_name str

The name of the resource group. The name is case insensitive.

workspace_name str

The name of the workspace.

operationalInsightsResourceProvider String

The namespace of workspaces resource provider- Microsoft.OperationalInsights.

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