共用方式為


ArmSecurityInsightsModelFactory.SourceControlRepository Method

Definition

Initializes a new instance of SourceControlRepository.

public static Azure.ResourceManager.SecurityInsights.Models.SourceControlRepository SourceControlRepository (Uri uri = default, string branch = default, Uri displayUri = default, Uri deploymentLogsUri = default);
static member SourceControlRepository : Uri * string * Uri * Uri -> Azure.ResourceManager.SecurityInsights.Models.SourceControlRepository
Public Shared Function SourceControlRepository (Optional uri As Uri = Nothing, Optional branch As String = Nothing, Optional displayUri As Uri = Nothing, Optional deploymentLogsUri As Uri = Nothing) As SourceControlRepository

Parameters

uri
Uri

Url of repository.

branch
String

Branch name of repository.

displayUri
Uri

Display url of repository.

deploymentLogsUri
Uri

Url to access repository action logs.

Returns

A new SourceControlRepository instance for mocking.

Applies to