truenas.set_production ====================== Sets system production state and optionally sends initial debug. This method is a job. .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: production

production

Type: boolean

Whether to configure the system for production use.

Parameter 2: attach_debug

attach_debug

Type: boolean Default: false

Whether to attach debug information when transitioning to production mode.


Support ticket details if system was newly marked as production. null otherwise.

SupportNewTicket

Type: object
No Additional Properties

Ticket


Ticket number if successfully created. null if creation failed.

Type: integer
Type: null

Url


URL to view the created ticket. null if not available.

Type: string
Type: null

Has Debug

Type: boolean

Whether debug information was attached to the ticket.

Type: null


*Required roles:* FULL_ADMIN