SoftwareSourceSummary

class oci.os_management.models.SoftwareSourceSummary(**kwargs)

Bases: object

A software source contains a collection of packages

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a SoftwareSourceSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a SoftwareSourceSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a SoftwareSourceSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a SoftwareSourceSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a SoftwareSourceSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a SoftwareSourceSummary.
STATUS_ERROR A constant which can be used with the status property of a SoftwareSourceSummary.
STATUS_NORMAL A constant which can be used with the status property of a SoftwareSourceSummary.
STATUS_UNREACHABLE A constant which can be used with the status property of a SoftwareSourceSummary.
STATUS_WARNING A constant which can be used with the status property of a SoftwareSourceSummary.
compartment_id [Required] Gets the compartment_id of this SoftwareSourceSummary.
defined_tags Gets the defined_tags of this SoftwareSourceSummary.
description Gets the description of this SoftwareSourceSummary.
display_name [Required] Gets the display_name of this SoftwareSourceSummary.
freeform_tags Gets the freeform_tags of this SoftwareSourceSummary.
id [Required] Gets the id of this SoftwareSourceSummary.
lifecycle_state Gets the lifecycle_state of this SoftwareSourceSummary.
packages Gets the packages of this SoftwareSourceSummary.
parent_id Gets the parent_id of this SoftwareSourceSummary.
parent_name Gets the parent_name of this SoftwareSourceSummary.
repo_type [Required] Gets the repo_type of this SoftwareSourceSummary.
status Gets the status of this SoftwareSourceSummary.

Methods

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

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

STATUS_ERROR = 'ERROR'

A constant which can be used with the status property of a SoftwareSourceSummary. This constant has a value of “ERROR”

STATUS_NORMAL = 'NORMAL'

A constant which can be used with the status property of a SoftwareSourceSummary. This constant has a value of “NORMAL”

STATUS_UNREACHABLE = 'UNREACHABLE'

A constant which can be used with the status property of a SoftwareSourceSummary. This constant has a value of “UNREACHABLE”

STATUS_WARNING = 'WARNING'

A constant which can be used with the status property of a SoftwareSourceSummary. This constant has a value of “WARNING”

__init__(**kwargs)

Initializes a new SoftwareSourceSummary 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 SoftwareSourceSummary.
  • description (str) – The value to assign to the description property of this SoftwareSourceSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this SoftwareSourceSummary.
  • display_name (str) – The value to assign to the display_name property of this SoftwareSourceSummary.
  • repo_type (str) – The value to assign to the repo_type property of this SoftwareSourceSummary.
  • status (str) – The value to assign to the status property of this SoftwareSourceSummary. Allowed values for this property are: “NORMAL”, “UNREACHABLE”, “ERROR”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • packages (int) – The value to assign to the packages property of this SoftwareSourceSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SoftwareSourceSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • parent_id (str) – The value to assign to the parent_id property of this SoftwareSourceSummary.
  • parent_name (str) – The value to assign to the parent_name property of this SoftwareSourceSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SoftwareSourceSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SoftwareSourceSummary.
compartment_id

[Required] Gets the compartment_id of this SoftwareSourceSummary. OCID for the Compartment

Returns:The compartment_id of this SoftwareSourceSummary.
Return type:str
defined_tags

Gets the defined_tags of this SoftwareSourceSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this SoftwareSourceSummary.
Return type:dict(str, dict(str, object))
description

Gets the description of this SoftwareSourceSummary. Information specified by the user about the software source

Returns:The description of this SoftwareSourceSummary.
Return type:str
display_name

[Required] Gets the display_name of this SoftwareSourceSummary. User friendly name for the software source

Returns:The display_name of this SoftwareSourceSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this SoftwareSourceSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this SoftwareSourceSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this SoftwareSourceSummary. OCID for the Software Source

Returns:The id of this SoftwareSourceSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this SoftwareSourceSummary. The current state of the software source.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this SoftwareSourceSummary.
Return type:str
packages

Gets the packages of this SoftwareSourceSummary. Number of packages

Returns:The packages of this SoftwareSourceSummary.
Return type:int
parent_id

Gets the parent_id of this SoftwareSourceSummary. OCID for the parent software source, if there is one

Returns:The parent_id of this SoftwareSourceSummary.
Return type:str
parent_name

Gets the parent_name of this SoftwareSourceSummary. Display name the parent software source, if there is one

Returns:The parent_name of this SoftwareSourceSummary.
Return type:str
repo_type

[Required] Gets the repo_type of this SoftwareSourceSummary. Type of the Software Source

Returns:The repo_type of this SoftwareSourceSummary.
Return type:str
status

Gets the status of this SoftwareSourceSummary. status of the software source.

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

Returns:The status of this SoftwareSourceSummary.
Return type:str