MigrationHubStrategyRecommendations / Client / list_analyzable_servers

list_analyzable_servers#

MigrationHubStrategyRecommendations.Client.list_analyzable_servers(**kwargs)#

Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.

See also: AWS API Documentation

Request Syntax

response = client.list_analyzable_servers(
    maxResults=123,
    nextToken='string',
    sort='ASC'|'DESC'
)
Parameters:
  • maxResults (integer) – The maximum number of items to include in the response. The maximum value is 100.

  • nextToken (string) – The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You’ll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

  • sort (string) – Specifies whether to sort by ascending (ASC) or descending (DESC) order.

Return type:

dict

Returns:

Response Syntax

{
    'analyzableServers': [
        {
            'hostname': 'string',
            'ipAddress': 'string',
            'source': 'string',
            'vmId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    Represents output for ListAnalyzableServers operation.

    • analyzableServers (list) –

      The list of analyzable servers with summary information about each server.

      • (dict) –

        Summary information about an analyzable server.

        • hostname (string) –

          The host name of the analyzable server.

        • ipAddress (string) –

          The ip address of the analyzable server.

        • source (string) –

          The data source of the analyzable server.

        • vmId (string) –

          The virtual machine id of the analyzable server.

    • nextToken (string) –

      The token you use to retrieve the next set of results, or null if there are no more results.

Exceptions

  • MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException

  • MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException

  • MigrationHubStrategyRecommendations.Client.exceptions.ValidationException

  • MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException