Show / Hide Table of Contents

Class BulkApplyResourceAction

The resource action that a recommendation will be applied to.

Inheritance
object
BulkApplyResourceAction
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 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.
For example, "The current postponed status of the resource action will end and change to pending on this date and time."

In this article
Back to top