CreateSoftwareSourceDetails

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

Bases: object

Description of a software source to be created on the management system

Attributes

ARCH_TYPE_AARCH64 A constant which can be used with the arch_type property of a CreateSoftwareSourceDetails.
ARCH_TYPE_AMD64_DEBIAN A constant which can be used with the arch_type property of a CreateSoftwareSourceDetails.
ARCH_TYPE_IA_32 A constant which can be used with the arch_type property of a CreateSoftwareSourceDetails.
ARCH_TYPE_SPARC A constant which can be used with the arch_type property of a CreateSoftwareSourceDetails.
ARCH_TYPE_X86_64 A constant which can be used with the arch_type property of a CreateSoftwareSourceDetails.
CHECKSUM_TYPE_SHA1 A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails.
CHECKSUM_TYPE_SHA256 A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails.
CHECKSUM_TYPE_SHA384 A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails.
CHECKSUM_TYPE_SHA512 A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails.
arch_type [Required] Gets the arch_type of this CreateSoftwareSourceDetails.
checksum_type Gets the checksum_type of this CreateSoftwareSourceDetails.
compartment_id [Required] Gets the compartment_id of this CreateSoftwareSourceDetails.
defined_tags Gets the defined_tags of this CreateSoftwareSourceDetails.
description Gets the description of this CreateSoftwareSourceDetails.
display_name [Required] Gets the display_name of this CreateSoftwareSourceDetails.
freeform_tags Gets the freeform_tags of this CreateSoftwareSourceDetails.
maintainer_email Gets the maintainer_email of this CreateSoftwareSourceDetails.
maintainer_name Gets the maintainer_name of this CreateSoftwareSourceDetails.
maintainer_phone Gets the maintainer_phone of this CreateSoftwareSourceDetails.
parent_id Gets the parent_id of this CreateSoftwareSourceDetails.

Methods

__init__(**kwargs) Initializes a new CreateSoftwareSourceDetails object with values from keyword arguments.
ARCH_TYPE_AARCH64 = 'AARCH64'

A constant which can be used with the arch_type property of a CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. This constant has a value of “SHA1”

CHECKSUM_TYPE_SHA256 = 'SHA256'

A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails. This constant has a value of “SHA256”

CHECKSUM_TYPE_SHA384 = 'SHA384'

A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails. This constant has a value of “SHA384”

CHECKSUM_TYPE_SHA512 = 'SHA512'

A constant which can be used with the checksum_type property of a CreateSoftwareSourceDetails. This constant has a value of “SHA512”

__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateSoftwareSourceDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateSoftwareSourceDetails.
  • description (str) – The value to assign to the description property of this CreateSoftwareSourceDetails.
  • arch_type (str) – The value to assign to the arch_type property of this CreateSoftwareSourceDetails. Allowed values for this property are: “IA_32”, “X86_64”, “AARCH64”, “SPARC”, “AMD64_DEBIAN”
  • maintainer_name (str) – The value to assign to the maintainer_name property of this CreateSoftwareSourceDetails.
  • maintainer_email (str) – The value to assign to the maintainer_email property of this CreateSoftwareSourceDetails.
  • maintainer_phone (str) – The value to assign to the maintainer_phone property of this CreateSoftwareSourceDetails.
  • checksum_type (str) – The value to assign to the checksum_type property of this CreateSoftwareSourceDetails. Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”
  • parent_id (str) – The value to assign to the parent_id property of this CreateSoftwareSourceDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSoftwareSourceDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSoftwareSourceDetails.
arch_type

[Required] Gets the arch_type of this CreateSoftwareSourceDetails. The architecture type supported by the Software Source

Allowed values for this property are: “IA_32”, “X86_64”, “AARCH64”, “SPARC”, “AMD64_DEBIAN”

Returns:The arch_type of this CreateSoftwareSourceDetails.
Return type:str
checksum_type

Gets the checksum_type of this CreateSoftwareSourceDetails. The yum repository checksum type used by this software source

Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”

Returns:The checksum_type of this CreateSoftwareSourceDetails.
Return type:str
compartment_id

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

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

Gets the defined_tags of this CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails.
Return type:dict(str, dict(str, object))
description

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

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

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

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

Gets the freeform_tags of this CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails.
Return type:dict(str, str)
maintainer_email

Gets the maintainer_email of this CreateSoftwareSourceDetails. Email address of the person maintaining this software source

Returns:The maintainer_email of this CreateSoftwareSourceDetails.
Return type:str
maintainer_name

Gets the maintainer_name of this CreateSoftwareSourceDetails. Name of the person maintaining this software source

Returns:The maintainer_name of this CreateSoftwareSourceDetails.
Return type:str
maintainer_phone

Gets the maintainer_phone of this CreateSoftwareSourceDetails. Phone number of the person maintaining this software source

Returns:The maintainer_phone of this CreateSoftwareSourceDetails.
Return type:str
parent_id

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

Returns:The parent_id of this CreateSoftwareSourceDetails.
Return type:str