你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ConfigServerSettings Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ConfigServerSettings
- com.
Implements
public final class ConfigServerSettings
implements JsonSerializable<ConfigServerSettings>
The settings of config server.
Constructor Summary
Constructor | Description |
---|---|
ConfigServerSettings() |
Creates an instance of Config |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Config |
fromJson(JsonReader jsonReader)
Reads an instance of Config |
Config |
gitProperty()
Get the git |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Config |
withGitProperty(ConfigServerGitProperty gitProperty)
Set the git |
Methods inherited from java.lang.Object
Constructor Details
ConfigServerSettings
public ConfigServerSettings()
Creates an instance of ConfigServerSettings class.
Method Details
fromJson
public static ConfigServerSettings fromJson(JsonReader jsonReader)
Reads an instance of ConfigServerSettings from the JsonReader.
Parameters:
Returns:
Throws:
gitProperty
public ConfigServerGitProperty gitProperty()
Get the gitProperty property: Property of git environment.
Returns:
toJson
validate
public void validate()
Validates the instance.
withGitProperty
public ConfigServerSettings withGitProperty(ConfigServerGitProperty gitProperty)
Set the gitProperty property: Property of git environment.
Parameters:
Returns: