AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeAgents operation. Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call DescribeAgents as is without passing any parameters.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ApplicationDiscoveryService.AmazonApplicationDiscoveryServiceRequest
      Amazon.ApplicationDiscoveryService.Model.DescribeAgentsRequest

Namespace: Amazon.ApplicationDiscoveryService.Model
Assembly: AWSSDK.ApplicationDiscoveryService.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeAgentsRequest : AmazonApplicationDiscoveryServiceRequest
         IAmazonWebServiceRequest

The DescribeAgentsRequest type exposes the following members

Constructors

NameDescription
Public Method DescribeAgentsRequest()

Properties

NameTypeDescription
Public Property AgentIds System.Collections.Generic.List<System.String>

Gets and sets the property AgentIds.

The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.

Public Property Filters System.Collections.Generic.List<Amazon.ApplicationDiscoveryService.Model.Filter>

Gets and sets the property Filters.

You can filter the request using various logical operators and a key-value format. For example:

{"key": "collectionStatus", "value": "STARTED"}

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The total number of agents/collectors to return in a single page of output. The maximum value is 100.

Public Property NextToken System.String

Gets and sets the property NextToken.

Token to retrieve the next set of results. For example, if you previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5