- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- RemoteAgentInfoResponse
- AgentCommunicationStatus
- HighAvailabilityStatus
- RedeployInformation
- AgentConnectorsMigrationStatus
- Try it!
Full name: projects.locations.instances.remoteAgents.fetchRemoteAgentsInformation
Returns a list of all remote agents, including their advanced information.
HTTP request
Path parameters
Parameters | |
---|---|
parent |
Required. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "remoteAgentIdentifiers": [ string ] } |
Fields | |
---|---|
remoteAgentIdentifiers[] |
Required. List of remote agent identifiers. |
Response body
Response message for the FetchAgentsInformation method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"remoteAgentInfoResponses": [
{
object ( |
Fields | |
---|---|
remoteAgentInfoResponses[] |
Output only. List of remote agents information. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
RemoteAgentInfoResponse
Information about a specific remote agent.
JSON representation |
---|
{ "identifier": string, "displayName": string, "lastCommunicationTime": string, "lastActionExecutionTime": string, "version": string, "requiredPlatformVersion": string, "ipAddress": string, "hostName": string, "communicationStatus": enum ( |
Fields | |
---|---|
identifier |
Output only. Unique GUID Identifier of the remote agent |
displayName |
Output only. The display name of the remote agent. |
lastCommunicationTime |
Output only. Last communication time with the remote agent in unix time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastActionExecutionTime |
Output only. Last action execution time in the remote agent in unix time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
version |
Output only. Represents the remote agent's current version. |
requiredPlatformVersion |
Output only. Required platform version to run any integration on the remote agent. |
ipAddress |
Output only. Represents the remote agent's IP address. |
hostName |
Output only. Represents the remote agent's host name. |
communicationStatus |
Output only. Indicates the remote agent's current communication status in real time. |
highAvailabilityStatus |
Output only. Indicates the secondary remote agent's communication status in real time. The secondary remote agent acts as a backup mechanism in case the primary remote agent becomes unavailable - for example due to high load. Therefore, it is named as HighAvailabilityStatus. |
usages[] |
Output only. List of all integrations, connectors and jobs installed on the remote agent for a specific integration identifier. |
deploymentType |
Output only. Remote agent installation type |
loggingLevel |
Output only. Logging level on the remote agent. |
availableForLoggingLevel |
Output only. Indicates if the remote agent logging level can be changed. |
upgradeAvailable |
Output only. Indicates if the remote agent has an available new version to which it can be upgraded. |
majorUpgrade |
Output only. Indicates if the remote agent's version is a major version or not. Major upgrade - upgrade of the renote agent that needs client intervention. E.g. deploying new docker image. |
redeployInfo |
Output only. Remote agent redeployment information. |
latestVersion |
Output only. Indicates if the remote agent version is the latest. |
supportCloudLogging |
Output only. Indicates if the remote agent is compatible with cloud logging. |
latestRemoteAgentVersion |
Output only. The remote agent latest version available for upgrade (Available on publisher). |
connectorsMigrationStatus |
Output only. Connectors migration status. |
supportConnectorsHighAvailability |
Output only. Indicates if the remote agent supports high availability for connectors. |
AgentCommunicationStatus
Possible values for the remote agent's current communication status.
Enums | |
---|---|
AGENT_COMMUNICATION_STATUS_UNSPECIFIED |
Agent status is unspecified. |
LIVE |
An agent status of 'live' means it has an active connection with the system. |
ERROR |
An agent status of 'error' means it does not have an active connection with the system. |
DISABLED |
An agent status of 'disabled' means it was disabled by the user and can be re-enabled in the future. |
WAITING_FOR_AGENT |
An agent status of 'waiting for agent' means either the system is waiting for a connection response from the agent or the agent is undergoing a process such as an upgrade. |
DELETED |
Agent current status is deleted. |
HighAvailabilityStatus
Indicates the secondary remote agent's communication status in real time, as reported by the system.
Enums | |
---|---|
HIGH_AVAILABILITY_STATUS_UNSPECIFIED |
Remote agent status is unspecified. |
LIVE |
The secondary remote agent is fully operational. |
ERROR |
There is a mismatch in versions between the remote agent and the platform, or the status cannot be calculated. |
DISABLED |
Either the Primary or the secondary remote agent is disabled. |
PENDING_SECONDARY_AGENT |
A secondary remote agent status of 'Pending Secondary Agent' means that the secondary remote agent is in a pending state either because the systme is waiting for a connection response from the remote agent or the remote agent is undergoing a process and waiting for it to finish. |
NOT_CONFIGURED |
This indicates that a secondary remote agent does not exist. |
RedeployInformation
Remote agent redeployment information.
JSON representation |
---|
{ "redeployed": boolean, "sourceDeployedAgent": string } |
Fields | |
---|---|
redeployed |
Output only. Indicates if the remote agent was redeployed from another remote agent. |
sourceDeployedAgent |
Output only. If the remote agent was redeployed from a different remote agent, then this field indicates the source remote agent's identifier. |
AgentConnectorsMigrationStatus
Represents the migration status of remote agent connectors.
Enums | |
---|---|
AGENT_CONNECTORS_MIGRATION_STATUS_UNSPECIFIED |
AgentConnectorsMigrationStatus is unspecified. |
PENDING |
Migration is pending. |
IN_PROGRESS |
Migration is in progress for at least one connector. |
COMPLETED |
Migration is complete or no migration is required. |
FAILED |
Migration has failed for at least one connector. |