Show / Hide Table of Contents

Class CreateVersionedCustomSoftwareSourceDetails

Provides the information used to create a versioned custom software source.

Inheritance
object
CreateSoftwareSourceDetails
CreateVersionedCustomSoftwareSourceDetails
Inherited Members
CreateSoftwareSourceDetails.CompartmentId
CreateSoftwareSourceDetails.DisplayName
CreateSoftwareSourceDetails.Description
CreateSoftwareSourceDetails.FreeformTags
CreateSoftwareSourceDetails.DefinedTags
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 CreateVersionedCustomSoftwareSourceDetails : CreateSoftwareSourceDetails

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.

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>

A property used for compatibility only. It doesn't provide a complete list of packages. See {@link #addPackagesToSoftwareSourceDetails(AddPackagesToSoftwareSourceDetailsRequest) addPackagesToSoftwareSourceDetails} for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.

SoftwareSourceSubType

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

The creation type of a software source.

SoftwareSourceVersion

Declaration
[Required(ErrorMessage = "SoftwareSourceVersion is required.")]
[JsonProperty(PropertyName = "softwareSourceVersion")]
public string SoftwareSourceVersion { get; set; }
Property Value
Type Description
string

The version to assign to this custom software source.

Remarks

Required

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.

Remarks

Required

In this article
Back to top