ArmSecurityInsightsModelFactory.RepositoryResourceInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET