ServiceRegistryProperties Class

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

Implements

public final class ServiceRegistryProperties
implements JsonSerializable<ServiceRegistryProperties>

Service Registry properties payload.

Constructor Summary

Constructor Description
ServiceRegistryProperties()

Creates an instance of ServiceRegistryProperties class.

Method Summary

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

Reads an instance of ServiceRegistryProperties from the JsonReader.

List<ServiceRegistryInstance> instances()

Get the instances property: Collection of instances belong to Service Registry.

ServiceRegistryProvisioningState provisioningState()

Get the provisioningState property: State of the Service Registry.

ServiceRegistryResourceRequests resourceRequests()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ServiceRegistryProperties

public ServiceRegistryProperties()

Creates an instance of ServiceRegistryProperties class.

Method Details

fromJson

public static ServiceRegistryProperties fromJson(JsonReader jsonReader)

Reads an instance of ServiceRegistryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceRegistryProperties 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 ServiceRegistryProperties.

instances

public List instances()

Get the instances property: Collection of instances belong to Service Registry.

Returns:

the instances value.

provisioningState

public ServiceRegistryProvisioningState provisioningState()

Get the provisioningState property: State of the Service Registry.

Returns:

the provisioningState value.

resourceRequests

public ServiceRegistryResourceRequests resourceRequests()

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

Returns:

the resourceRequests value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to