GET /api/compute_resources/:compute_resource_id/images
Vypsat všechny obrazy pro výpočetní zdroj

GET /api/operatingsystems/:operatingsystem_id/images
Vypsat všechny obrazy pro operační systém

GET /api/architectures/:architecture_id/images
Vypsat všechny obrazy pro architekturu

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
optional

Identif. výpočetního prostředku

Validations:

  • Must be a String

architecture_id
optional

Identif. architektury

Validations:

  • Must be a String

operatingsystem_id
optional

Identifikátor operačního systému

Validations:

  • Must be a String

search
optional

výsledky filtru

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

Číslo stránky, začíná od jedničky

Validations:

  • Must be a number.

per_page
optional

Počet výsledků na stránku

Validations:

  • Must be a number.

Search fields

Název kolonky Typ Možné hodnoty
architecture
compute_resource
name
operatingsystem
user_data true, false
username

GET /api/compute_resources/:compute_resource_id/images/:id
Zobrazit obraz

GET /api/operatingsystems/:operatingsystem_id/images/:id
Zobrazit obraz

GET /api/architectures/:architecture_id/images/:id
Zobrazit obraz

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
optional

Identif. výpočetního prostředku

Validations:

  • Must be a String

architecture_id
optional

Identif. architektury

Validations:

  • Must be a String

operatingsystem_id
optional

Identifikátor operačního systému

Validations:

  • Must be a String


POST /api/compute_resources/:compute_resource_id/images
Vytvořit obraz

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

image
required

Validations:

  • Must be a Hash

image[name]
required

Validations:

  • Must be a String

image[username]
required

Validations:

  • Must be a String

image[uuid]
required

Template ID in the compute resource

Validations:

  • Must be a String

image[password]
optional , nil allowed

Validations:

  • Must be a String

image[compute_resource_id]
optional , nil allowed

Identif. výpočetního prostředku

Validations:

  • Must be a String

image[architecture_id]
optional , nil allowed

Identif. architektury

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil allowed

Identifikátor operačního systému

Validations:

  • Must be a String

image[user_data]
optional , nil allowed

Whether or not the image supports user data

Validations:

  • Must be one of: true, false, 1, 0.


PUT /api/compute_resources/:compute_resource_id/images/:id
Aktualizovat obraz

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

image
required

Validations:

  • Must be a Hash

image[name]
optional

Validations:

  • Must be a String

image[username]
optional

Validations:

  • Must be a String

image[uuid]
optional

Template ID in the compute resource

Validations:

  • Must be a String

image[password]
optional , nil allowed

Validations:

  • Must be a String

image[compute_resource_id]
optional , nil allowed

Identif. výpočetního prostředku

Validations:

  • Must be a String

image[architecture_id]
optional , nil allowed

Identif. architektury

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil allowed

Identifikátor operačního systému

Validations:

  • Must be a String

image[user_data]
optional , nil allowed

Whether or not the image supports user data

Validations:

  • Must be one of: true, false, 1, 0.


DELETE /api/compute_resources/:compute_resource_id/images/:id
Smazat obraz

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.