Show / Hide Table of Contents

Class CustomSoftwareSource

The object that defines a custom software source. A software source contains a collection of packages. For more information, see Managing Software Sources.

Inheritance
object
SoftwareSource
CustomSoftwareSource
Inherited Members
SoftwareSource.Id
SoftwareSource.CompartmentId
SoftwareSource.DisplayName
SoftwareSource.TimeCreated
SoftwareSource.Description
SoftwareSource.Availability
SoftwareSource.AvailabilityAtOci
SoftwareSource.RepoId
SoftwareSource.OsFamily
SoftwareSource.ArchType
SoftwareSource.LifecycleState
SoftwareSource.PackageCount
SoftwareSource.Url
SoftwareSource.ChecksumType
SoftwareSource.GpgKeyUrl
SoftwareSource.GpgKeyId
SoftwareSource.GpgKeyFingerprint
SoftwareSource.Size
SoftwareSource.FreeformTags
SoftwareSource.DefinedTags
SoftwareSource.SystemTags
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class CustomSoftwareSource : SoftwareSource

Properties

CustomSoftwareSourceFilter

Declaration
[JsonProperty(PropertyName = "customSoftwareSourceFilter")]
public CustomSoftwareSourceFilter CustomSoftwareSourceFilter { get; set; }
Property Value
Type Description
CustomSoftwareSourceFilter

IsAutoResolveDependencies

Declaration
[JsonProperty(PropertyName = "isAutoResolveDependencies")]
public bool? IsAutoResolveDependencies { get; set; }
Property Value
Type Description
bool?

Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.

IsAutomaticallyUpdated

Declaration
[JsonProperty(PropertyName = "isAutomaticallyUpdated")]
public bool? IsAutomaticallyUpdated { get; set; }
Property Value
Type Description
bool?

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.

IsCreatedFromPackageList

Declaration
[JsonProperty(PropertyName = "isCreatedFromPackageList")]
public bool? IsCreatedFromPackageList { get; set; }
Property Value
Type Description
bool?

Indicates whether the service should create the software source from a list of packages provided by the user.

IsLatestContentOnly

Declaration
[JsonProperty(PropertyName = "isLatestContentOnly")]
public bool? IsLatestContentOnly { get; set; }
Property Value
Type Description
bool?

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).

Packages

Declaration
[JsonProperty(PropertyName = "packages")]
public List<string> Packages { get; set; }
Property Value
Type Description
List<string>

The packages in the software source.

SoftwareSourceSubType

Declaration
[JsonProperty(PropertyName = "softwareSourceSubType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SoftwareSourceSubType? SoftwareSourceSubType { get; set; }
Property Value
Type Description
SoftwareSourceSubType?

Identifies how the custom software source was created.

TimeMetadataUpdated

Declaration
[JsonProperty(PropertyName = "timeMetadataUpdated")]
public DateTime? TimeMetadataUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the metadata for this software source was last updated (in RFC 3339 format).

VendorSoftwareSources

Declaration
[Required(ErrorMessage = "VendorSoftwareSources is required.")]
[JsonProperty(PropertyName = "vendorSoftwareSources")]
public List<Id> VendorSoftwareSources { get; set; }
Property Value
Type Description
List<Id>

List of vendor software sources that are used for the basis of the custom software source.

Remarks

Required

In this article
Back to top