models_v2.network_config_2 module

class models_v2.network_config_2.NetworkConfig2(vpc=None, subnet=None, availability_zone=None, security_groups=None)[source]

Bases: object

Implementation of the ‘NetworkConfig2’ model.

Specifies the networking configuration to be applied to the recovered VMs.

Attributes:
vpc (Vpc): Specifies the Virtual Private Cloud to choose for the

instance type.

subnet (Subnet1): Specifies the subnet within above VPC. availability_zone (AvailabilityZone): Specifies the entity

representing the availability zone to use while restoring the DB.

security_groups (list of RecoveryObjectIdentifier): Specifies the

network security groups within above VPC.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.