com.microsoft.azure.management.network.implementation.VirtualNetworkUsageInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* 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.
*/
public class VirtualNetworkUsageInner {
/**
* Indicates number of IPs used from the Subnet.
*/
@JsonProperty(value = "currentValue", access = JsonProperty.Access.WRITE_ONLY)
private Double currentValue;
/**
* Subnet identifier.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
/**
* 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.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private VirtualNetworkUsageName name;
/**
* Usage units. Returns 'Count'.
*/
@JsonProperty(value = "unit", access = JsonProperty.Access.WRITE_ONLY)
private String unit;
/**
* Get indicates number of IPs used from the Subnet.
*
* @return the currentValue value
*/
public Double currentValue() {
return this.currentValue;
}
/**
* Get subnet identifier.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* 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.
*
* @return the name value
*/
public VirtualNetworkUsageName name() {
return this.name;
}
/**
* Get usage units. Returns 'Count'.
*
* @return the unit value
*/
public String unit() {
return this.unit;
}
}