mgn / Client / update_network_migration_definition
update_network_migration_definition¶
- mgn.Client.update_network_migration_definition(**kwargs)¶
Updates an existing network migration definition with new source or target configurations.
See also: AWS API Documentation
Request Syntax
response = client.update_network_migration_definition( networkMigrationDefinitionID='string', name='string', description='string', sourceConfigurations=[ { 'sourceEnvironment': 'NSX'|'VSPHERE'|'FORTIGATE_FIREWALL'|'PALO_ALTO_FIREWALL'|'CISCO_ACI'|'LOGICAL_MODEL'|'MODELIZE_IT', 'sourceS3Configuration': { 's3Bucket': 'string', 's3BucketOwner': 'string', 's3Key': 'string' } }, ], targetS3Configuration={ 's3Bucket': 'string', 's3BucketOwner': 'string' }, targetNetwork={ 'topology': 'ISOLATED_VPC'|'HUB_AND_SPOKE', 'inboundCidr': 'string', 'outboundCidr': 'string', 'inspectionCidr': 'string' }, targetDeployment='SINGLE_ACCOUNT'|'MULTI_ACCOUNT', scopeTags={ 'string': 'string' } )
- Parameters:
networkMigrationDefinitionID (string) –
[REQUIRED]
The unique identifier of the network migration definition to update.
name (string) – The updated name of the network migration definition.
description (string) – The updated description of the network migration definition.
sourceConfigurations (list) –
The updated list of source configurations.
(dict) –
Configuration for a migration source environment.
sourceEnvironment (string) – [REQUIRED]
The source environment type.
sourceS3Configuration (dict) – [REQUIRED]
The S3 configuration for the source data.
s3Bucket (string) – [REQUIRED]
The name of the S3 bucket containing source data.
s3BucketOwner (string) – [REQUIRED]
The AWS account ID of the S3 bucket owner.
s3Key (string) – [REQUIRED]
The S3 key (path) for the source data.
targetS3Configuration (dict) –
The updated S3 configuration for storing the target network artifacts.
s3Bucket (string) –
The updated name of the S3 bucket.
s3BucketOwner (string) –
The updated AWS account ID of the S3 bucket owner.
targetNetwork (dict) –
The updated target network configuration.
topology (string) –
The updated network topology type.
inboundCidr (string) –
The updated CIDR block for inbound traffic.
outboundCidr (string) –
The updated CIDR block for outbound traffic.
inspectionCidr (string) –
The updated CIDR block for inspection traffic.
targetDeployment (string) – The updated target deployment configuration.
scopeTags (dict) –
The updated scope tags for the network migration definition.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'networkMigrationDefinitionID': 'string', 'name': 'string', 'description': 'string', 'sourceConfigurations': [ { 'sourceEnvironment': 'NSX'|'VSPHERE'|'FORTIGATE_FIREWALL'|'PALO_ALTO_FIREWALL'|'CISCO_ACI'|'LOGICAL_MODEL'|'MODELIZE_IT', 'sourceS3Configuration': { 's3Bucket': 'string', 's3BucketOwner': 'string', 's3Key': 'string' } }, ], 'targetS3Configuration': { 's3Bucket': 'string', 's3BucketOwner': 'string' }, 'targetNetwork': { 'topology': 'ISOLATED_VPC'|'HUB_AND_SPOKE', 'inboundCidr': 'string', 'outboundCidr': 'string', 'inspectionCidr': 'string' }, 'targetDeployment': 'SINGLE_ACCOUNT'|'MULTI_ACCOUNT', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'tags': { 'string': 'string' }, 'scopeTags': { 'string': 'string' } }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the network migration definition.
networkMigrationDefinitionID (string) –
The unique identifier of the network migration definition.
name (string) –
The name of the network migration definition.
description (string) –
A description of the network migration definition.
sourceConfigurations (list) –
A list of source configurations for the network migration.
(dict) –
Configuration for a migration source environment.
sourceEnvironment (string) –
The source environment type.
sourceS3Configuration (dict) –
The S3 configuration for the source data.
s3Bucket (string) –
The name of the S3 bucket containing source data.
s3BucketOwner (string) –
The AWS account ID of the S3 bucket owner.
s3Key (string) –
The S3 key (path) for the source data.
targetS3Configuration (dict) –
The S3 configuration for storing the target network artifacts.
s3Bucket (string) –
The name of the S3 bucket for target artifacts.
s3BucketOwner (string) –
The AWS account ID of the S3 bucket owner.
targetNetwork (dict) –
The target network configuration including topology and CIDR ranges.
topology (string) –
The network topology type for the target environment.
inboundCidr (string) –
The CIDR block for inbound traffic in the target network.
outboundCidr (string) –
The CIDR block for outbound traffic in the target network.
inspectionCidr (string) –
The CIDR block for inspection traffic in the target network.
targetDeployment (string) –
The target deployment configuration for the migrated network.
createdAt (datetime) –
The timestamp when the network migration definition was created.
updatedAt (datetime) –
The timestamp when the network migration definition was last updated.
tags (dict) –
Tags assigned to the network migration definition.
(string) –
(string) –
scopeTags (dict) –
Scope tags for the network migration definition.
(string) –
(string) –
Exceptions