public class CloudauditClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
构造器和说明 |
---|
CloudauditClient(Credential credential,
String region)
构造client
|
CloudauditClient(Credential credential,
String region,
ClientProfile profile)
构造client
|
限定符和类型 | 方法和说明 |
---|---|
CreateAuditResponse |
CreateAudit(CreateAuditRequest req)
创建跟踪集
|
DeleteAuditResponse |
DeleteAudit(DeleteAuditRequest req)
删除跟踪集
|
DescribeAuditResponse |
DescribeAudit(DescribeAuditRequest req)
查询跟踪集详情
|
GetAttributeKeyResponse |
GetAttributeKey(GetAttributeKeyRequest req)
查询AttributeKey的有效取值范围
|
InquireAuditCreditResponse |
InquireAuditCredit(InquireAuditCreditRequest req)
查询用户可创建跟踪集的数量
|
ListAuditsResponse |
ListAudits(ListAuditsRequest req)
查询跟踪集概要
|
ListCmqEnableRegionResponse |
ListCmqEnableRegion(ListCmqEnableRegionRequest req)
查询云审计支持的cmq的可用区
|
ListCosEnableRegionResponse |
ListCosEnableRegion(ListCosEnableRegionRequest req)
查询云审计支持的cos可用区
|
LookUpEventsResponse |
LookUpEvents(LookUpEventsRequest req)
用于对操作日志进行检索,便于用户进行查询相关的操作信息。
|
StartLoggingResponse |
StartLogging(StartLoggingRequest req)
开启跟踪集
|
StopLoggingResponse |
StopLogging(StopLoggingRequest req)
关闭跟踪集
|
UpdateAuditResponse |
UpdateAudit(UpdateAuditRequest req)
参数要求:
1、如果IsCreateNewBucket的值存在的话,cosRegion和cosBucketName都是必填参数。
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public CloudauditClient(Credential credential, String region)
credential
- 认证信息实例region
- 产品地域public CloudauditClient(Credential credential, String region, ClientProfile profile)
credential
- 认证信息实例region
- 产品地域profile
- 配置实例public CreateAuditResponse CreateAudit(CreateAuditRequest req) throws TencentCloudSDKException
req
- CreateAuditRequestTencentCloudSDKException
public DeleteAuditResponse DeleteAudit(DeleteAuditRequest req) throws TencentCloudSDKException
req
- DeleteAuditRequestTencentCloudSDKException
public DescribeAuditResponse DescribeAudit(DescribeAuditRequest req) throws TencentCloudSDKException
req
- DescribeAuditRequestTencentCloudSDKException
public GetAttributeKeyResponse GetAttributeKey(GetAttributeKeyRequest req) throws TencentCloudSDKException
req
- GetAttributeKeyRequestTencentCloudSDKException
public InquireAuditCreditResponse InquireAuditCredit(InquireAuditCreditRequest req) throws TencentCloudSDKException
req
- InquireAuditCreditRequestTencentCloudSDKException
public ListAuditsResponse ListAudits(ListAuditsRequest req) throws TencentCloudSDKException
req
- ListAuditsRequestTencentCloudSDKException
public ListCmqEnableRegionResponse ListCmqEnableRegion(ListCmqEnableRegionRequest req) throws TencentCloudSDKException
req
- ListCmqEnableRegionRequestTencentCloudSDKException
public ListCosEnableRegionResponse ListCosEnableRegion(ListCosEnableRegionRequest req) throws TencentCloudSDKException
req
- ListCosEnableRegionRequestTencentCloudSDKException
public LookUpEventsResponse LookUpEvents(LookUpEventsRequest req) throws TencentCloudSDKException
req
- LookUpEventsRequestTencentCloudSDKException
public StartLoggingResponse StartLogging(StartLoggingRequest req) throws TencentCloudSDKException
req
- StartLoggingRequestTencentCloudSDKException
public StopLoggingResponse StopLogging(StopLoggingRequest req) throws TencentCloudSDKException
req
- StopLoggingRequestTencentCloudSDKException
public UpdateAuditResponse UpdateAudit(UpdateAuditRequest req) throws TencentCloudSDKException
req
- UpdateAuditRequestTencentCloudSDKException
Copyright © 2019. All rights reserved.