AWS SDK Version 3 for .NET
API Reference

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 DescribeSnapshotSchedule operation. Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume. This operation is only supported in the cached volume and stored volume types.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.StorageGateway.AmazonStorageGatewayRequest
      Amazon.StorageGateway.Model.DescribeSnapshotScheduleRequest

Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeSnapshotScheduleRequest : AmazonStorageGatewayRequest
         IAmazonWebServiceRequest

The DescribeSnapshotScheduleRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property VolumeARN System.String

Gets and sets the property VolumeARN.

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

Examples

Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.

To describe snapshot schedule for gateway volume


var client = new AmazonStorageGatewayClient();
var response = client.DescribeSnapshotSchedule(new DescribeSnapshotScheduleRequest 
{
    VolumeARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
});

string description = response.Description;
int recurrenceInHours = response.RecurrenceInHours;
int startAt = response.StartAt;
string timezone = response.Timezone;
string volumeARN = response.VolumeARN;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5