다음을 통해 공유


ConfigurationServiceProperties Class

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

Implements

public final class ConfigurationServiceProperties
implements JsonSerializable<ConfigurationServiceProperties>

Application Configuration Service properties payload.

Constructor Summary

Constructor Description
ConfigurationServiceProperties()

Creates an instance of ConfigurationServiceProperties class.

Method Summary

Modifier and Type Method and Description
static ConfigurationServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceProperties from the JsonReader.

ConfigurationServiceGeneration generation()

Get the generation property: The generation of the Application Configuration Service.

List<ConfigurationServiceInstance> instances()

Get the instances property: Collection of instances belong to Application Configuration Service.

ConfigurationServiceProvisioningState provisioningState()

Get the provisioningState property: State of the Application Configuration Service.

ConfigurationServiceResourceRequests resourceRequests()

Get the resourceRequests property: The requested resource quantity for required CPU and Memory.

ConfigurationServiceSettings settings()

Get the settings property: The settings of Application Configuration Service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigurationServiceProperties withGeneration(ConfigurationServiceGeneration generation)

Set the generation property: The generation of the Application Configuration Service.

ConfigurationServiceProperties withSettings(ConfigurationServiceSettings settings)

Set the settings property: The settings of Application Configuration Service.

Methods inherited from java.lang.Object

Constructor Details

ConfigurationServiceProperties

public ConfigurationServiceProperties()

Creates an instance of ConfigurationServiceProperties class.

Method Details

fromJson

public static ConfigurationServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ConfigurationServiceProperties.

generation

public ConfigurationServiceGeneration generation()

Get the generation property: The generation of the Application Configuration Service.

Returns:

the generation value.

instances

public List instances()

Get the instances property: Collection of instances belong to Application Configuration Service.

Returns:

the instances value.

provisioningState

public ConfigurationServiceProvisioningState provisioningState()

Get the provisioningState property: State of the Application Configuration Service.

Returns:

the provisioningState value.

resourceRequests

public ConfigurationServiceResourceRequests resourceRequests()

Get the resourceRequests property: The requested resource quantity for required CPU and Memory.

Returns:

the resourceRequests value.

settings

public ConfigurationServiceSettings settings()

Get the settings property: The settings of Application Configuration Service.

Returns:

the settings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGeneration

public ConfigurationServiceProperties withGeneration(ConfigurationServiceGeneration generation)

Set the generation property: The generation of the Application Configuration Service.

Parameters:

generation - the generation value to set.

Returns:

the ConfigurationServiceProperties object itself.

withSettings

public ConfigurationServiceProperties withSettings(ConfigurationServiceSettings settings)

Set the settings property: The settings of Application Configuration Service.

Parameters:

settings - the settings value to set.

Returns:

the ConfigurationServiceProperties object itself.

Applies to