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

com.aliyun.sas20181203.models.ListCloudAssetInstancesResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class ListCloudAssetInstancesResponseBody extends TeaModel {
    /**
     * 

The details of the cloud assets.

*/ @NameInMap("Instances") public java.util.List instances; /** *

The pagination information.

*/ @NameInMap("PageInfo") public ListCloudAssetInstancesResponseBodyPageInfo pageInfo; /** *

The ID of the request, which is used to locate and troubleshoot issues.

* * example: *

028CF634-5268-5660-9575-48C9ED6BF880

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

Indicates whether the request was successful. Valid values:

*
    *
  • true: The request was successful.
  • *
  • false: The request failed.
  • *
* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static ListCloudAssetInstancesResponseBody build(java.util.Map map) throws Exception { ListCloudAssetInstancesResponseBody self = new ListCloudAssetInstancesResponseBody(); return TeaModel.build(map, self); } public ListCloudAssetInstancesResponseBody setInstances(java.util.List instances) { this.instances = instances; return this; } public java.util.List getInstances() { return this.instances; } public ListCloudAssetInstancesResponseBody setPageInfo(ListCloudAssetInstancesResponseBodyPageInfo pageInfo) { this.pageInfo = pageInfo; return this; } public ListCloudAssetInstancesResponseBodyPageInfo getPageInfo() { return this.pageInfo; } public ListCloudAssetInstancesResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ListCloudAssetInstancesResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class ListCloudAssetInstancesResponseBodyInstances extends TeaModel { /** *

Indicates whether alerts are generated for the cloud asset. Valid values:

*
    *
  • YES
  • *
  • NO
  • *
* * example: *

NO

*/ @NameInMap("AlarmStatus") public String alarmStatus; /** *

The subtype of the cloud service. The subtype of the cloud asset. Valid values:

*
    *
  • 0: ECS

    *
      *
    • 0: instance
    • *
    • 1: disk (storage)
    • *
    • 2: security group
    • *
    *
  • *
  • 1: SLB

    *
      *
    • 0: SLB
    • *
    • 1: Application Load Balancer (ALB)
    • *
    *
  • *
  • 3: ApsaraDB RDS

    *
      *
    • 0: instance
    • *
    *
  • *
  • 4: ApsaraDB for MongoDB

    *
      *
    • 0: instance
    • *
    *
  • *
  • 5: ApsaraDB for Redis

    *
      *
    • 0: instance
    • *
    *
  • *
  • 6: Container Registry

    *
      *
    • 1: Enterprise Edition
    • *
    • 2: Personal Edition
    • *
    *
  • *
  • 8: ACK

    *
      *
    • 0: cluster
    • *
    *
  • *
  • 9: VPC

    *
      *
    • 0: NAT gateway
    • *
    • 1: EIP
    • *
    • 2: VPN
    • *
    • 3: FLOW_LOG
    • *
    *
  • *
  • 11: ActionTrail

    *
      *
    • 0: trail
    • *
    *
  • *
  • 12: Alibaba Cloud CDN

    *
      *
    • 0: instance
    • *
    *
  • *
  • 13: Certificate Management Service (formerly SSL Certificates Service)

    *
      *
    • 0: certificate
    • *
    *
  • *
  • 14: Apsara Devops

    *
      *
    • 0: organization
    • *
    *
  • *
  • 16: Anti-DDoS

    *
      *
    • 0: instance
    • *
    *
  • *
  • 17: WAF

    *
      *
    • 0: domain name
    • *
    *
  • *
  • 18: OSS

    *
      *
    • 0: bucket
    • *
    *
  • *
  • 19: PolarDB

    *
      *
    • 0: cluster
    • *
    *
  • *
  • 20: ApsaraDB RDS for PostgreSQL

    *
      *
    • 0: instance
    • *
    *
  • *
  • 21: MSE

    *
      *
    • 0: cluster
    • *
    *
  • *
  • 22: NAS

    *
      *
    • 0: file system
    • *
    *
  • *
  • 23: DSC

    *
      *
    • 0: instance
    • *
    *
  • *
  • 24: EIP

    *
      *
    • 0: Anycast EIP
    • *
    *
  • *
  • 25: IDaaS EIAM

    *
      *
    • 0: instance
    • *
    *
  • *
  • 26: PolarDB-X

    *
      *
    • 0: instance
    • *
    *
  • *
  • 27: Elasticsearch

    *
      *
    • 0: instance
    • *
    *
  • *
* * example: *

0

*/ @NameInMap("AssetSubType") public String assetSubType; /** *

The subtype name of the cloud asset.

* * example: *

SECURITY_GROUP

*/ @NameInMap("AssetSubTypeName") public String assetSubTypeName; /** *

The type of the cloud asset. Valid values:

*
    *
  • 0: Elastic Compute Service (ECS)
  • *
  • 1: Server Load Balancer (SLB)
  • *
  • 3: ApsaraDB RDS
  • *
  • 4: ApsaraDB for MongoDB
  • *
  • 5: ApsaraDB for Redis
  • *
  • 6: Container Registry
  • *
  • 8: Container Service for Kubernetes (ACK)
  • *
  • 9: Virtual Private Cloud (VPC)
  • *
  • 11: ActionTrail
  • *
  • 12: Alibaba Cloud CDN
  • *
  • 13: Certificate Management Service (formerly SSL Certificates Service)
  • *
  • 14: Apsara Devops
  • *
  • 16: Anti-DDoS
  • *
  • 17: Web Application Firewall (WAF)
  • *
  • 18: Object Storage Service (OSS)
  • *
  • 19: PolarDB
  • *
  • 20: ApsaraDB RDS for PostgreSQL
  • *
  • 21: Microservices Engine (MSE)
  • *
  • 22: Apsara File Storage NAS (NAS)
  • *
  • 23: Data Security Center (DSC)
  • *
  • 24: Elastic IP Address (EIP)
  • *
  • 25: Identity as a Service (IDaaS) Employee Identity and Access Management (EIAM)
  • *
  • 26: PolarDB-X
  • *
  • 27: Elasticsearch
  • *
* * example: *

0

*/ @NameInMap("AssetType") public Integer assetType; /** *

The type name of the cloud asset.

* * example: *

ECS

*/ @NameInMap("AssetTypeName") public String assetTypeName; /** *

The time when the instance was created.

* * example: *

1607365213000

*/ @NameInMap("CreatedTime") public Long createdTime; /** *

The instance ID of the cloud asset.

* * example: *

d-uf60vevzkztnflx7cny5

*/ @NameInMap("InstanceId") public String instanceId; /** *

The instance name of the cloud asset.

* * example: *

yztest-l***

*/ @NameInMap("InstanceName") public String instanceName; /** *

The public IP address of the cloud asset.

* * example: *

1.2.XX.XX

*/ @NameInMap("InternetIp") public String internetIp; /** *

The ID of the region to which the cloud asset belongs.

* * example: *

cn-hanghzou

*/ @NameInMap("RegionId") public String regionId; /** *

Indicates whether risks are detected on the cloud asset. Valid values:

*
    *
  • YES
  • *
  • NO
  • *
* * example: *

NO

*/ @NameInMap("RiskStatus") public String riskStatus; /** *

The security information about the cloud asset.

* * example: *

{"seriousNum":0,"appNum":0,"baselineMedium":0,"remindNum":0,"imageVulNntf":0,"cveNum":0,"vul":0,"uuid":"yuejia-test","emgNum":0,"weakPWNum":0,"imageMaliciousFileRemind":0,"imageBaselineMedium":0,"laterVulCount":0,"cmsNum":0,"imageMaliciousFileSerious":0,"agentlessMalicious":0,"suspNum":0,"imageBaselineHigh":0,"asapVulCount":0,"imageVulLater":0,"agentlessAll":0,"sysNum":0,"containerLater":0,"containerSuspicious":0,"imageBaselineNum":0,"newSuspicious":0,"nntfVulCount":0,"scaNum":0,"containerNntf":0,"health":0,"trojan":0,"suspicious":0,"imageMaliciousFileSuspicious":0,"containerRemind":0,"baselineLow":0,"imageVulAsap":0,"imageBaselineLow":0,"containerAsap":0,"agentlessBaseline":0,"agentlessVulSca":0,"agentlessVulCve":0,"containerSerious":0,"baselineHigh":0,"account":0,"baselineNum":5}

*/ @NameInMap("SecurityInfo") public String securityInfo; /** *

The service provider (SP) of the cloud asset. Valid values:

*
    *
  • 0: a cloud asset provided by Alibaba Cloud
  • *
  • 1: a third-party cloud asset
  • *
  • 2: a cloud asset in a data center
  • *
  • 3, 4, 5, and 7: other cloud asset
  • *
  • 8: a lightweight cloud asset
  • *
* * example: *

0

*/ @NameInMap("Vendor") public Integer vendor; public static ListCloudAssetInstancesResponseBodyInstances build(java.util.Map map) throws Exception { ListCloudAssetInstancesResponseBodyInstances self = new ListCloudAssetInstancesResponseBodyInstances(); return TeaModel.build(map, self); } public ListCloudAssetInstancesResponseBodyInstances setAlarmStatus(String alarmStatus) { this.alarmStatus = alarmStatus; return this; } public String getAlarmStatus() { return this.alarmStatus; } public ListCloudAssetInstancesResponseBodyInstances setAssetSubType(String assetSubType) { this.assetSubType = assetSubType; return this; } public String getAssetSubType() { return this.assetSubType; } public ListCloudAssetInstancesResponseBodyInstances setAssetSubTypeName(String assetSubTypeName) { this.assetSubTypeName = assetSubTypeName; return this; } public String getAssetSubTypeName() { return this.assetSubTypeName; } public ListCloudAssetInstancesResponseBodyInstances setAssetType(Integer assetType) { this.assetType = assetType; return this; } public Integer getAssetType() { return this.assetType; } public ListCloudAssetInstancesResponseBodyInstances setAssetTypeName(String assetTypeName) { this.assetTypeName = assetTypeName; return this; } public String getAssetTypeName() { return this.assetTypeName; } public ListCloudAssetInstancesResponseBodyInstances setCreatedTime(Long createdTime) { this.createdTime = createdTime; return this; } public Long getCreatedTime() { return this.createdTime; } public ListCloudAssetInstancesResponseBodyInstances setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public ListCloudAssetInstancesResponseBodyInstances setInstanceName(String instanceName) { this.instanceName = instanceName; return this; } public String getInstanceName() { return this.instanceName; } public ListCloudAssetInstancesResponseBodyInstances setInternetIp(String internetIp) { this.internetIp = internetIp; return this; } public String getInternetIp() { return this.internetIp; } public ListCloudAssetInstancesResponseBodyInstances setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public ListCloudAssetInstancesResponseBodyInstances setRiskStatus(String riskStatus) { this.riskStatus = riskStatus; return this; } public String getRiskStatus() { return this.riskStatus; } public ListCloudAssetInstancesResponseBodyInstances setSecurityInfo(String securityInfo) { this.securityInfo = securityInfo; return this; } public String getSecurityInfo() { return this.securityInfo; } public ListCloudAssetInstancesResponseBodyInstances setVendor(Integer vendor) { this.vendor = vendor; return this; } public Integer getVendor() { return this.vendor; } } public static class ListCloudAssetInstancesResponseBodyPageInfo extends TeaModel { /** *

The number of entries returned on the current page.

* * example: *

20

*/ @NameInMap("Count") public Integer count; /** *

The page number of the returned page.

* * example: *

2

*/ @NameInMap("CurrentPage") public Integer currentPage; /** *

The number of entries returned per page.

* * example: *

100

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The total number of cloud assets.

* * example: *

69

*/ @NameInMap("TotalCount") public Integer totalCount; public static ListCloudAssetInstancesResponseBodyPageInfo build(java.util.Map map) throws Exception { ListCloudAssetInstancesResponseBodyPageInfo self = new ListCloudAssetInstancesResponseBodyPageInfo(); return TeaModel.build(map, self); } public ListCloudAssetInstancesResponseBodyPageInfo setCount(Integer count) { this.count = count; return this; } public Integer getCount() { return this.count; } public ListCloudAssetInstancesResponseBodyPageInfo setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public ListCloudAssetInstancesResponseBodyPageInfo setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public ListCloudAssetInstancesResponseBodyPageInfo setTotalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Integer getTotalCount() { return this.totalCount; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy