Frodo Library - v4.0.0-10
    Preparing search index...

    Type Alias Agent

    type Agent = {
        createAgentExportTemplate(): AgentExportInterface;
        createAgentGroupExportTemplate(): AgentGroupExportInterface;
        createIdentityGatewayAgent(
            gatewayId: string,
            gatewayData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        createJavaAgent(
            agentId: string,
            agentData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        createWebAgent(
            agentId: string,
            agentData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        deleteAgent(agentId: string): Promise<void>;
        deleteAgents(): Promise<void>;
        deleteIdentityGatewayAgent(agentId: string): Promise<void>;
        deleteIdentityGatewayAgents(): Promise<void>;
        deleteJavaAgent(agentId: string): Promise<void>;
        deleteJavaAgents(): Promise<void>;
        deleteWebAgent(agentId: string): Promise<void>;
        deleteWebAgents(): Promise<void>;
        exportAgent(
            agentId: string,
            globalConfig: boolean,
        ): Promise<AgentExportInterface>;
        exportAgentGroup(groupId: string): Promise<AgentGroupExportInterface>;
        exportAgentGroups(): Promise<AgentGroupExportInterface>;
        exportAgents(globalConfig: boolean): Promise<AgentExportInterface>;
        exportIdentityGatewayAgent(agentId: string): Promise<AgentExportInterface>;
        exportIdentityGatewayAgents(): Promise<AgentExportInterface>;
        exportJavaAgent(agentId: string): Promise<AgentExportInterface>;
        exportJavaAgents(): Promise<AgentExportInterface>;
        exportWebAgent(agentId: string): Promise<AgentExportInterface>;
        exportWebAgents(): Promise<AgentExportInterface>;
        getAgent(agentId: string): Promise<AmConfigEntityInterface>;
        getAgentByTypeAndId(
            agentType: AgentType,
            agentId: string,
        ): Promise<AmConfigEntityInterface>;
        getAgents(): Promise<AmConfigEntityInterface[]>;
        getIdentityGatewayAgent(
            gatewayId: string,
        ): Promise<AmConfigEntityInterface>;
        getIdentityGatewayAgents(): Promise<AmConfigEntityInterface[]>;
        getJavaAgent(agentId: string): Promise<AmConfigEntityInterface>;
        getJavaAgents(): Promise<AmConfigEntityInterface[]>;
        getWebAgent(agentId: string): Promise<AmConfigEntityInterface>;
        getWebAgents(): Promise<AmConfigEntityInterface[]>;
        importAgent(
            agentId: string,
            importData: AgentExportInterface,
            globalConfig: boolean,
        ): Promise<AmConfigEntityInterface>;
        importAgentGroup(
            agentGroupId: string,
            importData: AgentGroupExportInterface,
        ): Promise<AmConfigEntityInterface>;
        importAgentGroups(
            importData: AgentGroupExportInterface,
        ): Promise<AmConfigEntityInterface[]>;
        importAgents(
            importData: AgentExportInterface,
            globalConfig: boolean,
        ): Promise<AmConfigEntityInterface[]>;
        importIdentityGatewayAgent(
            agentId: string,
            importData: AgentExportInterface,
        ): Promise<AmConfigEntityInterface>;
        importIdentityGatewayAgents(
            importData: AgentExportInterface,
        ): Promise<void>;
        importJavaAgent(
            agentId: string,
            importData: AgentExportInterface,
        ): Promise<AmConfigEntityInterface>;
        importJavaAgents(importData: AgentExportInterface): Promise<void>;
        importWebAgent(
            agentId: string,
            importData: AgentExportInterface,
        ): Promise<AmConfigEntityInterface>;
        importWebAgents(importData: AgentExportInterface): Promise<void>;
        putIdentityGatewayAgent(
            gatewayId: string,
            gatewayData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        putJavaAgent(
            agentId: string,
            agentData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        putWebAgent(
            agentId: string,
            agentData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        readAgent(
            agentId: string,
            globalConfig: boolean,
        ): Promise<AmConfigEntityInterface>;
        readAgentByTypeAndId(
            agentType: AgentType,
            agentId: string,
        ): Promise<AmConfigEntityInterface>;
        readAgentGroup(groupId: string): Promise<AmConfigEntityInterface>;
        readAgentGroups(): Promise<AmConfigEntityInterface[]>;
        readAgents(globalConfig: boolean): Promise<AmConfigEntityInterface[]>;
        readIdentityGatewayAgent(
            gatewayId: string,
        ): Promise<AmConfigEntityInterface>;
        readIdentityGatewayAgents(): Promise<AmConfigEntityInterface[]>;
        readJavaAgent(agentId: string): Promise<AmConfigEntityInterface>;
        readJavaAgents(): Promise<AmConfigEntityInterface[]>;
        readWebAgent(agentId: string): Promise<AmConfigEntityInterface>;
        readWebAgents(): Promise<AmConfigEntityInterface[]>;
        updateIdentityGatewayAgent(
            gatewayId: string,
            gatewayData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        updateJavaAgent(
            agentId: string,
            agentData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
        updateWebAgent(
            agentId: string,
            agentData: AmConfigEntityInterface,
        ): Promise<AmConfigEntityInterface>;
    }
    Index

    Methods

    • Delete agent

      Parameters

      • agentId: string

        agent id/name

      Returns Promise<void>

    • Delete all agents

      Returns Promise<void>

    • Delete identity gateway agent

      Parameters

      • agentId: string

        agent id/name

      Returns Promise<void>

    • Delete all identity gateway agents

      Returns Promise<void>

    • Delete java agent

      Parameters

      • agentId: string

        agent id/name

      Returns Promise<void>

    • Delete all java agents

      Returns Promise<void>

    • Delete web agent

      Parameters

      • agentId: string

        agent id/name

      Returns Promise<void>

    • Delete all web agents

      Returns Promise<void>

    • Export agent. The response can be saved to file as is.

      Parameters

      • agentId: string

        agent id/name

      • globalConfig: boolean

        true if global agent is the target of the operation, false otherwise. Default: false.

      Returns Promise<AgentExportInterface>

      Promise resolving to an AgentExportInterface object.

    • Export all agents. The response can be saved to file as is.

      Parameters

      • globalConfig: boolean

        true if global agent is the target of the operation, false otherwise. Default: false.

      Returns Promise<AgentExportInterface>

      Promise resolving to an AgentExportInterface object.

    • Export identity gateway agent. The response can be saved to file as is.

      Parameters

      • agentId: string

        agent id/name

      Returns Promise<AgentExportInterface>

      Promise resolving to an AgentExportInterface object.

    • Read agent

      Parameters

      • agentId: string

        agent id/name

      • globalConfig: boolean

        true if global agent is the target of the operation, false otherwise. Default: false.

      Returns Promise<AmConfigEntityInterface>

      a promise that resolves to an agent object

    • Read all agents.

      Parameters

      • globalConfig: boolean

        true if global agent is the target of the operation, false otherwise. Default: false.

      Returns Promise<AmConfigEntityInterface[]>

      a promise that resolves to an array of agent objects

    Deprecated