Class DatabaseSoftwareImage
Database software images are created by specifying a patch set, one-off patches and patches for the database home (listed by ls inventory
).
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class DatabaseSoftwareImage
Properties
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. |
Remarks
Required
DatabaseSoftwareImageIncludedPatches
Declaration
[JsonProperty(PropertyName = "databaseSoftwareImageIncludedPatches")]
public List<string> DatabaseSoftwareImageIncludedPatches { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of one-off patches for Database Homes. |
DatabaseSoftwareImageOneOffPatches
Declaration
[JsonProperty(PropertyName = "databaseSoftwareImageOneOffPatches")]
public List<string> DatabaseSoftwareImageOneOffPatches { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of one-off patches for Database Homes. |
DatabaseVersion
Declaration
[Required(ErrorMessage = "DatabaseVersion is required.")]
[JsonProperty(PropertyName = "databaseVersion")]
public string DatabaseVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The database version with which the database software image is to be built. |
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. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly name for the database software image. The name does not have to be unique. |
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.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the database software image. |
Remarks
Required
ImageShapeFamily
Declaration
[Required(ErrorMessage = "ImageShapeFamily is required.")]
[JsonProperty(PropertyName = "imageShapeFamily")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseSoftwareImage.ImageShapeFamilyEnum? ImageShapeFamily { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSoftwareImage.ImageShapeFamilyEnum? | To what shape the image is meant for. |
Remarks
Required
ImageType
Declaration
[Required(ErrorMessage = "ImageType is required.")]
[JsonProperty(PropertyName = "imageType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseSoftwareImage.ImageTypeEnum? ImageType { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSoftwareImage.ImageTypeEnum? | The type of software image. Can be grid or database. |
Remarks
Required
IncludedPatchesSummary
Declaration
[JsonProperty(PropertyName = "includedPatchesSummary")]
public string IncludedPatchesSummary { get; set; }
Property Value
Type | Description |
---|---|
string | The patches included in the image and the version of the image. |
IsUpgradeSupported
Declaration
[JsonProperty(PropertyName = "isUpgradeSupported")]
public bool? IsUpgradeSupported { get; set; }
Property Value
Type | Description |
---|---|
bool? | True if this Database software image is supported for Upgrade. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Detailed message for the lifecycle state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseSoftwareImage.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSoftwareImage.LifecycleStateEnum? | The current state of the database software image. |
Remarks
Required
LsInventory
Declaration
[JsonProperty(PropertyName = "lsInventory")]
public string LsInventory { get; set; }
Property Value
Type | Description |
---|---|
string | The output from the OPatch lsInventory command, which is passed as a string. |
PatchSet
Declaration
[Required(ErrorMessage = "PatchSet is required.")]
[JsonProperty(PropertyName = "patchSet")]
public string PatchSet { get; set; }
Property Value
Type | Description |
---|---|
string | The PSU or PBP or Release Updates. To get a list of supported versions, use the {@link #listDbVersions(ListDbVersionsRequest) listDbVersions} operation. |
Remarks
Required
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 database software image was created. |
Remarks
Required