SoftwareSource¶
-
class
oci.os_management.models.
SoftwareSource
(**kwargs)¶ Bases:
object
A software source contains a collection of packages
Attributes
ARCH_TYPE_AARCH64
A constant which can be used with the arch_type property of a SoftwareSource. ARCH_TYPE_AMD64_DEBIAN
A constant which can be used with the arch_type property of a SoftwareSource. ARCH_TYPE_IA_32
A constant which can be used with the arch_type property of a SoftwareSource. ARCH_TYPE_SPARC
A constant which can be used with the arch_type property of a SoftwareSource. ARCH_TYPE_X86_64
A constant which can be used with the arch_type property of a SoftwareSource. CHECKSUM_TYPE_SHA1
A constant which can be used with the checksum_type property of a SoftwareSource. CHECKSUM_TYPE_SHA256
A constant which can be used with the checksum_type property of a SoftwareSource. CHECKSUM_TYPE_SHA384
A constant which can be used with the checksum_type property of a SoftwareSource. CHECKSUM_TYPE_SHA512
A constant which can be used with the checksum_type property of a SoftwareSource. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a SoftwareSource. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a SoftwareSource. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a SoftwareSource. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a SoftwareSource. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a SoftwareSource. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a SoftwareSource. STATUS_ERROR
A constant which can be used with the status property of a SoftwareSource. STATUS_NORMAL
A constant which can be used with the status property of a SoftwareSource. STATUS_UNREACHABLE
A constant which can be used with the status property of a SoftwareSource. STATUS_WARNING
A constant which can be used with the status property of a SoftwareSource. arch_type
Gets the arch_type of this SoftwareSource. associated_managed_instances
Gets the associated_managed_instances of this SoftwareSource. checksum_type
Gets the checksum_type of this SoftwareSource. compartment_id
[Required] Gets the compartment_id of this SoftwareSource. defined_tags
Gets the defined_tags of this SoftwareSource. description
Gets the description of this SoftwareSource. display_name
[Required] Gets the display_name of this SoftwareSource. freeform_tags
Gets the freeform_tags of this SoftwareSource. gpg_key_fingerprint
Gets the gpg_key_fingerprint of this SoftwareSource. gpg_key_id
Gets the gpg_key_id of this SoftwareSource. gpg_key_url
Gets the gpg_key_url of this SoftwareSource. id
[Required] Gets the id of this SoftwareSource. lifecycle_state
Gets the lifecycle_state of this SoftwareSource. maintainer_email
Gets the maintainer_email of this SoftwareSource. maintainer_name
Gets the maintainer_name of this SoftwareSource. maintainer_phone
Gets the maintainer_phone of this SoftwareSource. packages
Gets the packages of this SoftwareSource. parent_id
Gets the parent_id of this SoftwareSource. parent_name
Gets the parent_name of this SoftwareSource. repo_type
[Required] Gets the repo_type of this SoftwareSource. status
Gets the status of this SoftwareSource. url
[Required] Gets the url of this SoftwareSource. Methods
__init__
(**kwargs)Initializes a new SoftwareSource object with values from keyword arguments. -
ARCH_TYPE_AARCH64
= 'AARCH64'¶ A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “AARCH64”
-
ARCH_TYPE_AMD64_DEBIAN
= 'AMD64_DEBIAN'¶ A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “AMD64_DEBIAN”
-
ARCH_TYPE_IA_32
= 'IA_32'¶ A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “IA_32”
-
ARCH_TYPE_SPARC
= 'SPARC'¶ A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “SPARC”
-
ARCH_TYPE_X86_64
= 'X86_64'¶ A constant which can be used with the arch_type property of a SoftwareSource. This constant has a value of “X86_64”
-
CHECKSUM_TYPE_SHA1
= 'SHA1'¶ A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA1”
-
CHECKSUM_TYPE_SHA256
= 'SHA256'¶ A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA256”
-
CHECKSUM_TYPE_SHA384
= 'SHA384'¶ A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA384”
-
CHECKSUM_TYPE_SHA512
= 'SHA512'¶ A constant which can be used with the checksum_type property of a SoftwareSource. This constant has a value of “SHA512”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a SoftwareSource. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a SoftwareSource. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a SoftwareSource. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a SoftwareSource. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a SoftwareSource. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a SoftwareSource. This constant has a value of “UPDATING”
-
STATUS_ERROR
= 'ERROR'¶ A constant which can be used with the status property of a SoftwareSource. This constant has a value of “ERROR”
-
STATUS_NORMAL
= 'NORMAL'¶ A constant which can be used with the status property of a SoftwareSource. This constant has a value of “NORMAL”
-
STATUS_UNREACHABLE
= 'UNREACHABLE'¶ A constant which can be used with the status property of a SoftwareSource. This constant has a value of “UNREACHABLE”
-
STATUS_WARNING
= 'WARNING'¶ A constant which can be used with the status property of a SoftwareSource. This constant has a value of “WARNING”
-
__init__
(**kwargs)¶ Initializes a new SoftwareSource 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 SoftwareSource.
- compartment_id (str) – The value to assign to the compartment_id property of this SoftwareSource.
- display_name (str) – The value to assign to the display_name property of this SoftwareSource.
- description (str) – The value to assign to the description property of this SoftwareSource.
- repo_type (str) – The value to assign to the repo_type property of this SoftwareSource.
- arch_type (str) – The value to assign to the arch_type property of this SoftwareSource. Allowed values for this property are: “IA_32”, “X86_64”, “AARCH64”, “SPARC”, “AMD64_DEBIAN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- url (str) – The value to assign to the url property of this SoftwareSource.
- parent_id (str) – The value to assign to the parent_id property of this SoftwareSource.
- parent_name (str) – The value to assign to the parent_name property of this SoftwareSource.
- checksum_type (str) – The value to assign to the checksum_type property of this SoftwareSource. Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- maintainer_name (str) – The value to assign to the maintainer_name property of this SoftwareSource.
- maintainer_email (str) – The value to assign to the maintainer_email property of this SoftwareSource.
- maintainer_phone (str) – The value to assign to the maintainer_phone property of this SoftwareSource.
- gpg_key_url (str) – The value to assign to the gpg_key_url property of this SoftwareSource.
- gpg_key_id (str) – The value to assign to the gpg_key_id property of this SoftwareSource.
- gpg_key_fingerprint (str) – The value to assign to the gpg_key_fingerprint property of this SoftwareSource.
- status (str) – The value to assign to the status property of this SoftwareSource. 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’.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SoftwareSource. 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’.
- packages (int) – The value to assign to the packages property of this SoftwareSource.
- associated_managed_instances (list[oci.os_management.models.Id]) – The value to assign to the associated_managed_instances property of this SoftwareSource.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SoftwareSource.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SoftwareSource.
-
arch_type
¶ Gets the arch_type of this SoftwareSource. The architecture type supported by the Software Source
Allowed values for this property are: “IA_32”, “X86_64”, “AARCH64”, “SPARC”, “AMD64_DEBIAN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The arch_type of this SoftwareSource. Return type: str
-
associated_managed_instances
¶ Gets the associated_managed_instances of this SoftwareSource. list of the Managed Instances associated with this Software Sources
Returns: The associated_managed_instances of this SoftwareSource. Return type: list[oci.os_management.models.Id]
-
checksum_type
¶ Gets the checksum_type of this SoftwareSource. The yum repository checksum type used by this software source
Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The checksum_type of this SoftwareSource. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this SoftwareSource. OCID for the Compartment
Returns: The compartment_id of this SoftwareSource. Return type: str
Gets the defined_tags of this SoftwareSource. 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 SoftwareSource. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this SoftwareSource. Information specified by the user about the software source
Returns: The description of this SoftwareSource. Return type: str
-
display_name
¶ [Required] Gets the display_name of this SoftwareSource. User friendly name for the software source
Returns: The display_name of this SoftwareSource. Return type: str
Gets the freeform_tags of this SoftwareSource. 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 SoftwareSource. Return type: dict(str, str)
-
gpg_key_fingerprint
¶ Gets the gpg_key_fingerprint of this SoftwareSource. Fingerprint of the GPG key for this software source
Returns: The gpg_key_fingerprint of this SoftwareSource. Return type: str
-
gpg_key_id
¶ Gets the gpg_key_id of this SoftwareSource. ID of the GPG key for this software source
Returns: The gpg_key_id of this SoftwareSource. Return type: str
-
gpg_key_url
¶ Gets the gpg_key_url of this SoftwareSource. URL of the GPG key for this software source
Returns: The gpg_key_url of this SoftwareSource. Return type: str
-
id
¶ [Required] Gets the id of this SoftwareSource. OCID for the Software Source
Returns: The id of this SoftwareSource. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this SoftwareSource. 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 SoftwareSource. Return type: str
-
maintainer_email
¶ Gets the maintainer_email of this SoftwareSource. Email address of the person maintaining this software source
Returns: The maintainer_email of this SoftwareSource. Return type: str
-
maintainer_name
¶ Gets the maintainer_name of this SoftwareSource. Name of the person maintaining this software source
Returns: The maintainer_name of this SoftwareSource. Return type: str
-
maintainer_phone
¶ Gets the maintainer_phone of this SoftwareSource. Phone number of the person maintaining this software source
Returns: The maintainer_phone of this SoftwareSource. Return type: str
-
packages
¶ Gets the packages of this SoftwareSource. Number of packages
Returns: The packages of this SoftwareSource. Return type: int
-
parent_id
¶ Gets the parent_id of this SoftwareSource. OCID for the parent software source, if there is one
Returns: The parent_id of this SoftwareSource. Return type: str
-
parent_name
¶ Gets the parent_name of this SoftwareSource. Display name the parent software source, if there is one
Returns: The parent_name of this SoftwareSource. Return type: str
-
repo_type
¶ [Required] Gets the repo_type of this SoftwareSource. Type of the Software Source
Returns: The repo_type of this SoftwareSource. Return type: str
-
status
¶ Gets the status of this SoftwareSource. 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 SoftwareSource. Return type: str
-
url
¶ [Required] Gets the url of this SoftwareSource. URL for the repostiory
Returns: The url of this SoftwareSource. Return type: str
-