SoftwareRecipeResponse constructor
- required Input<
List< artifacts,SoftwareRecipeArtifactResponse> > - required Input<
String> desiredState, - required Input<
List< installSteps,SoftwareRecipeStepResponse> > - required Input<
String> name, - required Input<
List< updateSteps,SoftwareRecipeStepResponse> > - required Input<
String> version,
Creates a new SoftwareRecipeResponse.
artifacts Resources available to be used in the steps in the recipe.
desiredState 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. 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.
installSteps 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.
name 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.
updateSteps 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.
version The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
Implementation
const SoftwareRecipeResponse({
required this.artifacts,
required this.desiredState,
required this.installSteps,
required this.name,
required this.updateSteps,
required this.version,
});