Class SoftwareSource
The object that defines a software source. A software source contains a collection of packages. For more information, see Managing Software Sources.
Inheritance
Inherited Members
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
[JsonConverter(typeof(SoftwareSourceModelConverter))]
public class SoftwareSource
Properties
ArchType
Declaration
[Required(ErrorMessage = "ArchType is required.")]
[JsonProperty(PropertyName = "archType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArchType? ArchType { get; set; }
Property Value
Type | Description |
---|---|
ArchType? | The architecture type supported by the software source. |
Remarks
Required
Availability
Declaration
[Required(ErrorMessage = "Availability is required.")]
[JsonProperty(PropertyName = "availability")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Availability? Availability { get; set; }
Property Value
Type | Description |
---|---|
Availability? | Availability of the software source (for non-OCI environments). |
Remarks
Required
AvailabilityAtOci
Declaration
[Required(ErrorMessage = "AvailabilityAtOci is required.")]
[JsonProperty(PropertyName = "availabilityAtOci")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Availability? AvailabilityAtOci { get; set; }
Property Value
Type | Description |
---|---|
Availability? | Availability of the software source (for OCI environments). |
Remarks
Required
ChecksumType
Declaration
[JsonProperty(PropertyName = "checksumType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ChecksumType? ChecksumType { get; set; }
Property Value
Type | Description |
---|---|
ChecksumType? | The yum repository checksum type used by this software source. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the software source. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | User-specified description for the software source. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | User-friendly name for the software source. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | 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"} |
GpgKeyFingerprint
Declaration
[JsonProperty(PropertyName = "gpgKeyFingerprint")]
public string GpgKeyFingerprint { get; set; }
Property Value
Type | Description |
---|---|
string | Fingerprint of the GPG key for this software source. |
GpgKeyId
Declaration
[JsonProperty(PropertyName = "gpgKeyId")]
public string GpgKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the GPG key for this software source. |
GpgKeyUrl
Declaration
[JsonProperty(PropertyName = "gpgKeyUrl")]
public string GpgKeyUrl { get; set; }
Property Value
Type | Description |
---|---|
string | URL of the GPG key for this software source. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the software source. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SoftwareSource.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SoftwareSource.LifecycleStateEnum? | The current state of the software source. |
OsFamily
Declaration
[Required(ErrorMessage = "OsFamily is required.")]
[JsonProperty(PropertyName = "osFamily")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OsFamily? OsFamily { get; set; }
Property Value
Type | Description |
---|---|
OsFamily? | The OS family the software source belongs to. |
Remarks
Required
PackageCount
Declaration
[JsonProperty(PropertyName = "packageCount")]
public long? PackageCount { get; set; }
Property Value
Type | Description |
---|---|
long? | Number of packages the software source contains. |
RepoId
Declaration
[Required(ErrorMessage = "RepoId is required.")]
[JsonProperty(PropertyName = "repoId")]
public string RepoId { get; set; }
Property Value
Type | Description |
---|---|
string | The repository ID for the software source. |
Remarks
Required
Size
Declaration
[JsonProperty(PropertyName = "size")]
public double Size { get; set; }
Property Value
Type | Description |
---|---|
double | The size of the software source in gigabytes (GB). |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the software source was created (in RFC 3339 format). |
Remarks
Required
Url
Declaration
[Required(ErrorMessage = "Url is required.")]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |