OlvmVnicProfileProperties

class oci.cloud_migrations.models.OlvmVnicProfileProperties(**kwargs)

Bases: object

OLVM Vnic Profile properties.

Attributes

PASS_THROUGH_DISABLED A constant which can be used with the pass_through property of a OlvmVnicProfileProperties.
PASS_THROUGH_ENABLED A constant which can be used with the pass_through property of a OlvmVnicProfileProperties.
comment Gets the comment of this OlvmVnicProfileProperties.
custom_properties Gets the custom_properties of this OlvmVnicProfileProperties.
description Gets the description of this OlvmVnicProfileProperties.
is_migratable Gets the is_migratable of this OlvmVnicProfileProperties.
is_port_mirroring Gets the is_port_mirroring of this OlvmVnicProfileProperties.
pass_through Gets the pass_through of this OlvmVnicProfileProperties.
vnic_profile_name [Required] Gets the vnic_profile_name of this OlvmVnicProfileProperties.

Methods

__init__(**kwargs) Initializes a new OlvmVnicProfileProperties object with values from keyword arguments.
PASS_THROUGH_DISABLED = 'DISABLED'

A constant which can be used with the pass_through property of a OlvmVnicProfileProperties. This constant has a value of “DISABLED”

PASS_THROUGH_ENABLED = 'ENABLED'

A constant which can be used with the pass_through property of a OlvmVnicProfileProperties. This constant has a value of “ENABLED”

__init__(**kwargs)

Initializes a new OlvmVnicProfileProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • comment (str) – The value to assign to the comment property of this OlvmVnicProfileProperties.
  • custom_properties (list[oci.cloud_migrations.models.OlvmCustomProperty]) – The value to assign to the custom_properties property of this OlvmVnicProfileProperties.
  • description (str) – The value to assign to the description property of this OlvmVnicProfileProperties.
  • is_migratable (bool) – The value to assign to the is_migratable property of this OlvmVnicProfileProperties.
  • vnic_profile_name (str) – The value to assign to the vnic_profile_name property of this OlvmVnicProfileProperties.
  • pass_through (str) – The value to assign to the pass_through property of this OlvmVnicProfileProperties. Allowed values for this property are: “DISABLED”, “ENABLED”
  • is_port_mirroring (bool) – The value to assign to the is_port_mirroring property of this OlvmVnicProfileProperties.
comment

Gets the comment of this OlvmVnicProfileProperties. Free text containing comments about this object.

Returns:The comment of this OlvmVnicProfileProperties.
Return type:str
custom_properties

Gets the custom_properties of this OlvmVnicProfileProperties. Custom properties applied to the vNIC profile.

Returns:The custom_properties of this OlvmVnicProfileProperties.
Return type:list[oci.cloud_migrations.models.OlvmCustomProperty]
description

Gets the description of this OlvmVnicProfileProperties. A human-readable description in plain text.

Returns:The description of this OlvmVnicProfileProperties.
Return type:str
is_migratable

Gets the is_migratable of this OlvmVnicProfileProperties. Indicates whether passThrough NIC is migratable or not.

Returns:The is_migratable of this OlvmVnicProfileProperties.
Return type:bool
is_port_mirroring

Gets the is_port_mirroring of this OlvmVnicProfileProperties. Indicates if port mirroring is enabled.

Returns:The is_port_mirroring of this OlvmVnicProfileProperties.
Return type:bool
pass_through

Gets the pass_through of this OlvmVnicProfileProperties. Describes whether the vNIC is to be implemented as a pass-through device or a virtual one.

Allowed values for this property are: “DISABLED”, “ENABLED”

Returns:The pass_through of this OlvmVnicProfileProperties.
Return type:str
vnic_profile_name

[Required] Gets the vnic_profile_name of this OlvmVnicProfileProperties. A human-readable name in plain text

Returns:The vnic_profile_name of this OlvmVnicProfileProperties.
Return type:str