MigrationBandwidth¶
-
class
oci.cloud_migrations.models.MigrationBandwidth(**kwargs)¶ Bases:
objectDefines the bandwidth used by migration
Attributes
ASSIGNMENT_METHOD_AUTOA constant which can be used with the assignment_method property of a MigrationBandwidth. ASSIGNMENT_METHOD_CUSTOMA constant which can be used with the assignment_method property of a MigrationBandwidth. ASSIGNMENT_METHOD_HYPERVISOR_DEFAULTA constant which can be used with the assignment_method property of a MigrationBandwidth. assignment_methodGets the assignment_method of this MigrationBandwidth. Methods
__init__(**kwargs)Initializes a new MigrationBandwidth object with values from keyword arguments. -
ASSIGNMENT_METHOD_AUTO= 'AUTO'¶ A constant which can be used with the assignment_method property of a MigrationBandwidth. This constant has a value of “AUTO”
-
ASSIGNMENT_METHOD_CUSTOM= 'CUSTOM'¶ A constant which can be used with the assignment_method property of a MigrationBandwidth. This constant has a value of “CUSTOM”
-
ASSIGNMENT_METHOD_HYPERVISOR_DEFAULT= 'HYPERVISOR_DEFAULT'¶ A constant which can be used with the assignment_method property of a MigrationBandwidth. This constant has a value of “HYPERVISOR_DEFAULT”
-
__init__(**kwargs)¶ Initializes a new MigrationBandwidth object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: assignment_method (str) – The value to assign to the assignment_method property of this MigrationBandwidth. Allowed values for this property are: “AUTO”, “CUSTOM”, “HYPERVISOR_DEFAULT”
-
assignment_method¶ Gets the assignment_method of this MigrationBandwidth. Defines how the migration bandwidth is assigned
Allowed values for this property are: “AUTO”, “CUSTOM”, “HYPERVISOR_DEFAULT”
Returns: The assignment_method of this MigrationBandwidth. Return type: str
-