ServiceRegistryInstance Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ServiceRegistryInstance
- com.
Implements
public final class ServiceRegistryInstance
implements JsonSerializable<ServiceRegistryInstance>
Collection of instances belong to the Service Registry.
Constructor Summary
Constructor | Description |
---|---|
ServiceRegistryInstance() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
String |
name()
Get the name property: Name of the Service Registry instance. |
String |
status()
Get the status property: Status of the Service Registry instance. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ServiceRegistryInstance
public ServiceRegistryInstance()
Creates an instance of ServiceRegistryInstance class.
Method Details
fromJson
public static ServiceRegistryInstance fromJson(JsonReader jsonReader)
Reads an instance of ServiceRegistryInstance from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the Service Registry instance.
Returns:
status
public String status()
Get the status property: Status of the Service Registry instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java