mgn / Client / associate_source_servers

associate_source_servers#

mgn.Client.associate_source_servers(**kwargs)#

Associate source servers to application.

See also: AWS API Documentation

Request Syntax

response = client.associate_source_servers(
    accountID='string',
    applicationID='string',
    sourceServerIDs=[
        'string',
    ]
)
Parameters:
  • accountID (string) – Account ID.

  • applicationID (string) –

    [REQUIRED]

    Application ID.

  • sourceServerIDs (list) –

    [REQUIRED]

    Source server IDs list.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • mgn.Client.exceptions.UninitializedAccountException

  • mgn.Client.exceptions.ResourceNotFoundException

  • mgn.Client.exceptions.ServiceQuotaExceededException

  • mgn.Client.exceptions.ConflictException