GET /api/compute_resources
Lista wszystkich zasobów obliczeniowych

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Must be a Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Must be a Integer

search
opcjonalny

rezultat filtrowania

Validations:

  • Must be a String

order
opcjonalny

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name Typ Possible values
id
location
location_id
name
organization
organization_id
type

GET /api/compute_resources/:id
Pokaż zasoby obliczeniowe

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


POST /api/compute_resources
Utwórz zasób

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource
wymagany

Validations:

  • Must be a Hash

compute_resource[name]
wymagany

Validations:

  • Must be a String

compute_resource[provider]
opcjonalny , nil dopuszczalny

Dostawców obejmują

Validations:

  • Must be a String

compute_resource[url]
opcjonalny , nil dopuszczalny

URL for Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a String

compute_resource[user]
opcjonalny , nil dopuszczalny

Nazwa użytkownika dla oVirt, EC2, VMware, OpenStack. Klucz dostępu dla EC2.

Validations:

  • Must be a String

compute_resource[password]
opcjonalny , nil dopuszczalny

Hasło dla oVirt, EC2, VMware, OpenStack. Klucz prywatny dla EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcjonalny , nil dopuszczalny

dla oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcjonalny , nil dopuszczalny

for oVirt only

Validations:

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

compute_resource[ovirt_quota]
opcjonalny , nil dopuszczalny

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcjonalny , nil dopuszczalny

for oVirt only

Validations:

  • Must be a String

compute_resource[region]
opcjonalny , nil dopuszczalny

for AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region

Validations:

  • Must be a String

compute_resource[tenant]
opcjonalny , nil dopuszczalny

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcjonalny , nil dopuszczalny

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcjonalny , nil dopuszczalny

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcjonalny , nil dopuszczalny

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcjonalny , nil dopuszczalny

dla VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcjonalny , nil dopuszczalny

Tylko dla VMware lub Libvirt

Validations:

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

compute_resource[display_type]
opcjonalny , nil dopuszczalny

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcjonalny , nil dopuszczalny

for oVirt only

Validations:

  • Must be one of: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr.

compute_resource[caching_enabled]
opcjonalny , nil dopuszczalny

enable caching, for VMware only

Validations:

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

compute_resource[project]
opcjonalny , nil dopuszczalny

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcjonalny , nil dopuszczalny

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcjonalny , nil dopuszczalny

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcjonalny , nil dopuszczalny

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcjonalny , nil dopuszczalny

ZMIEŃ lokalizacje o podanym id

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcjonalny , nil dopuszczalny

ZMIEŃ organizacje o podanym id

Validations:

  • Must be an array of any type


PUT /api/compute_resources/:id
Edytuj zasób

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

  • Must be a String

compute_resource
wymagany

Validations:

  • Must be a Hash

compute_resource[name]
opcjonalny

Validations:

  • Must be a String

compute_resource[provider]
opcjonalny , nil dopuszczalny

Dostawców obejmują

Validations:

  • Must be a String

compute_resource[url]
opcjonalny , nil dopuszczalny

URL for Libvirt, oVirt and OpenStack

Validations:

  • Must be a String

compute_resource[description]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a String

compute_resource[user]
opcjonalny , nil dopuszczalny

Nazwa użytkownika dla oVirt, EC2, VMware, OpenStack. Klucz dostępu dla EC2.

Validations:

  • Must be a String

compute_resource[password]
opcjonalny , nil dopuszczalny

Hasło dla oVirt, EC2, VMware, OpenStack. Klucz prywatny dla EC2

Validations:

  • Must be a String

compute_resource[datacenter]
opcjonalny , nil dopuszczalny

dla oVirt, VMware Datacenter

Validations:

  • Must be a String

compute_resource[use_v4]
opcjonalny , nil dopuszczalny

for oVirt only

Validations:

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

compute_resource[ovirt_quota]
opcjonalny , nil dopuszczalny

for oVirt only, ID or Name of quota to use

Validations:

  • Must be a String

compute_resource[public_key]
opcjonalny , nil dopuszczalny

for oVirt only

Validations:

  • Must be a String

compute_resource[region]
opcjonalny , nil dopuszczalny

for AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region

Validations:

  • Must be a String

compute_resource[tenant]
opcjonalny , nil dopuszczalny

for OpenStack and AzureRm only

Validations:

  • Must be a String

compute_resource[domain]
opcjonalny , nil dopuszczalny

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_name]
opcjonalny , nil dopuszczalny

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[project_domain_id]
opcjonalny , nil dopuszczalny

for OpenStack (v3) only

Validations:

  • Must be a String

compute_resource[server]
opcjonalny , nil dopuszczalny

dla VMware

Validations:

  • Must be a String

compute_resource[set_console_password]
opcjonalny , nil dopuszczalny

Tylko dla VMware lub Libvirt

Validations:

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

compute_resource[display_type]
opcjonalny , nil dopuszczalny

for Libvirt and oVirt only

Validations:

  • Must be one of: VNC, SPICE.

compute_resource[keyboard]
opcjonalny , nil dopuszczalny

for oVirt only

Validations:

  • Must be one of: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr.

compute_resource[caching_enabled]
opcjonalny , nil dopuszczalny

enable caching, for VMware only

Validations:

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

compute_resource[project]
opcjonalny , nil dopuszczalny

Project id for GCE only

Validations:

  • Must be a String

compute_resource[email]
opcjonalny , nil dopuszczalny

Email for GCE only

Validations:

  • Must be a String

compute_resource[key_path]
opcjonalny , nil dopuszczalny

Certificate path for GCE only

Validations:

  • Must be a String

compute_resource[zone]
opcjonalny , nil dopuszczalny

for GCE only

Validations:

  • Must be a String

compute_resource[location_ids]
opcjonalny , nil dopuszczalny

ZMIEŃ lokalizacje o podanym id

Validations:

  • Must be an array of any type

compute_resource[organization_ids]
opcjonalny , nil dopuszczalny

ZMIEŃ organizacje o podanym id

Validations:

  • Must be an array of any type


DELETE /api/compute_resources/:id
Usuń zasób

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_images
Lista dostępnych obrazów dla danego zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_clusters
Lista dostępnych klastrów dla danego zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_flavors
Lista dostępnych wariantów dla danego zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_folders
Lista dostępnych folderów dla danego zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_zones
Lista dostępnych stref dla danego zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_networks
Lista dostępnych sieci dla danego zasobu

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
Lista dostępnych sieci dla klastra zasobów

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

cluster_id
opcjonalny

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools
Lista puli zasobów dla klastra

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

cluster_id
wymagany

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_domains/:storage_domain_id
Lista atrybutów dla danego zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

storage_domain_id
wymagany

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_storage_domains
Lista domen przechowywania dla zasobu obliczeniowego

GET /api/compute_resources/:id/available_storage_domains/:storage_domain
Lista atrybutów dla danego zasobu

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_domains
Lista domen przechowywania dla zasobu obliczeniowego

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

cluster_id
opcjonalny

Validations:

  • Must be a String

storage_domain
opcjonalny

Validations:

  • Must be a String


GET /api/compute_resources/:id/storage_pods/:storage_pod_id
Lista atrybutów dla danego zasobu pod

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

storage_pod_id
wymagany

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_storage_pods
Lista dostępnych pod dla zasobów obliczeniowych

GET /api/compute_resources/:id/available_storage_pods/:storage_pod
Lista atrybutów dla danego zasobu pod

GET /api/compute_resources/:id/available_clusters/:cluster_id/available_storage_pods
Lista dostępnych pod dla zasobów obliczeniowych

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

cluster_id
opcjonalny

Validations:

  • Must be a String

storage_pod
opcjonalny

Validations:

  • Must be a String


GET /api/compute_resources/:id/available_security_groups
Lista dostępnych grup zabezpieczeń dla zasobu

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


PUT /api/compute_resources/:id/associate
Skojarzone maszyny wirtualne z hostami

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


PUT /api/compute_resources/:id/refresh_cache
Refresh Compute Resource Cache

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_virtual_machines
List available virtual machines for a compute resource

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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


GET /api/compute_resources/:id/available_virtual_machines/:vm_id
Show a virtual machine

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

vm_id
wymagany

Validations:

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


PUT /api/compute_resources/:id/available_virtual_machines/:vm_id/power
Power a Virtual Machine

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

vm_id
wymagany

Validations:

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


DELETE /api/compute_resources/:id/available_virtual_machines/:vm_id
Delete a Virtual Machine

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

vm_id
wymagany

Validations:

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