CreateVendorSoftwareSourceDetails

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

Bases: CreateSoftwareSourceDetails

Provides the information used to replicated a vendor software source into another compartment (other than root).

Attributes:

SOFTWARE_SOURCE_TYPE_CUSTOM

A constant which can be used with the software_source_type property of a CreateSoftwareSourceDetails.

SOFTWARE_SOURCE_TYPE_PRIVATE

A constant which can be used with the software_source_type property of a CreateSoftwareSourceDetails.

SOFTWARE_SOURCE_TYPE_THIRD_PARTY

A constant which can be used with the software_source_type property of a CreateSoftwareSourceDetails.

SOFTWARE_SOURCE_TYPE_VENDOR

A constant which can be used with the software_source_type property of a CreateSoftwareSourceDetails.

SOFTWARE_SOURCE_TYPE_VERSIONED

A constant which can be used with the software_source_type property of a 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

Gets the display_name of this CreateSoftwareSourceDetails.

freeform_tags

Gets the freeform_tags of this CreateSoftwareSourceDetails.

origin_display_name

Gets the origin_display_name of this CreateVendorSoftwareSourceDetails.

origin_software_source_id

Gets the origin_software_source_id of this CreateVendorSoftwareSourceDetails.

software_source_type

[Required] Gets the software_source_type of this CreateSoftwareSourceDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateVendorSoftwareSourceDetails 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.

SOFTWARE_SOURCE_TYPE_CUSTOM = 'CUSTOM'

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

SOFTWARE_SOURCE_TYPE_PRIVATE = 'PRIVATE'

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

SOFTWARE_SOURCE_TYPE_THIRD_PARTY = 'THIRD_PARTY'

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

SOFTWARE_SOURCE_TYPE_VENDOR = 'VENDOR'

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

SOFTWARE_SOURCE_TYPE_VERSIONED = 'VERSIONED'

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

__init__(**kwargs)

Initializes a new CreateVendorSoftwareSourceDetails object with values from keyword arguments. The default value of the software_source_type attribute of this class is VENDOR and it should not be changed. 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 CreateVendorSoftwareSourceDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateVendorSoftwareSourceDetails.

  • description (str) – The value to assign to the description property of this CreateVendorSoftwareSourceDetails.

  • software_source_type (str) – The value to assign to the software_source_type property of this CreateVendorSoftwareSourceDetails. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVendorSoftwareSourceDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVendorSoftwareSourceDetails.

  • origin_software_source_id (str) – The value to assign to the origin_software_source_id property of this CreateVendorSoftwareSourceDetails.

  • origin_display_name (str) – The value to assign to the origin_display_name property of this CreateVendorSoftwareSourceDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateSoftwareSourceDetails. The OCID of the compartment that contains the software source.

Returns

The compartment_id of this CreateSoftwareSourceDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateSoftwareSourceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this CreateSoftwareSourceDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateSoftwareSourceDetails. User-specified description for the software source. Avoid entering confidential information.

Returns

The description of this CreateSoftwareSourceDetails.

Return type

str

property display_name

Gets the display_name of this CreateSoftwareSourceDetails. User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.

Returns

The display_name of this CreateSoftwareSourceDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateSoftwareSourceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this CreateSoftwareSourceDetails.

Return type

dict(str, 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.

property origin_display_name

Gets the origin_display_name of this CreateVendorSoftwareSourceDetails. The display name of the software source to be replicated

Returns

The origin_display_name of this CreateVendorSoftwareSourceDetails.

Return type

str

property origin_software_source_id

Gets the origin_software_source_id of this CreateVendorSoftwareSourceDetails. The OCID of the vendor software source in the root compartment that is being replicated.

Returns

The origin_software_source_id of this CreateVendorSoftwareSourceDetails.

Return type

str

property software_source_type

[Required] Gets the software_source_type of this CreateSoftwareSourceDetails. Type of software source.

Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”

Returns

The software_source_type of this CreateSoftwareSourceDetails.

Return type

str