Get statistics about the current users of an Instance Config

clusters_list_kubernetes_instance_configs_user_statistics(
  instance_config_id,
  order = NULL,
  order_dir = NULL
)

Arguments

instance_config_id

integer required. The ID of this instance config.

order

string optional. The field on which to order the result set. Defaults to running_deployments. Must be one of pending_memory_requested, pending_cpu_requested, running_memory_requested, running_cpu_requested, pending_deployments, running_deployments.

order_dir

string optional. Direction in which to sort, either asc (ascending) or desc (descending). Defaults to desc.

Value

An array containing the following fields:

userId

string, The owning user's ID

userName

string, The owning user's name

pendingDeployments

integer, The number of deployments belonging to the owning user in "pending" state

pendingMemoryRequested

integer, The sum of memory requests (in MB) for deployments belonging to the owning user in "pending" state

pendingCpuRequested

integer, The sum of CPU requests (in millicores) for deployments belonging to the owning user in "pending" state

runningDeployments

integer, The number of deployments belonging to the owning user in "running" state

runningMemoryRequested

integer, The sum of memory requests (in MB) for deployments belonging to the owning user in "running" state

runningCpuRequested

integer, The sum of CPU requests (in millicores) for deployments belonging to the owning user in "running" state