ConfigurationServiceGitRepository Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ConfigurationServiceGitRepository
- com.
Implements
public final class ConfigurationServiceGitRepository
implements JsonSerializable<ConfigurationServiceGitRepository>
Git repository property payload for Application Configuration Service.
Constructor Summary
Constructor | Description |
---|---|
ConfigurationServiceGitRepository() |
Creates an instance of Configuration |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
caCertResourceId()
Get the ca |
static
Configuration |
fromJson(JsonReader jsonReader)
Reads an instance of Configuration |
Git |
gitImplementation()
Get the git |
String |
hostKey()
Get the host |
String |
hostKeyAlgorithm()
Get the host |
String |
label()
Get the label property: Label of the repository. |
String |
name()
Get the name property: Name of the repository. |
String |
password()
Get the password property: Password of git repository basic auth. |
List<String> |
patterns()
Get the patterns property: Collection of patterns of the repository. |
String |
privateKey()
Get the private |
List<String> |
searchPaths()
Get the search |
Boolean |
strictHostKeyChecking()
Get the strict |
Json |
toJson(JsonWriter jsonWriter) |
String |
uri()
Get the uri property: URI of the repository. |
String |
username()
Get the username property: Username of git repository basic auth. |
void |
validate()
Validates the instance. |
Configuration |
withCaCertResourceId(String caCertResourceId)
Set the ca |
Configuration |
withGitImplementation(GitImplementation gitImplementation)
Set the git |
Configuration |
withHostKey(String hostKey)
Set the host |
Configuration |
withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the host |
Configuration |
withLabel(String label)
Set the label property: Label of the repository. |
Configuration |
withName(String name)
Set the name property: Name of the repository. |
Configuration |
withPassword(String password)
Set the password property: Password of git repository basic auth. |
Configuration |
withPatterns(List<String> patterns)
Set the patterns property: Collection of patterns of the repository. |
Configuration |
withPrivateKey(String privateKey)
Set the private |
Configuration |
withSearchPaths(List<String> searchPaths)
Set the search |
Configuration |
withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strict |
Configuration |
withUri(String uri)
Set the uri property: URI of the repository. |
Configuration |
withUsername(String username)
Set the username property: Username of git repository basic auth. |
Methods inherited from java.lang.Object
Constructor Details
ConfigurationServiceGitRepository
public ConfigurationServiceGitRepository()
Creates an instance of ConfigurationServiceGitRepository class.
Method Details
caCertResourceId
public String caCertResourceId()
Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
Returns:
fromJson
public static ConfigurationServiceGitRepository fromJson(JsonReader jsonReader)
Reads an instance of ConfigurationServiceGitRepository from the JsonReader.
Parameters:
Returns:
Throws:
gitImplementation
public GitImplementation gitImplementation()
Get the gitImplementation property: Git libraries used to support various repository providers.
Returns:
hostKey
public String hostKey()
Get the hostKey property: Public sshKey of git repository.
Returns:
hostKeyAlgorithm
public String hostKeyAlgorithm()
Get the hostKeyAlgorithm property: SshKey algorithm of git repository.
Returns:
label
public String label()
Get the label property: Label of the repository.
Returns:
name
public String name()
Get the name property: Name of the repository.
Returns:
password
public String password()
Get the password property: Password of git repository basic auth.
Returns:
patterns
public List
Get the patterns property: Collection of patterns of the repository.
Returns:
privateKey
public String privateKey()
Get the privateKey property: Private sshKey algorithm of git repository.
Returns:
searchPaths
public List
Get the searchPaths property: Searching path of the repository.
Returns:
strictHostKeyChecking
public Boolean strictHostKeyChecking()
Get the strictHostKeyChecking property: Strict host key checking or not.
Returns:
toJson
uri
public String uri()
Get the uri property: URI of the repository.
Returns:
username
public String username()
Get the username property: Username of git repository basic auth.
Returns:
validate
public void validate()
Validates the instance.
withCaCertResourceId
public ConfigurationServiceGitRepository withCaCertResourceId(String caCertResourceId)
Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
Parameters:
Returns:
withGitImplementation
public ConfigurationServiceGitRepository withGitImplementation(GitImplementation gitImplementation)
Set the gitImplementation property: Git libraries used to support various repository providers.
Parameters:
Returns:
withHostKey
public ConfigurationServiceGitRepository withHostKey(String hostKey)
Set the hostKey property: Public sshKey of git repository.
Parameters:
Returns:
withHostKeyAlgorithm
public ConfigurationServiceGitRepository withHostKeyAlgorithm(String hostKeyAlgorithm)
Set the hostKeyAlgorithm property: SshKey algorithm of git repository.
Parameters:
Returns:
withLabel
public ConfigurationServiceGitRepository withLabel(String label)
Set the label property: Label of the repository.
Parameters:
Returns:
withName
public ConfigurationServiceGitRepository withName(String name)
Set the name property: Name of the repository.
Parameters:
Returns:
withPassword
public ConfigurationServiceGitRepository withPassword(String password)
Set the password property: Password of git repository basic auth.
Parameters:
Returns:
withPatterns
public ConfigurationServiceGitRepository withPatterns(List
Set the patterns property: Collection of patterns of the repository.
Parameters:
Returns:
withPrivateKey
public ConfigurationServiceGitRepository withPrivateKey(String privateKey)
Set the privateKey property: Private sshKey algorithm of git repository.
Parameters:
Returns:
withSearchPaths
public ConfigurationServiceGitRepository withSearchPaths(List
Set the searchPaths property: Searching path of the repository.
Parameters:
Returns:
withStrictHostKeyChecking
public ConfigurationServiceGitRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking)
Set the strictHostKeyChecking property: Strict host key checking or not.
Parameters:
Returns:
withUri
public ConfigurationServiceGitRepository withUri(String uri)
Set the uri property: URI of the repository.
Parameters:
Returns:
withUsername
public ConfigurationServiceGitRepository withUsername(String username)
Set the username property: Username of git repository basic auth.
Parameters:
Returns:
Applies to
Azure SDK for Java