ImportableComputeEntitySummary

class oci.opsi.models.ImportableComputeEntitySummary(**kwargs)

Bases: object

A compute entity that can be imported into Operations Insights.

Attributes

ENTITY_SOURCE_MACS_MANAGED_CLOUD_HOST A constant which can be used with the entity_source property of a ImportableComputeEntitySummary.
ENTITY_SOURCE_MACS_MANAGED_EXTERNAL_HOST A constant which can be used with the entity_source property of a ImportableComputeEntitySummary.
compartment_id [Required] Gets the compartment_id of this ImportableComputeEntitySummary.
compute_display_name [Required] Gets the compute_display_name of this ImportableComputeEntitySummary.
compute_id [Required] Gets the compute_id of this ImportableComputeEntitySummary.
entity_source [Required] Gets the entity_source of this ImportableComputeEntitySummary.

Methods

__init__(**kwargs) Initializes a new ImportableComputeEntitySummary object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ENTITY_SOURCE_MACS_MANAGED_CLOUD_HOST = 'MACS_MANAGED_CLOUD_HOST'

A constant which can be used with the entity_source property of a ImportableComputeEntitySummary. This constant has a value of “MACS_MANAGED_CLOUD_HOST”

ENTITY_SOURCE_MACS_MANAGED_EXTERNAL_HOST = 'MACS_MANAGED_EXTERNAL_HOST'

A constant which can be used with the entity_source property of a ImportableComputeEntitySummary. This constant has a value of “MACS_MANAGED_EXTERNAL_HOST”

__init__(**kwargs)

Initializes a new ImportableComputeEntitySummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • entity_source (str) – The value to assign to the entity_source property of this ImportableComputeEntitySummary. Allowed values for this property are: “MACS_MANAGED_EXTERNAL_HOST”, “MACS_MANAGED_CLOUD_HOST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compute_id (str) – The value to assign to the compute_id property of this ImportableComputeEntitySummary.
  • compute_display_name (str) – The value to assign to the compute_display_name property of this ImportableComputeEntitySummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ImportableComputeEntitySummary.
compartment_id

[Required] Gets the compartment_id of this ImportableComputeEntitySummary. The OCID of the compartment.

Returns:The compartment_id of this ImportableComputeEntitySummary.
Return type:str
compute_display_name

[Required] Gets the compute_display_name of this ImportableComputeEntitySummary. The Display Name of the Compute Instance

Returns:The compute_display_name of this ImportableComputeEntitySummary.
Return type:str
compute_id

[Required] Gets the compute_id of this ImportableComputeEntitySummary. The OCID of the Compute Instance

Returns:The compute_id of this ImportableComputeEntitySummary.
Return type:str
entity_source

[Required] Gets the entity_source of this ImportableComputeEntitySummary. Source of the importable agent entity.

Allowed values for this property are: “MACS_MANAGED_EXTERNAL_HOST”, “MACS_MANAGED_CLOUD_HOST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The entity_source of this ImportableComputeEntitySummary.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.