ArmSecurityCenterModelFactory.TargetBranchConfiguration 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.
public static Azure.ResourceManager.SecurityCenter.Models.TargetBranchConfiguration TargetBranchConfiguration(System.Collections.Generic.IEnumerable<string> branchNames = default, Azure.ResourceManager.SecurityCenter.Models.AnnotateDefaultBranchState? annotateDefaultBranch = default);
static member TargetBranchConfiguration : seq<string> * Nullable<Azure.ResourceManager.SecurityCenter.Models.AnnotateDefaultBranchState> -> Azure.ResourceManager.SecurityCenter.Models.TargetBranchConfiguration
Public Shared Function TargetBranchConfiguration (Optional branchNames As IEnumerable(Of String) = Nothing, Optional annotateDefaultBranch As Nullable(Of AnnotateDefaultBranchState) = Nothing) As TargetBranchConfiguration
Parameters
- branchNames
- IEnumerable<String>
Gets or sets branches that should have annotations.
- annotateDefaultBranch
- Nullable<AnnotateDefaultBranchState>
Configuration of PR Annotations on default branch. Enabled - PR Annotations are enabled on the resource's default branch. Disabled - PR Annotations are disabled on the resource's default branch.
Returns
A new TargetBranchConfiguration instance for mocking.