Skip to content

user_cluster_resource_package

Manage user cluster resource packages

Create

Input parameters

ParameterTypeRequiredDetails
environment
Environment
Resource yes
user
User
Resource yes
cluster_resource_package
ClusterResourcePackage
Resource yes
comment
Comment
Text yes

Optional comment

Default: null

Validation rules
RuleDetails
Present

Must be supplied and cannot be null. Must not be empty; strings must contain a non-whitespace character.

Validation error message: must be present and non-empty

from_personal
From personal package
Boolean no

Substract the added resources from the personal package

Default: false

Output parameters

ParameterTypeDescription
id
Id
Integer
environment
Environment
Resource
user
User
Resource
cluster_resource_package
ClusterResourcePackage
Resource
added_by
Added_by
Resource
label
Label
String
is_personal
Is_personal
Boolean
comment
Comment
Text Optional comment
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Delete

Input parameters

No parameters.

Output parameters

No parameters.

Index

Input parameters

ParameterTypeRequiredDetails
from_id
From ID
Integer no

List objects with IDs greater or lower than this value

Default: null

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).

Validation error message: must be at least 0

limit
Limit
Integer no

Number of objects to retrieve

Default: null

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).
  • Maximum: 1000 (inclusive).

Validation error message: must be between 0 and 1000

environment
Environment
Resource no
user
User
Resource no
cluster_resource_package
ClusterResourcePackage
Resource no
added_by
Added_by
Resource no

Output parameters

ParameterTypeDescription
id
Id
Integer
environment
Environment
Resource
user
User
Resource
cluster_resource_package
ClusterResourcePackage
Resource
added_by
Added_by
Resource
label
Label
String
is_personal
Is_personal
Boolean
comment
Comment
Text Optional comment
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Show

Input parameters

No parameters.

Output parameters

ParameterTypeDescription
id
Id
Integer
environment
Environment
Resource
user
User
Resource
cluster_resource_package
ClusterResourcePackage
Resource
added_by
Added_by
Resource
label
Label
String
is_personal
Is_personal
Boolean
comment
Comment
Text Optional comment
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Update

Input parameters

ParameterTypeRequiredDetails
comment
Comment
Text yes

Optional comment

Default: null

Validation rules
RuleDetails
Present

Must be supplied and cannot be null. Must not be empty; strings must contain a non-whitespace character.

Validation error message: must be present and non-empty

Output parameters

ParameterTypeDescription
id
Id
Integer
environment
Environment
Resource
user
User
Resource
cluster_resource_package
ClusterResourcePackage
Resource
added_by
Added_by
Resource
label
Label
String
is_personal
Is_personal
Boolean
comment
Comment
Text Optional comment
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Subresources