-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
KubernetesGitRepositoryRef.cs
40 lines (35 loc) · 1.93 KB
/
KubernetesGitRepositoryRef.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.KubernetesConfiguration.Models
{
/// <summary> The source reference for the GitRepository object. </summary>
public partial class KubernetesGitRepositoryRef
{
/// <summary> Initializes a new instance of KubernetesGitRepositoryRef. </summary>
public KubernetesGitRepositoryRef()
{
}
/// <summary> Initializes a new instance of KubernetesGitRepositoryRef. </summary>
/// <param name="branch"> The git repository branch name to checkout. </param>
/// <param name="tag"> The git repository tag name to checkout. This takes precedence over branch. </param>
/// <param name="semver"> The semver range used to match against git repository tags. This takes precedence over tag. </param>
/// <param name="commit"> The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver. </param>
internal KubernetesGitRepositoryRef(string branch, string tag, string semver, string commit)
{
Branch = branch;
Tag = tag;
Semver = semver;
Commit = commit;
}
/// <summary> The git repository branch name to checkout. </summary>
public string Branch { get; set; }
/// <summary> The git repository tag name to checkout. This takes precedence over branch. </summary>
public string Tag { get; set; }
/// <summary> The semver range used to match against git repository tags. This takes precedence over tag. </summary>
public string Semver { get; set; }
/// <summary> The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver. </summary>
public string Commit { get; set; }
}
}