drs / Client / list_extensible_source_servers

list_extensible_source_servers#

drs.Client.list_extensible_source_servers(**kwargs)#

Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.

See also: AWS API Documentation

Request Syntax

response = client.list_extensible_source_servers(
    maxResults=123,
    nextToken='string',
    stagingAccountID='string'
)
Parameters:
  • maxResults (integer) – The maximum number of extensible source servers to retrieve.

  • nextToken (string) – The token of the next extensible source server to retrieve.

  • stagingAccountID (string) –

    [REQUIRED]

    The Id of the staging Account to retrieve extensible source servers from.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'arn': 'string',
            'hostname': 'string',
            'tags': {
                'string': 'string'
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      A list of source servers on a staging Account that are extensible.

      • (dict) –

        Source server in staging account that extended source server connected to.

        • arn (string) –

          The ARN of the source server.

        • hostname (string) –

          Hostname of staging source server.

        • tags (dict) –

          A list of tags associated with the staging source server.

          • (string) –

            • (string) –

    • nextToken (string) –

      The token of the next extensible source server to retrieve.

Exceptions