DelegatedSubnetUsage Class
- java.
lang. Object - com.
azure. resourcemanager. postgresqlflexibleserver. models. DelegatedSubnetUsage
- com.
Implements
public final class DelegatedSubnetUsage
implements JsonSerializable<DelegatedSubnetUsage>
Delegated subnet usage data.
Constructor Summary
| Constructor | Description |
|---|---|
| DelegatedSubnetUsage() |
Creates an instance of Delegated |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Delegated |
fromJson(JsonReader jsonReader)
Reads an instance of Delegated |
| String |
subnetName()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
usage()
Get the usage property: Number of IP addresses used by the delegated subnet. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DelegatedSubnetUsage
public DelegatedSubnetUsage()
Creates an instance of DelegatedSubnetUsage class.
Method Details
fromJson
public static DelegatedSubnetUsage fromJson(JsonReader jsonReader)
Reads an instance of DelegatedSubnetUsage from the JsonReader.
Parameters:
Returns:
Throws:
subnetName
public String subnetName()
Get the subnetName property: Name of the delegated subnet for which IP addresses are in use.
Returns:
toJson
usage
public Long usage()
Get the usage property: Number of IP addresses used by the delegated subnet.
Returns:
validate
public void validate()
Validates the instance.