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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET