Partilhar via


ArmSecurityInsightsModelFactory.RepositoryResourceInfo Method

Definition

Initializes a new instance of RepositoryResourceInfo.

public static Azure.ResourceManager.SecurityInsights.Models.RepositoryResourceInfo RepositoryResourceInfo (Azure.ResourceManager.SecurityInsights.Models.SourceControlWebhook webhook = default, string gitHubResourceInfoAppInstallationId = default, Azure.ResourceManager.SecurityInsights.Models.AzureDevOpsResourceInfo azureDevOpsResourceInfo = default);
static member RepositoryResourceInfo : Azure.ResourceManager.SecurityInsights.Models.SourceControlWebhook * string * Azure.ResourceManager.SecurityInsights.Models.AzureDevOpsResourceInfo -> Azure.ResourceManager.SecurityInsights.Models.RepositoryResourceInfo
Public Shared Function RepositoryResourceInfo (Optional webhook As SourceControlWebhook = Nothing, Optional gitHubResourceInfoAppInstallationId As String = Nothing, Optional azureDevOpsResourceInfo As AzureDevOpsResourceInfo = Nothing) As RepositoryResourceInfo

Parameters

webhook
SourceControlWebhook

The webhook object created for the source-control.

gitHubResourceInfoAppInstallationId
String

Resources created in GitHub for this source-control.

azureDevOpsResourceInfo
AzureDevOpsResourceInfo

Resources created in Azure DevOps for this source-control.

Returns

A new RepositoryResourceInfo instance for mocking.

Applies to