SoftwareSourceAvailability

class oci.os_management_hub.models.SoftwareSourceAvailability(**kwargs)

Bases: object

An object that defines the OCID and the availability of a vendor software source.

Attributes

AVAILABILITY_AT_OCI_AVAILABLE A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability.
AVAILABILITY_AT_OCI_RESTRICTED A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability.
AVAILABILITY_AT_OCI_SELECTED A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability.
AVAILABILITY_AT_OCI_UNAVAILABLE A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability.
AVAILABILITY_AVAILABLE A constant which can be used with the availability property of a SoftwareSourceAvailability.
AVAILABILITY_RESTRICTED A constant which can be used with the availability property of a SoftwareSourceAvailability.
AVAILABILITY_SELECTED A constant which can be used with the availability property of a SoftwareSourceAvailability.
AVAILABILITY_UNAVAILABLE A constant which can be used with the availability property of a SoftwareSourceAvailability.
availability Gets the availability of this SoftwareSourceAvailability.
availability_at_oci Gets the availability_at_oci of this SoftwareSourceAvailability.
software_source_id [Required] Gets the software_source_id of this SoftwareSourceAvailability.

Methods

__init__(**kwargs) Initializes a new SoftwareSourceAvailability object with values from keyword arguments.
AVAILABILITY_AT_OCI_AVAILABLE = 'AVAILABLE'

A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability. This constant has a value of “AVAILABLE”

AVAILABILITY_AT_OCI_RESTRICTED = 'RESTRICTED'

A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability. This constant has a value of “RESTRICTED”

AVAILABILITY_AT_OCI_SELECTED = 'SELECTED'

A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability. This constant has a value of “SELECTED”

AVAILABILITY_AT_OCI_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the availability_at_oci property of a SoftwareSourceAvailability. This constant has a value of “UNAVAILABLE”

AVAILABILITY_AVAILABLE = 'AVAILABLE'

A constant which can be used with the availability property of a SoftwareSourceAvailability. This constant has a value of “AVAILABLE”

AVAILABILITY_RESTRICTED = 'RESTRICTED'

A constant which can be used with the availability property of a SoftwareSourceAvailability. This constant has a value of “RESTRICTED”

AVAILABILITY_SELECTED = 'SELECTED'

A constant which can be used with the availability property of a SoftwareSourceAvailability. This constant has a value of “SELECTED”

AVAILABILITY_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the availability property of a SoftwareSourceAvailability. This constant has a value of “UNAVAILABLE”

__init__(**kwargs)

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

Parameters:
  • software_source_id (str) – The value to assign to the software_source_id property of this SoftwareSourceAvailability.
  • availability (str) – The value to assign to the availability property of this SoftwareSourceAvailability. Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”
  • availability_at_oci (str) – The value to assign to the availability_at_oci property of this SoftwareSourceAvailability. Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”
availability

Gets the availability of this SoftwareSourceAvailability. Availability of the software source to instances in private data centers or third-party clouds.

Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”

Returns:The availability of this SoftwareSourceAvailability.
Return type:str
availability_at_oci

Gets the availability_at_oci of this SoftwareSourceAvailability. Availability of the software source to OCI instances.

Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”

Returns:The availability_at_oci of this SoftwareSourceAvailability.
Return type:str
software_source_id

[Required] Gets the software_source_id of this SoftwareSourceAvailability. The OCID of the vendor software source.

Returns:The software_source_id of this SoftwareSourceAvailability.
Return type:str