UpdateCustomSoftwareSourceDetails¶
-
class
oci.os_management_hub.models.
UpdateCustomSoftwareSourceDetails
(**kwargs)¶ Bases:
oci.os_management_hub.models.update_software_source_details.UpdateSoftwareSourceDetails
Provides the information used to update a custom software source.
Attributes
SOFTWARE_SOURCE_TYPE_CUSTOM
str(object=’’) -> str SOFTWARE_SOURCE_TYPE_VENDOR
str(object=’’) -> str SOFTWARE_SOURCE_TYPE_VERSIONED
str(object=’’) -> str compartment_id
Gets the compartment_id of this UpdateSoftwareSourceDetails. custom_software_source_filter
Gets the custom_software_source_filter of this UpdateCustomSoftwareSourceDetails. defined_tags
Gets the defined_tags of this UpdateSoftwareSourceDetails. description
Gets the description of this UpdateSoftwareSourceDetails. display_name
Gets the display_name of this UpdateSoftwareSourceDetails. freeform_tags
Gets the freeform_tags of this UpdateSoftwareSourceDetails. is_auto_resolve_dependencies
Gets the is_auto_resolve_dependencies of this UpdateCustomSoftwareSourceDetails. is_automatically_updated
Gets the is_automatically_updated of this UpdateCustomSoftwareSourceDetails. software_source_type
Gets the software_source_type of this UpdateSoftwareSourceDetails. vendor_software_sources
Gets the vendor_software_sources of this UpdateCustomSoftwareSourceDetails. Methods
__init__
(**kwargs)Initializes a new UpdateCustomSoftwareSourceDetails 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'¶
-
SOFTWARE_SOURCE_TYPE_VENDOR
= 'VENDOR'¶
-
SOFTWARE_SOURCE_TYPE_VERSIONED
= 'VERSIONED'¶
-
__init__
(**kwargs)¶ Initializes a new UpdateCustomSoftwareSourceDetails object with values from keyword arguments. The default value of the
software_source_type
attribute of this class isCUSTOM
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 UpdateCustomSoftwareSourceDetails.
- display_name (str) – The value to assign to the display_name property of this UpdateCustomSoftwareSourceDetails.
- description (str) – The value to assign to the description property of this UpdateCustomSoftwareSourceDetails.
- software_source_type (str) – The value to assign to the software_source_type property of this UpdateCustomSoftwareSourceDetails. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateCustomSoftwareSourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateCustomSoftwareSourceDetails.
- vendor_software_sources (list[oci.os_management_hub.models.Id]) – The value to assign to the vendor_software_sources property of this UpdateCustomSoftwareSourceDetails.
- custom_software_source_filter (oci.os_management_hub.models.CustomSoftwareSourceFilter) – The value to assign to the custom_software_source_filter property of this UpdateCustomSoftwareSourceDetails.
- is_automatically_updated (bool) – The value to assign to the is_automatically_updated property of this UpdateCustomSoftwareSourceDetails.
- is_auto_resolve_dependencies (bool) – The value to assign to the is_auto_resolve_dependencies property of this UpdateCustomSoftwareSourceDetails.
-
compartment_id
¶ Gets the compartment_id of this UpdateSoftwareSourceDetails. The OCID of the compartment that contains the software source.
Returns: The compartment_id of this UpdateSoftwareSourceDetails. Return type: str
-
custom_software_source_filter
¶ Gets the custom_software_source_filter of this UpdateCustomSoftwareSourceDetails.
Returns: The custom_software_source_filter of this UpdateCustomSoftwareSourceDetails. Return type: oci.os_management_hub.models.CustomSoftwareSourceFilter
Gets the defined_tags of this UpdateSoftwareSourceDetails. 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 UpdateSoftwareSourceDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateSoftwareSourceDetails. User-specified description of the software source.
Returns: The description of this UpdateSoftwareSourceDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateSoftwareSourceDetails. User-friendly name for the software source.
Returns: The display_name of this UpdateSoftwareSourceDetails. Return type: str
Gets the freeform_tags of this UpdateSoftwareSourceDetails. 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 UpdateSoftwareSourceDetails. 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.
-
is_auto_resolve_dependencies
¶ Gets the is_auto_resolve_dependencies of this UpdateCustomSoftwareSourceDetails. Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
Returns: The is_auto_resolve_dependencies of this UpdateCustomSoftwareSourceDetails. Return type: bool
-
is_automatically_updated
¶ Gets the is_automatically_updated of this UpdateCustomSoftwareSourceDetails. Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
Returns: The is_automatically_updated of this UpdateCustomSoftwareSourceDetails. Return type: bool
-
software_source_type
¶ Gets the software_source_type of this UpdateSoftwareSourceDetails. Type of the software source.
Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”
Returns: The software_source_type of this UpdateSoftwareSourceDetails. Return type: str
-
vendor_software_sources
¶ Gets the vendor_software_sources of this UpdateCustomSoftwareSourceDetails. List of vendor software sources that are used for the basis of the custom software source.
Returns: The vendor_software_sources of this UpdateCustomSoftwareSourceDetails. Return type: list[oci.os_management_hub.models.Id]
-