Class SoftwareSource
A software source contains a collection of packages
Inherited Members
Namespace: Oci.OsmanagementService.Models
Assembly: OCI.DotNetSDK.Osmanagement.dll
Syntax
public class SoftwareSource
Properties
ArchType
Declaration
[JsonProperty(PropertyName = "archType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArchTypes? ArchType { get; set; }
Property Value
Type | Description |
---|---|
ArchTypes? | The architecture type supported by the Software Source |
AssociatedManagedInstances
Declaration
[JsonProperty(PropertyName = "associatedManagedInstances")]
public List<Id> AssociatedManagedInstances { get; set; }
Property Value
Type | Description |
---|---|
List<Id> | list of the Managed Instances associated with this Software Sources |
ChecksumType
Declaration
[JsonProperty(PropertyName = "checksumType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ChecksumTypes? ChecksumType { get; set; }
Property Value
Type | Description |
---|---|
ChecksumTypes? | 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 | OCID for the Compartment |
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. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Information specified by the user about 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> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
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 | OCID for the Software Source |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStates? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleStates? | The current state of the Software Source. |
MaintainerEmail
Declaration
[JsonProperty(PropertyName = "maintainerEmail")]
public string MaintainerEmail { get; set; }
Property Value
Type | Description |
---|---|
string | Email address of the person maintaining this software source |
MaintainerName
Declaration
[JsonProperty(PropertyName = "maintainerName")]
public string MaintainerName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the person maintaining this software source |
MaintainerPhone
Declaration
[JsonProperty(PropertyName = "maintainerPhone")]
public string MaintainerPhone { get; set; }
Property Value
Type | Description |
---|---|
string | Phone number of the person maintaining this software source |
Packages
Declaration
[JsonProperty(PropertyName = "packages")]
public int? Packages { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of packages |
ParentId
Declaration
[JsonProperty(PropertyName = "parentId")]
public string ParentId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID for the parent software source, if there is one |
ParentName
Declaration
[JsonProperty(PropertyName = "parentName")]
public string ParentName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name the parent software source, if there is one |
RepoType
Declaration
[Required(ErrorMessage = "RepoType is required.")]
[JsonProperty(PropertyName = "repoType")]
public string RepoType { get; set; }
Property Value
Type | Description |
---|---|
string | Type of the Software Source |
Remarks
Required
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SoftwareSource.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
SoftwareSource.StatusEnum? | status of the software source. |
Url
Declaration
[Required(ErrorMessage = "Url is required.")]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string | URL for the repostiory |
Remarks
Required