KubernetesGitRepositoryRef 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.
The source reference for the GitRepository object.
public class KubernetesGitRepositoryRef : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesGitRepositoryRef>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesGitRepositoryRef>
public class KubernetesGitRepositoryRef
type KubernetesGitRepositoryRef = class
interface IJsonModel<KubernetesGitRepositoryRef>
interface IPersistableModel<KubernetesGitRepositoryRef>
type KubernetesGitRepositoryRef = class
Public Class KubernetesGitRepositoryRef
Implements IJsonModel(Of KubernetesGitRepositoryRef), IPersistableModel(Of KubernetesGitRepositoryRef)
Public Class KubernetesGitRepositoryRef
- Inheritance
-
KubernetesGitRepositoryRef
- Implements
Constructors
| Name | Description |
|---|---|
| KubernetesGitRepositoryRef() |
Initializes a new instance of KubernetesGitRepositoryRef. |
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 |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<KubernetesGitRepositoryRef>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<KubernetesGitRepositoryRef>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<KubernetesGitRepositoryRef>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<KubernetesGitRepositoryRef>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<KubernetesGitRepositoryRef>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |