com.aliyun.ens20171110.models.DescribeEnsResourceUsageResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribeEnsResourceUsageResponseBody extends TeaModel {
/**
* The resource usage data.
*/
@NameInMap("EnsResourceUsage")
public java.util.List ensResourceUsage;
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E Request ID.
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeEnsResourceUsageResponseBody build(java.util.Map map) throws Exception {
DescribeEnsResourceUsageResponseBody self = new DescribeEnsResourceUsageResponseBody();
return TeaModel.build(map, self);
}
public DescribeEnsResourceUsageResponseBody setEnsResourceUsage(java.util.List ensResourceUsage) {
this.ensResourceUsage = ensResourceUsage;
return this;
}
public java.util.List getEnsResourceUsage() {
return this.ensResourceUsage;
}
public DescribeEnsResourceUsageResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeEnsResourceUsageResponseBodyEnsResourceUsage extends TeaModel {
/**
* The number of edge services. This parameter is available only when you set the ServiceType parameter to 2.
*
* example:
* 2
*/
@NameInMap("ComputeResourceCount")
public Integer computeResourceCount;
/**
* The CPU usage. Unit: cores.
*
* example:
* 2
*/
@NameInMap("CpuSum")
public Long cpuSum;
/**
* The number of data disks.
*
* example:
* 4
*/
@NameInMap("DiskCount")
public Integer diskCount;
/**
* The number of stopped VMs.
*
* example:
* 7
*/
@NameInMap("DownCount")
public Integer downCount;
/**
* The number of expired VM instances.
*
* example:
* 1
*/
@NameInMap("ExpiredCount")
public Integer expiredCount;
/**
* The number of VM instances that are about to expire.
*
* example:
* 0
*/
@NameInMap("ExpiringCount")
public Integer expiringCount;
/**
* The number of GPUs.
*
* example:
* 6
*/
@NameInMap("GpuSum")
public Long gpuSum;
/**
* The number of instances.
*
* example:
* 2
*/
@NameInMap("InstanceCount")
public Integer instanceCount;
/**
* The number of running instances.
*
* example:
* 19
*/
@NameInMap("RunningCount")
public Integer runningCount;
/**
* The type of the service. Valid values:
*
* - 1: subscription instance.
* - 2: edge service instance.
* - 3: pay-as-you-go instance.
*
*
* example:
* 1
*/
@NameInMap("ServiceType")
public String serviceType;
/**
* The total disk size.
*
* example:
* 5000
*/
@NameInMap("StorageSum")
public Long storageSum;
public static DescribeEnsResourceUsageResponseBodyEnsResourceUsage build(java.util.Map map) throws Exception {
DescribeEnsResourceUsageResponseBodyEnsResourceUsage self = new DescribeEnsResourceUsageResponseBodyEnsResourceUsage();
return TeaModel.build(map, self);
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setComputeResourceCount(Integer computeResourceCount) {
this.computeResourceCount = computeResourceCount;
return this;
}
public Integer getComputeResourceCount() {
return this.computeResourceCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setCpuSum(Long cpuSum) {
this.cpuSum = cpuSum;
return this;
}
public Long getCpuSum() {
return this.cpuSum;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setDiskCount(Integer diskCount) {
this.diskCount = diskCount;
return this;
}
public Integer getDiskCount() {
return this.diskCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setDownCount(Integer downCount) {
this.downCount = downCount;
return this;
}
public Integer getDownCount() {
return this.downCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setExpiredCount(Integer expiredCount) {
this.expiredCount = expiredCount;
return this;
}
public Integer getExpiredCount() {
return this.expiredCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setExpiringCount(Integer expiringCount) {
this.expiringCount = expiringCount;
return this;
}
public Integer getExpiringCount() {
return this.expiringCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setGpuSum(Long gpuSum) {
this.gpuSum = gpuSum;
return this;
}
public Long getGpuSum() {
return this.gpuSum;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setInstanceCount(Integer instanceCount) {
this.instanceCount = instanceCount;
return this;
}
public Integer getInstanceCount() {
return this.instanceCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setRunningCount(Integer runningCount) {
this.runningCount = runningCount;
return this;
}
public Integer getRunningCount() {
return this.runningCount;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setServiceType(String serviceType) {
this.serviceType = serviceType;
return this;
}
public String getServiceType() {
return this.serviceType;
}
public DescribeEnsResourceUsageResponseBodyEnsResourceUsage setStorageSum(Long storageSum) {
this.storageSum = storageSum;
return this;
}
public Long getStorageSum() {
return this.storageSum;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy