Class ImportedPackage
An imported/instantiated package within an instance.
Inherited Members
Namespace: Oci.OdaService.Models
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class ImportedPackage
Properties
CurrentPackageId
Declaration
[Required(ErrorMessage = "CurrentPackageId is required.")]
[JsonProperty(PropertyName = "currentPackageId")]
public string CurrentPackageId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the package. |
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>> | Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name of the package (can change across versions). |
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. Example: {"bar-key": "value"} |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Stable name of the package (the same across versions). |
Remarks
Required
OdaInstanceId
Declaration
[Required(ErrorMessage = "OdaInstanceId is required.")]
[JsonProperty(PropertyName = "odaInstanceId")]
public string OdaInstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the host instance. |
Remarks
Required
ParameterValues
Declaration
[Required(ErrorMessage = "ParameterValues is required.")]
[JsonProperty(PropertyName = "parameterValues")]
public Dictionary<string, string> ParameterValues { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | A list of parameter values used to import the package. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ImportedPackage.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
ImportedPackage.StatusEnum? | Status of the imported package. |
Remarks
Required
StatusMessage
Declaration
[Required(ErrorMessage = "StatusMessage is required.")]
[JsonProperty(PropertyName = "statusMessage")]
public string StatusMessage { get; set; }
Property Value
Type | Description |
---|---|
string | Short message explaining the status of this imported package. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | When the imported package was created. A date-time string as described in RFC 3339, section 14.29. |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | When the imported package was last updated. A date-time string as described in RFC 3339, section 14.29. |
Remarks
Required
Version
Declaration
[Required(ErrorMessage = "Version is required.")]
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
string | version of the package. |
Remarks
Required