Class BulkApplyResourceAction
The resource action that a recommendation will be applied to.
Inherited Members
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class BulkApplyResourceAction
Properties
Parameters
Declaration
[JsonProperty(PropertyName = "parameters")]
public Dictionary<string, object> Parameters { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | Additional parameter key-value pairs defining the resource action. For Example: {"timeAmount": 15, "timeUnit": "seconds"} |
ResourceActionId
Declaration
[Required(ErrorMessage = "ResourceActionId is required.")]
[JsonProperty(PropertyName = "resourceActionId")]
public string ResourceActionId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique OCIDs of the resource actions that recommendations are applied to. |
Remarks
Required
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public Status? Status { get; set; }
Property Value
Type | Description |
---|---|
Status? | The current status of the recommendation. |
StrategyName
Declaration
[JsonProperty(PropertyName = "strategyName")]
public string StrategyName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the strategy. |
TimeStatusEnd
Declaration
[JsonProperty(PropertyName = "timeStatusEnd")]
public DateTime? TimeStatusEnd { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the current status will change. The format is defined by RFC3339.
|