Class Strategy
The metadata associated with the strategy. The strategy is the method used to apply the recommendation.
Inherited Members
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