MacDeviceSummary¶
- class oci.mngdmac.models.MacDeviceSummary(**kwargs)¶
Bases:
objectSummary information about a MacDevice.
Methods:
__init__(**kwargs)Initializes a new MacDeviceSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this MacDeviceSummary.
[Required] Gets the id of this MacDeviceSummary.
[Required] Gets the ip_address of this MacDeviceSummary.
[Required] Gets the is_marked_decom of this MacDeviceSummary.
[Required] Gets the lifecycle_state of this MacDeviceSummary.
[Required] Gets the mac_order_id of this MacDeviceSummary.
[Required] Gets the serial_number of this MacDeviceSummary.
[Required] Gets the shape of this MacDeviceSummary.
[Required] Gets the time_created of this MacDeviceSummary.
[Required] Gets the time_decom of this MacDeviceSummary.
[Required] Gets the time_updated of this MacDeviceSummary.
- __init__(**kwargs)¶
Initializes a new MacDeviceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this MacDeviceSummary.
compartment_id (str) – The value to assign to the compartment_id property of this MacDeviceSummary.
mac_order_id (str) – The value to assign to the mac_order_id property of this MacDeviceSummary.
serial_number (str) – The value to assign to the serial_number property of this MacDeviceSummary.
ip_address (str) – The value to assign to the ip_address property of this MacDeviceSummary.
shape (str) – The value to assign to the shape property of this MacDeviceSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MacDeviceSummary.
time_created (datetime) – The value to assign to the time_created property of this MacDeviceSummary.
time_updated (datetime) – The value to assign to the time_updated property of this MacDeviceSummary.
is_marked_decom (bool) – The value to assign to the is_marked_decom property of this MacDeviceSummary.
time_decom (datetime) – The value to assign to the time_decom property of this MacDeviceSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this MacDeviceSummary. OCID of the compartment to which the resource belongs to.
- Returns
The compartment_id of this MacDeviceSummary.
- Return type
str
- property id¶
[Required] Gets the id of this MacDeviceSummary. The unique ID of the MacDevice.
- Returns
The id of this MacDeviceSummary.
- Return type
str
- property ip_address¶
[Required] Gets the ip_address of this MacDeviceSummary. The IP address assigned to the MacDevice.
- Returns
The ip_address of this MacDeviceSummary.
- Return type
str
- property is_marked_decom¶
[Required] Gets the is_marked_decom of this MacDeviceSummary. A flag that indicates if this MacDevice is decommissioned.
- Returns
The is_marked_decom of this MacDeviceSummary.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this MacDeviceSummary. The current status of the MacDevice.
- Returns
The lifecycle_state of this MacDeviceSummary.
- Return type
str
- property mac_order_id¶
[Required] Gets the mac_order_id of this MacDeviceSummary. The OCID of the resource.
- Returns
The mac_order_id of this MacDeviceSummary.
- Return type
str
- property serial_number¶
[Required] Gets the serial_number of this MacDeviceSummary. The serial number of the MacDevice.
- Returns
The serial_number of this MacDeviceSummary.
- Return type
str
- property shape¶
[Required] Gets the shape of this MacDeviceSummary. The shape of the MacDevice.
- Returns
The shape of this MacDeviceSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this MacDeviceSummary. The time this resource was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this MacDeviceSummary.
- Return type
datetime
- property time_decom¶
[Required] Gets the time_decom of this MacDeviceSummary. An RFC3339-formatted datetime string containing the time this MacDevice was decommissioned.
- Returns
The time_decom of this MacDeviceSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this MacDeviceSummary. The time this resource was last updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this MacDeviceSummary.
- Return type
datetime