public class EsgClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
EsgClient()
Constructs a new client to invoke service methods on esg.
|
EsgClient(BceClientConfiguration clientConfiguration)
Constructs a new esg client using the client configuration to access esg.
|
| Modifier and Type | Method and Description |
|---|---|
void |
authorizeEsgRule(EsgRuleOperateRequest request)
Authorize enterprise security group rules to a specified enterprise security group
|
CreateEsgResponse |
createEsg(CreateEsgRequest request)
Create an enterprise security group with the specified options.
|
void |
deleteEsg(DeleteEsgRequest request)
Delete the specified enterprise security group.
|
void |
deleteEsg(String esgId)
Delete the specified enterprise security group.
|
void |
deleteEsgRule(DeleteEsgRuleRequest request)
Delete an enterprise security group rule from the specified enterprise security group
|
void |
deleteEsgRule(String esgRuleId)
Delete the specified enterprise security group rule.
|
ListEsgResponse |
listEsg(ListEsgRequest request)
List enterprise security group owned by the authenticated user.
|
void |
updateEsgRule(UpdateEsgRuleRequest request)
Update the specified enterprise security group rule.
|
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic EsgClient()
public EsgClient(BceClientConfiguration clientConfiguration)
public CreateEsgResponse createEsg(CreateEsgRequest request)
request - The request containing all options for creating a enterprise security group.public ListEsgResponse listEsg(ListEsgRequest request)
request - The request containing all options for listing enterprise security group owned by user.public void deleteEsg(DeleteEsgRequest request)
request - The request containing all options for deleting the specified
enterprise security group owned by user.public void deleteEsg(String esgId)
esgId - The id of enterprise security group that will be deleted.public void authorizeEsgRule(EsgRuleOperateRequest request)
request - The request containing all options for authorizing enterprise security group rulepublic void deleteEsgRule(DeleteEsgRuleRequest request)
request - The request containing all options for deleting enterprise security group rulepublic void deleteEsgRule(String esgRuleId)
esgRuleId - The id of enterprise security group that will be deleted.public void updateEsgRule(UpdateEsgRuleRequest request)
request - The request containing all options for updating enterprise security group rule.Copyright © 2024. All rights reserved.