sfctl rpm

Query and send commands to the repair manager service.

Commands

Command Description
approve-force Forces the approval of the given repair task.
delete Deletes a completed repair task.
list Gets a list of repair tasks matching the given filters.

sfctl rpm approve-force

Forces the approval of the given repair task.

This API supports the Service Fabric platform; it isn't meant to be used directly from your code.

Arguments

Argument Description
--task-id [Required] The ID of the repair task.
--version The current version number of the repair task. If nonzero, the request only succeeds if this value matches the actual current version of the repair task. If zero, no version check is performed.

Global Arguments

Argument Description
--debug Increase logging verbosity to show all debug logs.
--help -h Show this help message and exit.
--output -o Output format. Allowed values: json, jsonc, table, tsv. Default: json.
--query JMESPath query string. For more information and examples, see https://jmespath.org/.
--verbose Increase logging verbosity. Use --debug for full debug logs.

sfctl rpm delete

Deletes a completed repair task.

This API supports the Service Fabric platform; it isn't meant to be used directly from your code.

Arguments

Argument Description
--task-id [Required] The ID of the completed repair task to be deleted.
--version The current version number of the repair task. If nonzero, the request only succeeds if this value matches the actual current version of the repair task. If zero, no version check is performed.

Global Arguments

Argument Description
--debug Increase logging verbosity to show all debug logs.
--help -h Show this help message and exit.
--output -o Output format. Allowed values: json, jsonc, table, tsv. Default: json.
--query JMESPath query string. For more information and examples, see https://jmespath.org/.
--verbose Increase logging verbosity. Use --debug for full debug logs.

sfctl rpm list

Gets a list of repair tasks matching the given filters.

This API supports the Service Fabric platform; it isn't meant to be used directly from your code.

Arguments

Argument Description
--executor-filter The name of the repair executor whose claimed tasks should be included in the list.
--state-filter A bitwise-OR of the following values, specifying which task states should be included in the result list.
  • 1 - Created
  • 2 - Claimed
  • 4 - Preparing
  • 8 - Approved
  • 16 - Executing
  • 32 - Restoring
  • 64 - Completed
--task-id-filter The repair task ID prefix to be matched.

Global Arguments

Argument Description
--debug Increase logging verbosity to show all debug logs.
--help -h Show this help message and exit.
--output -o Output format. Allowed values: json, jsonc, table, tsv. Default: json.
--query JMESPath query string. For more information and examples, see https://jmespath.org/.
--verbose Increase logging verbosity. Use --debug for full debug logs.

Next steps

  • Setup the Service Fabric CLI.
  • Learn how to use the Service Fabric CLI using the sample scripts.