Skip to main content

diagrid component resiliency set

Set a component's resiliency policy

Description

Set a component's resiliency policy

diagrid component resiliency set <component> [flags]

Examples


# Sets a retry resiliency policy for "my-component" for both inbound and/or outbound directions
diagrid component resiliency set my-component --retry=true --direction=inbound,outbound

# Removes the retry resiliency policy for "my-component" only for outbound direction
diagrid component resiliency set my-component --retry=false --direction=outbound

Options

      --direction strings   [Required]: Direction of the component resiliency (inbound, outbound)
-p, --project string Name of existing project
--retry Toggle App ID retry policy
--timeout Toggle App ID timeout policy
--circuit-breaker Toggle App ID circuit breaker policy
-w, --wait Wait for long-running resource update to finish
-o, --output string Output format, supported [table, yaml, json] (default "table")
-h, --help help for set

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO