Show / Hide Table of Contents

Class CreatePatchDetails

The information about new Patch.

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

Properties

ArtifactDetails

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

Required

CompartmentId

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

OCID of the compartment to which the resource belongs to.

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

DependentPatches

Declaration
[JsonProperty(PropertyName = "dependentPatches")]
public List<DependentPatchDetails> DependentPatches { get; set; }
Property Value
Type Description
List<DependentPatchDetails>

Dependent Patches for this patch.

Description

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

A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

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

Name

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

A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.

Remarks

Required

PatchType

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

Required

Product

Declaration
[Required(ErrorMessage = "Product is required.")]
[JsonProperty(PropertyName = "product")]
public PatchProduct Product { get; set; }
Property Value
Type Description
PatchProduct
Remarks

Required

Severity

Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(StringEnumConverter))]
public PatchSeverity? Severity { get; set; }
Property Value
Type Description
PatchSeverity?

Patch Severity.

Remarks

Required

TimeReleased

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

Date when the patch was released.

Remarks

Required

In this article
Back to top