Dela via


TargetBranchConfiguration Class

Definition

Repository branch configuration for PR Annotations.

public class TargetBranchConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.TargetBranchConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.TargetBranchConfiguration>
type TargetBranchConfiguration = class
    interface IJsonModel<TargetBranchConfiguration>
    interface IPersistableModel<TargetBranchConfiguration>
Public Class TargetBranchConfiguration
Implements IJsonModel(Of TargetBranchConfiguration), IPersistableModel(Of TargetBranchConfiguration)
Inheritance
TargetBranchConfiguration
Implements

Constructors

TargetBranchConfiguration()

Initializes a new instance of TargetBranchConfiguration.

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.

BranchNames

Gets or sets branches that should have annotations.

Explicit Interface Implementations

IJsonModel<TargetBranchConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TargetBranchConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetBranchConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetBranchConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TargetBranchConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to