共用方式為


GitRepositoryDefinition Constructors

Definition

Overloads

GitRepositoryDefinition()

Initializes a new instance of the GitRepositoryDefinition class.

GitRepositoryDefinition(String, Nullable<Int64>, Nullable<Int64>, RepositoryRefDefinition, String, String, String, String)

Initializes a new instance of the GitRepositoryDefinition class.

GitRepositoryDefinition()

Initializes a new instance of the GitRepositoryDefinition class.

public GitRepositoryDefinition ();
Public Sub New ()

Applies to

GitRepositoryDefinition(String, Nullable<Int64>, Nullable<Int64>, RepositoryRefDefinition, String, String, String, String)

Initializes a new instance of the GitRepositoryDefinition class.

public GitRepositoryDefinition (string url = default, long? timeoutInSeconds = default, long? syncIntervalInSeconds = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.RepositoryRefDefinition repositoryRef = default, string sshKnownHosts = default, string httpsUser = default, string httpsCACert = default, string localAuthRef = default);
new Microsoft.Azure.Management.KubernetesConfiguration.Models.GitRepositoryDefinition : string * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Management.KubernetesConfiguration.Models.RepositoryRefDefinition * string * string * string * string -> Microsoft.Azure.Management.KubernetesConfiguration.Models.GitRepositoryDefinition
Public Sub New (Optional url As String = Nothing, Optional timeoutInSeconds As Nullable(Of Long) = Nothing, Optional syncIntervalInSeconds As Nullable(Of Long) = Nothing, Optional repositoryRef As RepositoryRefDefinition = Nothing, Optional sshKnownHosts As String = Nothing, Optional httpsUser As String = Nothing, Optional httpsCACert As String = Nothing, Optional localAuthRef As String = Nothing)

Parameters

url
String

The URL to sync for the flux configuration git repository.

timeoutInSeconds
Nullable<Int64>

The maximum time to attempt to reconcile the cluster git repository source with the remote.

syncIntervalInSeconds
Nullable<Int64>

The interval at which to re-reconcile the cluster git repository source with the remote.

repositoryRef
RepositoryRefDefinition

The source reference for the GitRepository object.

sshKnownHosts
String

Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH

httpsUser
String

Plaintext HTTPS username used to access private git repositories over HTTPS

httpsCACert
String

Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS

localAuthRef
String

Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.

Applies to