PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, April 20, 2022

[FIXED] how openstack get deleted server list by compute API or connection API

 April 20, 2022     api, connection, openstack, openstack-nova, server     No comments   

Issue

I want to get some delete server list like openstack server list --delete through the API operation, how can I achieve that, THX.


Solution

You were on the right track but apparently didn't follow through. If you check out https://docs.openstack.org/api-ref/compute/?expanded=list-servers-detailed-detail#list-servers you'll find the servers/detail section where you'll find more details about the options:

deleted (Optional)

Show deleted items only. In some circumstances deleted items will still be accessible via the backend database, however there is no contract on how long, so this parameter should be used with caution. 1, t, true, on, y and yes are treated as True (case-insensitive). Other than them are treated as False.

This parameter is only valid when specified by administrators. If non-admin users specify this parameter, it is ignored.



Answered By - eblock
Answer Checked By - Mildred Charles (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing