Show / Hide Table of Contents

Class OneoffPatch

One-off patches are created by specifying a database version, releaseUpdate and one-off patch number.

Inheritance
object
OneoffPatch
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class OneoffPatch

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

DbVersion

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

A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

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

One-off patch name.

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"}

Id

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

The OCID of the one-off patch.

Remarks

Required

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 OneoffPatch.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
OneoffPatch.LifecycleStateEnum?

The current state of the one-off patch.

Remarks

Required

OneOffPatches

Declaration
[JsonProperty(PropertyName = "oneOffPatches")]
public List<string> OneOffPatches { get; set; }
Property Value
Type Description
List<string>

List of one-off patches for Database Homes.

ReleaseUpdate

Declaration
[Required(ErrorMessage = "ReleaseUpdate is required.")]
[JsonProperty(PropertyName = "releaseUpdate")]
public string ReleaseUpdate { 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

Sha256Sum

Declaration
[JsonProperty(PropertyName = "sha256Sum")]
public string Sha256Sum { get; set; }
Property Value
Type Description
string

SHA-256 checksum of the one-off patch.

SizeInKBs

Declaration
[JsonProperty(PropertyName = "sizeInKBs")]
public float? SizeInKBs { get; set; }
Property Value
Type Description
float?

The size of one-off patch in kilobytes.

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time one-off patch was created.

Remarks

Required

TimeOfExpiration

Declaration
[JsonProperty(PropertyName = "timeOfExpiration")]
public DateTime? TimeOfExpiration { get; set; }
Property Value
Type Description
DateTime?

The date and time until which the one-off patch will be available for download.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time one-off patch was updated.

In this article
Back to top