CreateVersionedCustomSoftwareSourceDetails¶
-
class
oci.os_management_hub.models.CreateVersionedCustomSoftwareSourceDetails(**kwargs)¶ Bases:
oci.os_management_hub.models.create_software_source_details.CreateSoftwareSourceDetailsProvides the information used to create a versioned custom software source.
Attributes
SOFTWARE_SOURCE_SUB_TYPE_FILTERA constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails. SOFTWARE_SOURCE_SUB_TYPE_MANIFESTA constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails. SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOTA constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails. SOFTWARE_SOURCE_TYPE_CUSTOMstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_PRIVATEstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_THIRD_PARTYstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_VENDORstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_VERSIONEDstr(object=’’) -> str compartment_id[Required] Gets the compartment_id of this CreateSoftwareSourceDetails. custom_software_source_filterGets the custom_software_source_filter of this CreateVersionedCustomSoftwareSourceDetails. defined_tagsGets the defined_tags of this CreateSoftwareSourceDetails. descriptionGets the description of this CreateSoftwareSourceDetails. display_nameGets the display_name of this CreateSoftwareSourceDetails. freeform_tagsGets the freeform_tags of this CreateSoftwareSourceDetails. is_auto_resolve_dependenciesGets the is_auto_resolve_dependencies of this CreateVersionedCustomSoftwareSourceDetails. is_created_from_package_listGets the is_created_from_package_list of this CreateVersionedCustomSoftwareSourceDetails. is_latest_content_onlyGets the is_latest_content_only of this CreateVersionedCustomSoftwareSourceDetails. packagesGets the packages of this CreateVersionedCustomSoftwareSourceDetails. software_source_sub_typeGets the software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails. software_source_type[Required] Gets the software_source_type of this CreateSoftwareSourceDetails. software_source_version[Required] Gets the software_source_version of this CreateVersionedCustomSoftwareSourceDetails. vendor_software_sources[Required] Gets the vendor_software_sources of this CreateVersionedCustomSoftwareSourceDetails. Methods
__init__(**kwargs)Initializes a new CreateVersionedCustomSoftwareSourceDetails 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_SUB_TYPE_FILTER= 'FILTER'¶ A constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails. This constant has a value of “FILTER”
-
SOFTWARE_SOURCE_SUB_TYPE_MANIFEST= 'MANIFEST'¶ A constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails. This constant has a value of “MANIFEST”
-
SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT= 'SNAPSHOT'¶ A constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails. This constant has a value of “SNAPSHOT”
-
SOFTWARE_SOURCE_TYPE_CUSTOM= 'CUSTOM'¶
-
SOFTWARE_SOURCE_TYPE_PRIVATE= 'PRIVATE'¶
-
SOFTWARE_SOURCE_TYPE_THIRD_PARTY= 'THIRD_PARTY'¶
-
SOFTWARE_SOURCE_TYPE_VENDOR= 'VENDOR'¶
-
SOFTWARE_SOURCE_TYPE_VERSIONED= 'VERSIONED'¶
-
__init__(**kwargs)¶ Initializes a new CreateVersionedCustomSoftwareSourceDetails object with values from keyword arguments. The default value of the
software_source_typeattribute of this class isVERSIONEDand 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 CreateVersionedCustomSoftwareSourceDetails.
- display_name (str) – The value to assign to the display_name property of this CreateVersionedCustomSoftwareSourceDetails.
- description (str) – The value to assign to the description property of this CreateVersionedCustomSoftwareSourceDetails.
- software_source_type (str) – The value to assign to the software_source_type property of this CreateVersionedCustomSoftwareSourceDetails. 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 CreateVersionedCustomSoftwareSourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVersionedCustomSoftwareSourceDetails.
- vendor_software_sources (list[oci.os_management_hub.models.Id]) – The value to assign to the vendor_software_sources property of this CreateVersionedCustomSoftwareSourceDetails.
- custom_software_source_filter (oci.os_management_hub.models.CustomSoftwareSourceFilter) – The value to assign to the custom_software_source_filter property of this CreateVersionedCustomSoftwareSourceDetails.
- software_source_version (str) – The value to assign to the software_source_version property of this CreateVersionedCustomSoftwareSourceDetails.
- is_auto_resolve_dependencies (bool) – The value to assign to the is_auto_resolve_dependencies property of this CreateVersionedCustomSoftwareSourceDetails.
- is_created_from_package_list (bool) – The value to assign to the is_created_from_package_list property of this CreateVersionedCustomSoftwareSourceDetails.
- is_latest_content_only (bool) – The value to assign to the is_latest_content_only property of this CreateVersionedCustomSoftwareSourceDetails.
- packages (list[str]) – The value to assign to the packages property of this CreateVersionedCustomSoftwareSourceDetails.
- software_source_sub_type (str) – The value to assign to the software_source_sub_type property of this CreateVersionedCustomSoftwareSourceDetails. Allowed values for this property are: “FILTER”, “MANIFEST”, “SNAPSHOT”
-
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
-
custom_software_source_filter¶ Gets the custom_software_source_filter of this CreateVersionedCustomSoftwareSourceDetails.
Returns: The custom_software_source_filter of this CreateVersionedCustomSoftwareSourceDetails. Return type: oci.os_management_hub.models.CustomSoftwareSourceFilter
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))
-
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
-
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
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.
-
is_auto_resolve_dependencies¶ Gets the is_auto_resolve_dependencies of this CreateVersionedCustomSoftwareSourceDetails. 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 CreateVersionedCustomSoftwareSourceDetails. Return type: bool
-
is_created_from_package_list¶ Gets the is_created_from_package_list of this CreateVersionedCustomSoftwareSourceDetails. Indicates whether the service should create the software source from a list of packages provided by the user.
Returns: The is_created_from_package_list of this CreateVersionedCustomSoftwareSourceDetails. Return type: bool
-
is_latest_content_only¶ Gets the is_latest_content_only of this CreateVersionedCustomSoftwareSourceDetails. Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters). * For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages. * For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream. * For a package filter that does not specify a version, this will include only the latest available version of the package. * For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored). * For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
Returns: The is_latest_content_only of this CreateVersionedCustomSoftwareSourceDetails. Return type: bool
-
packages¶ Gets the packages of this CreateVersionedCustomSoftwareSourceDetails. A property used for compatibility only. It doesn’t provide a complete list of packages. See
add_packages_to_software_source_details()for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.Returns: The packages of this CreateVersionedCustomSoftwareSourceDetails. Return type: list[str]
-
software_source_sub_type¶ Gets the software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails. The creation type of a software source.
Allowed values for this property are: “FILTER”, “MANIFEST”, “SNAPSHOT”
Returns: The software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails. Return type: str
-
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
-
software_source_version¶ [Required] Gets the software_source_version of this CreateVersionedCustomSoftwareSourceDetails. The version to assign to this custom software source.
Returns: The software_source_version of this CreateVersionedCustomSoftwareSourceDetails. Return type: str
-
vendor_software_sources¶ [Required] Gets the vendor_software_sources of this CreateVersionedCustomSoftwareSourceDetails. List of vendor software sources.
Returns: The vendor_software_sources of this CreateVersionedCustomSoftwareSourceDetails. Return type: list[oci.os_management_hub.models.Id]
-