GuestPoliciesRecipeArgs

data class GuestPoliciesRecipeArgs(val artifacts: Output<List<GuestPoliciesRecipeArtifactArgs>>? = null, val desiredState: Output<String>? = null, val installSteps: Output<List<GuestPoliciesRecipeInstallStepArgs>>? = null, val name: Output<String>, val updateSteps: Output<List<GuestPoliciesRecipeUpdateStepArgs>>? = null, val version: Output<String>? = null) : ConvertibleToJava<GuestPoliciesRecipeArgs>

Constructors

Link copied to clipboard
constructor(artifacts: Output<List<GuestPoliciesRecipeArtifactArgs>>? = null, desiredState: Output<String>? = null, installSteps: Output<List<GuestPoliciesRecipeInstallStepArgs>>? = null, name: Output<String>, updateSteps: Output<List<GuestPoliciesRecipeUpdateStepArgs>>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard

Resources available to be used in the steps in the recipe. Structure is documented below.

Link copied to clipboard
val desiredState: Output<String>? = null

Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. INSTALLED_KEEP_UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected. Default value is INSTALLED. Possible values are: INSTALLED, UPDATED, REMOVED.

Link copied to clipboard

Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.

Link copied to clipboard
val name: Output<String>

Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.

Link copied to clipboard

Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back. Structure is documented below.

Link copied to clipboard
val version: Output<String>? = null

The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).

Functions

Link copied to clipboard
open override fun toJava(): GuestPoliciesRecipeArgs