ArchAstro.Types.AgentUpgradeChange (archastro v0.2.0)

Copy Markdown

One child-resource change produced by an agent upgrade, describing the action to be taken on a single resource.

Summary

Types

t()

@type t() :: %ArchAstro.Types.AgentUpgradeChange{
  action: String.t(),
  description: String.t() | ArchAstro.Unset.t(),
  field_changes:
    [ArchAstro.Types.AgentUpgradeFieldChange.t()] | ArchAstro.Unset.t(),
  id: String.t() | ArchAstro.Unset.t(),
  key: String.t() | ArchAstro.Unset.t(),
  name: String.t() | ArchAstro.Unset.t(),
  parent_template_config: ArchAstro.Types.UpgradeTemplateSummary.t(),
  resource: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  resource_type: String.t(),
  source_template_config:
    ArchAstro.Types.UpgradeTemplateSummary.t() | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()