public class CloudauditClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
CloudauditClient(Credential credential,
String region) |
CloudauditClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
CreateAuditResponse |
CreateAudit(CreateAuditRequest req)
This API is used to create a tracking set.
|
DeleteAuditResponse |
DeleteAudit(DeleteAuditRequest req)
This API is used to delete a tracking set.
|
DescribeAuditResponse |
DescribeAudit(DescribeAuditRequest req)
This API is used to query the details of a tracking set.
|
GetAttributeKeyResponse |
GetAttributeKey(GetAttributeKeyRequest req)
This API is used to query the value range of AttributeKey.
|
InquireAuditCreditResponse |
InquireAuditCredit(InquireAuditCreditRequest req)
This API is used to query the maximum number of tracking sets that can be created.
|
ListAuditsResponse |
ListAudits(ListAuditsRequest req)
This API is used to query the summary of tracking sets.
|
ListCmqEnableRegionResponse |
ListCmqEnableRegion(ListCmqEnableRegionRequest req)
This API is used to query the CloudAudit-enabled CMQ AZs.
|
ListCosEnableRegionResponse |
ListCosEnableRegion(ListCosEnableRegionRequest req)
This API is used to query the CloudAudit-enabled COS AZs.
|
LookUpEventsResponse |
LookUpEvents(LookUpEventsRequest req)
This API is used to search for operation logs to help query relevant operation information.
|
StartLoggingResponse |
StartLogging(StartLoggingRequest req)
This API is used to enable a tracking set.
|
StopLoggingResponse |
StopLogging(StopLoggingRequest req)
This API is used to disable a tracking set.
|
UpdateAuditResponse |
UpdateAudit(UpdateAuditRequest req)
Parameter requirements:
1.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public CloudauditClient(Credential credential, String region)
public CloudauditClient(Credential credential, String region, ClientProfile 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 © 2020. All rights reserved.