Class UpgradeOpenSearchClusterDetails
Minor or major version upgrade of a cluster.
Inherited Members
Namespace: Oci.OpensearchService.Models
Assembly: OCI.DotNetSDK.Opensearch.dll
Syntax
public class UpgradeOpenSearchClusterDetails
Properties
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"}} |
DesiredSoftwareVersion
Declaration
[Required(ErrorMessage = "DesiredSoftwareVersion is required.")]
[JsonProperty(PropertyName = "desiredSoftwareVersion")]
public string DesiredSoftwareVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The software version the cluster is desired. |
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"} |
IsClone
Declaration
[JsonProperty(PropertyName = "isClone")]
public bool? IsClone { get; set; }
Property Value
Type | Description |
---|---|
bool? | The cluster would be cloned for true and updated for false with the provided version. |
OriginalClusterDisplayName
Declaration
[Required(ErrorMessage = "OriginalClusterDisplayName is required.")]
[JsonProperty(PropertyName = "originalClusterDisplayName")]
public string OriginalClusterDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the original cluster. This is required to validate that the cluster ID has the same display name. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
UpgradeType
Declaration
[Required(ErrorMessage = "UpgradeType is required.")]
[JsonProperty(PropertyName = "upgradeType")]
[JsonConverter(typeof(StringEnumConverter))]
public UpgradeType? UpgradeType { get; set; }
Property Value
Type | Description |
---|---|
UpgradeType? | The upgrade type of cluster (major or minor). |
Remarks
Required