Show / Hide Table of Contents

Class Strategy

The metadata associated with the strategy. The strategy is the method used to apply the recommendation.

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

Properties

IsDefault

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

Whether this is the default recommendation strategy.

Remarks

Required

ParametersDefinition

Declaration
[JsonProperty(PropertyName = "parametersDefinition")]
public List<StrategyParameter> ParametersDefinition { get; set; }
Property Value
Type Description
List<StrategyParameter>

The list of strategies for the parameters.

StrategyName

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

The name of the strategy.

Remarks

Required

In this article
Back to top