ArchAstro.SDK.Types.AgentUpgradeChange (archastro v0.3.5)

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.SDK.Types.AgentUpgradeChange{
  action: String.t(),
  description: String.t() | ArchAstro.SDK.Unset.t(),
  field_changes:
    [ArchAstro.SDK.Types.AgentUpgradeFieldChange.t()] | ArchAstro.SDK.Unset.t(),
  id: String.t() | ArchAstro.SDK.Unset.t(),
  key: String.t() | ArchAstro.SDK.Unset.t(),
  name: String.t() | ArchAstro.SDK.Unset.t(),
  parent_template_config: ArchAstro.SDK.Types.UpgradeTemplateSummary.t(),
  resource:
    %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(),
  resource_type: String.t(),
  source_template_config:
    ArchAstro.SDK.Types.UpgradeTemplateSummary.t() | ArchAstro.SDK.Unset.t()
}

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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