Partilhar via


ArmSecurityInsightsModelFactory.SourceControlRepo Method

Definition

Initializes a new instance of SourceControlRepo.

public static Azure.ResourceManager.SecurityInsights.Models.SourceControlRepo SourceControlRepo (Uri uri = default, string fullName = default, long? installationId = default, System.Collections.Generic.IEnumerable<string> branches = default);
static member SourceControlRepo : Uri * string * Nullable<int64> * seq<string> -> Azure.ResourceManager.SecurityInsights.Models.SourceControlRepo
Public Shared Function SourceControlRepo (Optional uri As Uri = Nothing, Optional fullName As String = Nothing, Optional installationId As Nullable(Of Long) = Nothing, Optional branches As IEnumerable(Of String) = Nothing) As SourceControlRepo

Parameters

uri
Uri

The url to access the repository.

fullName
String

The name of the repository.

installationId
Nullable<Int64>

The installation id of the repository.

branches
IEnumerable<String>

Array of branches.

Returns

A new SourceControlRepo instance for mocking.

Applies to