salt-sdk - v0.0.45
    Preparing search index...

    Type Alias PolicyBatchOperation

    PolicyBatchOperation:
        | { action: "create"; policy: PolicyContent }
        | { action: "update"; params: PolicyParams; policy: Policy }
        | { action: "delete"; policy: Policy }

    One act a batch performs, as the caller asks for it.

    Type Declaration

    • { action: "create"; policy: PolicyContent }
    • { action: "update"; params: PolicyParams; policy: Policy }
      • action: "update"
      • params: PolicyParams

        The params being sent, merged over the ones it holds.

      • policy: Policy

        The policy as the API holds it.

    • { action: "delete"; policy: Policy }
      • action: "delete"
      • policy: Policy

        The policy as the API holds it.