OpsActionUpdateMacDeviceDetails

class oci.mngdmac.models.OpsActionUpdateMacDeviceDetails(**kwargs)

Bases: object

The data to update a MacDevice in MAC_DEVICE bucket.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails.
ip_address Gets the ip_address of this OpsActionUpdateMacDeviceDetails.
lifecycle_state [Required] Gets the lifecycle_state of this OpsActionUpdateMacDeviceDetails.

Methods

__init__(**kwargs) Initializes a new OpsActionUpdateMacDeviceDetails object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails. This constant has a value of “DELETING”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a OpsActionUpdateMacDeviceDetails. This constant has a value of “NEEDS_ATTENTION”

__init__(**kwargs)

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

Parameters:
  • ip_address (str) – The value to assign to the ip_address property of this OpsActionUpdateMacDeviceDetails.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OpsActionUpdateMacDeviceDetails. Allowed values for this property are: “CREATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”
ip_address

Gets the ip_address of this OpsActionUpdateMacDeviceDetails. The IP address assigned to the MacDevice.

Returns:The ip_address of this OpsActionUpdateMacDeviceDetails.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this OpsActionUpdateMacDeviceDetails. The current status of the MacDevice.

Allowed values for this property are: “CREATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”

Returns:The lifecycle_state of this OpsActionUpdateMacDeviceDetails.
Return type:str