[][src]Struct k8s_csi::v1_3_0::ListSnapshotsRequest

pub struct ListSnapshotsRequest {
    pub max_entries: i32,
    pub starting_token: String,
    pub source_volume_id: String,
    pub snapshot_id: String,
    pub secrets: BTreeMap<String, String>,
}

List all snapshots on the storage system regardless of how they were created.

Fields

max_entries: i32

If specified (non-zero value), the Plugin MUST NOT return more entries than this number in the response. If the actual number of entries is more than this number, the Plugin MUST set next_token in the response which can be used to get the next page of entries in the subsequent ListSnapshots call. This field is OPTIONAL. If not specified (zero value), it means there is no restriction on the number of entries that can be returned. The value of this field MUST NOT be negative.

starting_token: String

A token to specify where to start paginating. Set this field to next_token returned by a previous ListSnapshots call to get the next page of entries. This field is OPTIONAL. An empty string is equal to an unspecified field value.

source_volume_id: String

Identity information for the source volume. This field is OPTIONAL. It can be used to list snapshots by volume.

snapshot_id: String

Identity information for a specific snapshot. This field is OPTIONAL. It can be used to list only a specific snapshot. ListSnapshots will return with current snapshot information and will not block if the snapshot is being processed after it is cut.

secrets: BTreeMap<String, String>

Secrets required by plugin to complete ListSnapshot request. This field is OPTIONAL. Refer to the Secrets Requirements section on how to use this field.

Trait Implementations

impl Clone for ListSnapshotsRequest[src]

impl Debug for ListSnapshotsRequest[src]

impl Default for ListSnapshotsRequest[src]

impl Message for ListSnapshotsRequest[src]

impl PartialEq<ListSnapshotsRequest> for ListSnapshotsRequest[src]

impl StructuralPartialEq for ListSnapshotsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]