ConfigurationServiceGitRepository Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ConfigurationServiceGitRepository

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 ConfigurationServiceGitRepository class.

Method Summary

Modifier and Type Method and Description
String caCertResourceId()

Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.

static ConfigurationServiceGitRepository fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceGitRepository from the JsonReader.

GitImplementation gitImplementation()

Get the gitImplementation property: Git libraries used to support various repository providers.

String hostKey()

Get the hostKey property: Public sshKey of git repository.

String hostKeyAlgorithm()

Get the hostKeyAlgorithm property: SshKey algorithm of git repository.

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 privateKey property: Private sshKey algorithm of git repository.

List<String> searchPaths()

Get the searchPaths property: Searching path of the repository.

Boolean strictHostKeyChecking()

Get the strictHostKeyChecking property: Strict host key checking or not.

JsonWriter 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.

ConfigurationServiceGitRepository withCaCertResourceId(String caCertResourceId)

Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.

ConfigurationServiceGitRepository withGitImplementation(GitImplementation gitImplementation)

Set the gitImplementation property: Git libraries used to support various repository providers.

ConfigurationServiceGitRepository withHostKey(String hostKey)

Set the hostKey property: Public sshKey of git repository.

ConfigurationServiceGitRepository withHostKeyAlgorithm(String hostKeyAlgorithm)

Set the hostKeyAlgorithm property: SshKey algorithm of git repository.

ConfigurationServiceGitRepository withLabel(String label)

Set the label property: Label of the repository.

ConfigurationServiceGitRepository withName(String name)

Set the name property: Name of the repository.

ConfigurationServiceGitRepository withPassword(String password)

Set the password property: Password of git repository basic auth.

ConfigurationServiceGitRepository withPatterns(List<String> patterns)

Set the patterns property: Collection of patterns of the repository.

ConfigurationServiceGitRepository withPrivateKey(String privateKey)

Set the privateKey property: Private sshKey algorithm of git repository.

ConfigurationServiceGitRepository withSearchPaths(List<String> searchPaths)

Set the searchPaths property: Searching path of the repository.

ConfigurationServiceGitRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking)

Set the strictHostKeyChecking property: Strict host key checking or not.

ConfigurationServiceGitRepository withUri(String uri)

Set the uri property: URI of the repository.

ConfigurationServiceGitRepository 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:

the caCertResourceId value.

fromJson

public static ConfigurationServiceGitRepository fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceGitRepository from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConfigurationServiceGitRepository if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

gitImplementation

public GitImplementation gitImplementation()

Get the gitImplementation property: Git libraries used to support various repository providers.

Returns:

the gitImplementation value.

hostKey

public String hostKey()

Get the hostKey property: Public sshKey of git repository.

Returns:

the hostKey value.

hostKeyAlgorithm

public String hostKeyAlgorithm()

Get the hostKeyAlgorithm property: SshKey algorithm of git repository.

Returns:

the hostKeyAlgorithm value.

label

public String label()

Get the label property: Label of the repository.

Returns:

the label value.

name

public String name()

Get the name property: Name of the repository.

Returns:

the name value.

password

public String password()

Get the password property: Password of git repository basic auth.

Returns:

the password value.

patterns

public List patterns()

Get the patterns property: Collection of patterns of the repository.

Returns:

the patterns value.

privateKey

public String privateKey()

Get the privateKey property: Private sshKey algorithm of git repository.

Returns:

the privateKey value.

searchPaths

public List searchPaths()

Get the searchPaths property: Searching path of the repository.

Returns:

the searchPaths value.

strictHostKeyChecking

public Boolean strictHostKeyChecking()

Get the strictHostKeyChecking property: Strict host key checking or not.

Returns:

the strictHostKeyChecking value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: URI of the repository.

Returns:

the uri value.

username

public String username()

Get the username property: Username of git repository basic auth.

Returns:

the username value.

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:

caCertResourceId - the caCertResourceId value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withGitImplementation

public ConfigurationServiceGitRepository withGitImplementation(GitImplementation gitImplementation)

Set the gitImplementation property: Git libraries used to support various repository providers.

Parameters:

gitImplementation - the gitImplementation value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withHostKey

public ConfigurationServiceGitRepository withHostKey(String hostKey)

Set the hostKey property: Public sshKey of git repository.

Parameters:

hostKey - the hostKey value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withHostKeyAlgorithm

public ConfigurationServiceGitRepository withHostKeyAlgorithm(String hostKeyAlgorithm)

Set the hostKeyAlgorithm property: SshKey algorithm of git repository.

Parameters:

hostKeyAlgorithm - the hostKeyAlgorithm value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withLabel

public ConfigurationServiceGitRepository withLabel(String label)

Set the label property: Label of the repository.

Parameters:

label - the label value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withName

public ConfigurationServiceGitRepository withName(String name)

Set the name property: Name of the repository.

Parameters:

name - the name value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withPassword

public ConfigurationServiceGitRepository withPassword(String password)

Set the password property: Password of git repository basic auth.

Parameters:

password - the password value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withPatterns

public ConfigurationServiceGitRepository withPatterns(List patterns)

Set the patterns property: Collection of patterns of the repository.

Parameters:

patterns - the patterns value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withPrivateKey

public ConfigurationServiceGitRepository withPrivateKey(String privateKey)

Set the privateKey property: Private sshKey algorithm of git repository.

Parameters:

privateKey - the privateKey value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withSearchPaths

public ConfigurationServiceGitRepository withSearchPaths(List searchPaths)

Set the searchPaths property: Searching path of the repository.

Parameters:

searchPaths - the searchPaths value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withStrictHostKeyChecking

public ConfigurationServiceGitRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking)

Set the strictHostKeyChecking property: Strict host key checking or not.

Parameters:

strictHostKeyChecking - the strictHostKeyChecking value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withUri

public ConfigurationServiceGitRepository withUri(String uri)

Set the uri property: URI of the repository.

Parameters:

uri - the uri value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

withUsername

public ConfigurationServiceGitRepository withUsername(String username)

Set the username property: Username of git repository basic auth.

Parameters:

username - the username value to set.

Returns:

the ConfigurationServiceGitRepository object itself.

Applies to