SourceCodeRepoProperties Class

Definition

The properties of the source code repository.

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

Constructors

SourceCodeRepoProperties(SourceControlType, Uri)

Initializes a new instance of SourceCodeRepoProperties.

Properties

Branch

The branch name of the source code.

RepositoryUri

The full URL to the source code repository.

SourceControlAuthProperties

The authorization properties for accessing the source code repository and to set up webhooks for notifications.

SourceControlType

The type of source control service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SourceCodeRepoProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceCodeRepoProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceCodeRepoProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceCodeRepoProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceCodeRepoProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to