All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.eas20210701.models.DescribeResourceResponseBody Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eas20210701.models;

import com.aliyun.tea.*;

public class DescribeResourceResponseBody extends TeaModel {
    /**
     * 

The ID of the cluster to which the resource group belongs.

* * example: *

cn-beijing

*/ @NameInMap("ClusterId") public String clusterId; /** *

The total number of CPU cores.

* * example: *

16

*/ @NameInMap("CpuCount") public Integer cpuCount; /** *

The time when the resource group was created.

* * example: *

2020-05-19T14:19:42Z

*/ @NameInMap("CreateTime") public String createTime; /** *

The additional information, such as the connection status of a virtual private cloud (VPC) and the log status of Log Service.

* * example: *

{"vswitch_id":"vsw-bp17uo6xebcusy****","gpu_share":true,"aux_vswitch_id_list":["vsw-bp13b3pvjap3vxn****","vsw-bp1nls8o5hk8mt8*****"],"security_group_id":"sg-bp1j1z7297hcink*****","vpc_id":"vpc-bp1kjr3rfyhx01*****","destination_cidr":"172.16.0.12/28","role_arn":"acs:ram::1157703270*****:role/AliyunServiceRoleForPaiEas","sls_project":"","sls_logstore":"","sls_status":"ResourceReady","sls_message":"","update_time":""}

*/ @NameInMap("ExtraData") public String extraData; /** *

The total number of GPUs.

* * example: *

1

*/ @NameInMap("GpuCount") public Integer gpuCount; /** *

The total number of instances in the resource group.

* * example: *

4

*/ @NameInMap("InstanceCount") public Integer instanceCount; /** *

The returned message.

* * example: *

Resource is ready

*/ @NameInMap("Message") public String message; /** *

The ID of the resource group owner.

* * example: *

14401087478****

*/ @NameInMap("OwnerUid") public String ownerUid; /** *

The total number of pay-as-you-go instances in the resource group.

* * example: *

3

*/ @NameInMap("PostPaidInstanceCount") public Integer postPaidInstanceCount; /** *

The total number of subscription instances in the resource group.

* * example: *

1

*/ @NameInMap("PrePaidInstanceCount") public Integer prePaidInstanceCount; /** *

The request ID.

* * example: *

902976F2-6FAF-5404-8A4D-6CC223***

*/ @NameInMap("RequestId") public String requestId; /** *

The ID of the Elastic Algorithm Service (EAS) resource.

* * example: *

eas-r-glkfpsxuw57x1h*****

*/ @NameInMap("ResourceId") public String resourceId; /** *

The name of the EAS resource.

* * example: *

my-resouce****

*/ @NameInMap("ResourceName") public String resourceName; /** *

The type of the resource group. Valid values:

*
    *
  • Dedicated: the dedicated resource group.
  • *
  • SelfManaged: the self-managed resource group.
  • *
* * example: *

Dedicated

*/ @NameInMap("ResourceType") public String resourceType; /** *

The state of the resource group.

* * example: *

ResourceReady

*/ @NameInMap("Status") public String status; /** *

The time when the resource group was last updated.

* * example: *

2021-02-24T11:52:17Z

*/ @NameInMap("UpdateTime") public String updateTime; public static DescribeResourceResponseBody build(java.util.Map map) throws Exception { DescribeResourceResponseBody self = new DescribeResourceResponseBody(); return TeaModel.build(map, self); } public DescribeResourceResponseBody setClusterId(String clusterId) { this.clusterId = clusterId; return this; } public String getClusterId() { return this.clusterId; } public DescribeResourceResponseBody setCpuCount(Integer cpuCount) { this.cpuCount = cpuCount; return this; } public Integer getCpuCount() { return this.cpuCount; } public DescribeResourceResponseBody setCreateTime(String createTime) { this.createTime = createTime; return this; } public String getCreateTime() { return this.createTime; } public DescribeResourceResponseBody setExtraData(String extraData) { this.extraData = extraData; return this; } public String getExtraData() { return this.extraData; } public DescribeResourceResponseBody setGpuCount(Integer gpuCount) { this.gpuCount = gpuCount; return this; } public Integer getGpuCount() { return this.gpuCount; } public DescribeResourceResponseBody setInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } public Integer getInstanceCount() { return this.instanceCount; } public DescribeResourceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public DescribeResourceResponseBody setOwnerUid(String ownerUid) { this.ownerUid = ownerUid; return this; } public String getOwnerUid() { return this.ownerUid; } public DescribeResourceResponseBody setPostPaidInstanceCount(Integer postPaidInstanceCount) { this.postPaidInstanceCount = postPaidInstanceCount; return this; } public Integer getPostPaidInstanceCount() { return this.postPaidInstanceCount; } public DescribeResourceResponseBody setPrePaidInstanceCount(Integer prePaidInstanceCount) { this.prePaidInstanceCount = prePaidInstanceCount; return this; } public Integer getPrePaidInstanceCount() { return this.prePaidInstanceCount; } public DescribeResourceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeResourceResponseBody setResourceId(String resourceId) { this.resourceId = resourceId; return this; } public String getResourceId() { return this.resourceId; } public DescribeResourceResponseBody setResourceName(String resourceName) { this.resourceName = resourceName; return this; } public String getResourceName() { return this.resourceName; } public DescribeResourceResponseBody setResourceType(String resourceType) { this.resourceType = resourceType; return this; } public String getResourceType() { return this.resourceType; } public DescribeResourceResponseBody setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public DescribeResourceResponseBody setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } public String getUpdateTime() { return this.updateTime; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy