Questo contenuto non è disponibile nella lingua selezionata.

38.4. Method: deleteSnapshots


Description

Deletes all snapshots for a given system based on the date criteria. For example,

  • If the user provides startDate only, all snapshots created either on or after the date provided are removed
  • If user provides startDate and endDate, all snapshots created on or between the dates provided are removed
  • If the user doesn't provide a startDate and endDate, all snapshots associated with the server are removed
Parameters

The following parameters are available for this method:

  • string sessionKey
  • int sid - system ID of system to delete snapshots
  • struct - date details
    • dateTime.iso8601 startDate (optional, unless endDate is provided)
    • dateTime.iso8601 endDate (optional)
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise
Available since: 10.1
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat