models.fleet_params module

class models.fleet_params.FleetParams(fleet_network_params=None, fleet_subnet_type=None, fleet_tags=None)[source]

Bases: object

Implementation of the ‘FleetParams’ model.

Specifies various resources when deploying a VM to Fleet instances.

Attributes:
fleet_network_params (FleetNetworkParams): Specifies the network

params for the fleet.

fleet_subnet_type (FleetSubnetTypeEnum): Specifies the subnet type

of the fleet. Specifies the type of the fleet subnet. ‘kCluster’ implies same subnet as of Cluster, valid only for Cloud

Edition cluster.

‘kSourceVM’ implies same subnet as of source vm. ‘kCustom’ implies the custome subnet.

fleet_tags (list of FleetTag): Specifies the tag information for the

fleet.

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.