类 EsgClient


  • public class EsgClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Cloud network Service enterprise security group.
    • 构造器详细资料

      • EsgClient

        public EsgClient()
        Constructs a new client to invoke service methods on esg.
      • EsgClient

        public EsgClient​(BceClientConfiguration clientConfiguration)
        Constructs a new esg client using the client configuration to access esg.
    • 方法详细资料

      • createEsg

        public CreateEsgResponse createEsg​(CreateEsgRequest request)
        Create an enterprise security group with the specified options. You must fill field of clientToken,which is especially for keeping idempotent.
        参数:
        request - The request containing all options for creating a enterprise security group.
        返回:
        enterprise security group id newly created
      • listEsg

        public ListEsgResponse listEsg​(ListEsgRequest request)
        List enterprise security group owned by the authenticated user.
        参数:
        request - The request containing all options for listing enterprise security group owned by user.
        返回:
        The response with list of enterprise security group which contains enterprise security group rules owned by user.
      • deleteEsg

        public void deleteEsg​(DeleteEsgRequest request)
        Delete the specified enterprise security group.
        参数:
        request - The request containing all options for deleting the specified enterprise security group owned by user.
      • deleteEsg

        public void deleteEsg​(String esgId)
        Delete the specified enterprise security group.
        参数:
        esgId - The id of enterprise security group that will be deleted.
      • authorizeEsgRule

        public void authorizeEsgRule​(EsgRuleOperateRequest request)
        Authorize enterprise security group rules to a specified enterprise security group
        参数:
        request - The request containing all options for authorizing enterprise security group rule
      • deleteEsgRule

        public void deleteEsgRule​(DeleteEsgRuleRequest request)
        Delete an enterprise security group rule from the specified enterprise security group
        参数:
        request - The request containing all options for deleting enterprise security group rule
      • deleteEsgRule

        public void deleteEsgRule​(String esgRuleId)
        Delete the specified enterprise security group rule.
        参数:
        esgRuleId - The id of enterprise security group that will be deleted.
      • updateEsgRule

        public void updateEsgRule​(UpdateEsgRuleRequest request)
        Update the specified enterprise security group rule.
        参数:
        request - The request containing all options for updating enterprise security group rule.