Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import com.microsoft.azure.management.network.VirtualNetworkUsageName;
import com.fasterxml.jackson.annotation.JsonProperty;
Usage details for subnet.
/**
* Usage details for subnet.
*/
public class VirtualNetworkUsageInner {
Indicates number of IPs used from the Subnet.
/**
* Indicates number of IPs used from the Subnet.
*/
@JsonProperty(value = "currentValue", access = JsonProperty.Access.WRITE_ONLY)
private Double currentValue;
Subnet identifier.
/**
* Subnet identifier.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
Indicates the size of the subnet.
/**
* Indicates the size of the subnet.
*/
@JsonProperty(value = "limit", access = JsonProperty.Access.WRITE_ONLY)
private Double limit;
The name containing common and localized value for usage.
/**
* The name containing common and localized value for usage.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private VirtualNetworkUsageName name;
Usage units. Returns 'Count'.
/**
* Usage units. Returns 'Count'.
*/
@JsonProperty(value = "unit", access = JsonProperty.Access.WRITE_ONLY)
private String unit;
Get indicates number of IPs used from the Subnet.
Returns: the currentValue value
/**
* Get indicates number of IPs used from the Subnet.
*
* @return the currentValue value
*/
public Double currentValue() {
return this.currentValue;
}
Get subnet identifier.
Returns: the id value
/**
* Get subnet identifier.
*
* @return the id value
*/
public String id() {
return this.id;
}
Get indicates the size of the subnet.
Returns: the limit value
/**
* Get indicates the size of the subnet.
*
* @return the limit value
*/
public Double limit() {
return this.limit;
}
Get the name containing common and localized value for usage.
Returns: the name value
/**
* Get the name containing common and localized value for usage.
*
* @return the name value
*/
public VirtualNetworkUsageName name() {
return this.name;
}
Get usage units. Returns 'Count'.
Returns: the unit value
/**
* Get usage units. Returns 'Count'.
*
* @return the unit value
*/
public String unit() {
return this.unit;
}
}