TargetBranchConfiguration Class
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.
Repository branch configuration for PR Annotations.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.TargetBranchConfigurationTypeConverter))]
public class TargetBranchConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ITargetBranchConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.TargetBranchConfigurationTypeConverter))>]
type TargetBranchConfiguration = class
interface ITargetBranchConfiguration
interface IJsonSerializable
Public Class TargetBranchConfiguration
Implements ITargetBranchConfiguration
- Inheritance
-
TargetBranchConfiguration
- Attributes
- Implements
Constructors
TargetBranchConfiguration() |
Creates an new TargetBranchConfiguration instance. |
Properties
AnnotateDefaultBranch |
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. |
BranchName |
Gets or sets branches that should have annotations. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of TargetBranchConfiguration. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of TargetBranchConfiguration. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ITargetBranchConfiguration. |
FromJsonString(String) |
Creates a new instance of TargetBranchConfiguration, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of TargetBranchConfiguration into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |