Server
Package : spaceone.api.inventory.v1
Server
Server Methods:
Method | Request | Response |
---|---|---|
create
POST /inventory/v1/servers
Type | Message |
---|---|
Request | |
Response |
update
PUT /inventory/v1/server/{server_id}
Type | Message |
---|---|
Request | |
Response |
pin_data
PUT /inventory/v1/server/{server_id}/pin-data
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /inventory/v1/server/{server_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /inventory/v1/server/{server_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /inventory/v1/servers
POST /inventory/v1/servers/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /inventory/v1/servers/stat
Type | Message |
---|---|
Request | |
Response |
Message
CreateServerRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✘ | |
primary_ip_address | string | ✘ | |
os_type |
| ✔ | |
account | string | ✘ | |
instance_type | string | ✘ | |
launched_at | string | ✘ | |
provider | string | ✘ | |
cloud_service_group | string | ✘ | |
cloud_service_type | string | ✘ | |
region_code | string | ✘ | |
data | ✘ | ||
metadata | ✘ | ||
nics | ✘ | ||
disks | ✘ | ||
reference | ✘ | ||
tags | ✘ | ||
project_id | string | ✘ | |
domain_id | string | ✔ |
GetServerRequest
Field | Type | Required | Description |
---|---|---|---|
server_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
PinServerDataRequest
Field | Type | Required | Description |
---|---|---|---|
server_id | string | ✔ | |
keys | list of string | ✔ | |
domain_id | string | ✔ |
ServerDisk
Field | Type | Required | Description |
---|---|---|---|
device_index | ✔ | ||
device | string | ✘ | |
disk_type | string | ✘ | |
size | float | ✘ | |
tags | ✘ |
ServerInfo
Field | Type | Description |
---|---|---|
server_id | string | |
name | string | |
state | string | |
primary_ip_address | string | |
ip_addresses | list of string | |
os_type |
| |
account | string | |
instance_type | string | |
provider | string | |
cloud_service_group | string | |
cloud_service_type | string | |
region_code | string | |
data | ||
metadata | ||
nics | ||
disks | ||
reference | ||
tags | ||
collection_info | ||
project_id | string | |
domain_id | string | |
created_at | string | |
updated_at | string | |
deleted_at | string | |
launched_at | string |
ServerNIC
Field | Type | Required | Description |
---|---|---|---|
device_index | ✔ | ||
device | string | ✘ | |
nic_type | string | ✘ | |
ip_addresses | list of string | ✔ | |
cidr | string | ✘ | |
mac_address | string | ✘ | |
public_ip_address | string | ✘ | |
tags | ✘ |
ServerQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
server_id | string | ✘ | |
name | string | ✘ | |
state | string | ✘ | |
primary_ip_address | string | ✘ | |
ip_addresses | string | ✘ | |
os_type |
| ✘ | |
account | string | ✘ | |
instance_type | string | ✘ | |
provider | string | ✘ | |
cloud_service_group | string | ✘ | |
cloud_service_type | string | ✘ | |
region_code | string | ✘ | |
resource_group_id | string | ✘ | |
project_id | string | ✘ | |
project_group_id | string | ✘ | |
domain_id | string | ✔ |
ServerReference
Field | Type | Description |
---|---|---|
resource_id | string | |
external_link | string |
ServerRequest
Field | Type | Required | Description |
---|---|---|---|
server_id | string | ✔ | |
domain_id | string | ✔ |
ServerStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ | |
resource_group_id | string | ✘ |
ServersInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
UpdateServerRequest
Field | Type | Required | Description |
---|---|---|---|
server_id | string | ✔ | |
name | string | ✘ | |
primary_ip_address | string | ✘ | |
os_type |
| ✘ | |
account | string | ✘ | |
instance_type | string | ✘ | |
launched_at | string | ✘ | |
provider | string | ✘ | |
cloud_service_group | string | ✘ | |
cloud_service_type | string | ✘ | |
region_code | string | ✘ | |
data | ✘ | ||
metadata | ✘ | ||
nics | ✘ | ||
disks | ✘ | ||
reference | ✘ | ||
tags | ✘ | ||
project_id | string | ✘ | |
domain_id | string | ✔ | |
release_region | bool | ✘ | |
release_project | bool | ✘ |
Last updated