openapi: 3.1.0 info: title: Solaris Zones Oracle Solaris Kernel Zones Archive Creation System Statistics API description: REST API for creating and managing Oracle Solaris Kernel Zones via the RAD zonemgr module. Kernel Zones (brand solaris-kz) are non-global zones with their own kernel, providing greater independence and enhanced security isolation compared to native zones. They support live migration, independent patching, and hardware-assisted virtualization. version: '1.6' contact: name: Oracle Solaris Support url: https://www.oracle.com/solaris/support/ email: solaris-support@oracle.com license: name: Oracle Technology Network License url: https://www.oracle.com/legal/terms.html servers: - url: https://{host}:{port}/api/com.oracle.solaris.rad.zonemgr/1.6 description: Oracle Solaris RAD REST endpoint variables: host: default: localhost description: Solaris host running RAD port: default: '6788' description: RAD REST API port security: - cookieAuth: [] tags: - name: System Statistics description: System-wide performance statistics paths: /Store/_rad_method/readSystemStats: put: operationId: readSystemStatistics summary: Solaris Zones Read System-wide Statistics description: Read system-wide performance statistics including total CPU, memory, I/O, and network utilization. tags: - System Statistics requestBody: content: application/json: schema: type: object properties: metrics: type: array items: type: string enum: - cpu-utilization - memory-utilization - memory-total - memory-free - swap-utilization - disk-io-bytes - network-bytes-total description: System metrics to retrieve examples: ReadsystemstatisticsRequestExample: summary: Default readSystemStatistics request x-microcks-default: true value: metrics: - cpu-utilization responses: '200': description: System statistics content: application/json: schema: type: object properties: status: type: string payload: type: array items: $ref: '#/components/schemas/SystemStatistic' examples: Readsystemstatistics200Example: summary: Default readSystemStatistics 200 response x-microcks-default: true value: status: example_value payload: - metric: example_value value: 42.5 unit: example_value timestamp: '2026-01-15T10:30:00Z' '401': $ref: '#/components/responses/Unauthorized' x-microcks-operation: delay: 0 dispatcher: FALLBACK /com.oracle.solaris.rad.kstat/2.0: get: operationId: listKstatInterfaces summary: Solaris Zones List All Kernel Statistics Interfaces description: Discover all available kernel statistics interfaces. Provides access to CPU, memory, network, and zone-specific resource utilization data. tags: - System Statistics parameters: - $ref: '#/components/parameters/radDetail' responses: '200': description: Available kstat interfaces content: application/json: schema: type: object properties: status: type: string payload: type: array items: type: object properties: href: type: string type: type: string examples: Listkstatinterfaces200Example: summary: Default listKstatInterfaces 200 response x-microcks-default: true value: status: example_value payload: - href: example_value type: example_value '401': $ref: '#/components/responses/Unauthorized' x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: RadError: type: object properties: status: type: string example: failure payload: type: object properties: code: type: integer message: type: string example: example_value SystemStatistic: type: object properties: metric: type: string description: System metric name example: example_value value: type: number description: Current metric value example: 42.5 unit: type: string description: Unit of measurement example: example_value timestamp: type: string format: date-time example: '2026-01-15T10:30:00Z' responses: Unauthorized: description: Authentication required or session expired content: application/json: schema: $ref: '#/components/schemas/RadError' parameters: radDetail: name: _rad_detail in: query required: false description: Include detailed property information schema: type: boolean securitySchemes: cookieAuth: type: apiKey in: cookie name: _rad_session description: RAD session cookie obtained via authentication externalDocs: description: Oracle Solaris Kernel Zones Documentation url: https://docs.oracle.com/en/operating-systems/solaris/oracle-solaris/11.4/kernel-zones/oracle-solaris-kernel-zones.html