AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ListSnapshotBlocks operation.
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
You should always retry requests that receive server (5xx
) error responses,
and ThrottlingException
and RequestThrottledException
client error responses.
For more information see Error
retries in the Amazon Elastic Compute Cloud User Guide.
Namespace: Amazon.EBS.Model
Assembly: AWSSDK.EBS.dll
Version: 3.x.y.z
public class ListSnapshotBlocksRequest : AmazonEBSRequest IAmazonWebServiceRequest
The ListSnapshotBlocksRequest type exposes the following members
Name | Description | |
---|---|---|
ListSnapshotBlocksRequest() |
Name | Type | Description | |
---|---|---|---|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of blocks to be returned by the request. Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the
returned NextToken value. The value of NextToken is |
|
NextToken | System.String |
Gets and sets the property NextToken. The token to request the next page of results. If you specify NextToken, then StartingBlockIndex is ignored. |
|
SnapshotId | System.String |
Gets and sets the property SnapshotId. The ID of the snapshot from which to get block indexes and block tokens. |
|
StartingBlockIndex | System.Int32 |
Gets and sets the property StartingBlockIndex. The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot. If you specify NextToken, then StartingBlockIndex is ignored. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5