Language

FluxRepositoryReference Class

Definition

The source reference for the GitRepository object.

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

Constructors

Name Description
FluxRepositoryReference()

Initializes a new instance of FluxRepositoryReference.

Properties

Name Description
Branch

The git repository branch name to checkout.

Commit

The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver.

Semver

The semver range used to match against git repository tags. This takes precedence over tag.

Tag

The git repository tag name to checkout. This takes precedence over branch.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<FluxRepositoryReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<FluxRepositoryReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<FluxRepositoryReference>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<FluxRepositoryReference>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<FluxRepositoryReference>.Write(ModelReaderWriterOptions)

Applies to