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.

This is the response object from the DescribeSnapshotSchedule operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.StorageGateway.Model.DescribeSnapshotScheduleResponse

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

Syntax

C#
public class DescribeSnapshotScheduleResponse : AmazonWebServiceResponse

The DescribeSnapshotScheduleResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Description System.String

Gets and sets the property Description.

The snapshot description.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property RecurrenceInHours System.Int32

Gets and sets the property RecurrenceInHours.

The number of hours between snapshots.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property StartAt System.Int32

Gets and sets the property StartAt.

The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.

Public Property Tags System.Collections.Generic.List<Amazon.StorageGateway.Model.Tag>

Gets and sets the property Tags.

A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource API operation.

Public Property Timezone System.String

Gets and sets the property Timezone.

A value that indicates the time zone of the gateway.

Public Property VolumeARN System.String

Gets and sets the property VolumeARN.

The Amazon Resource Name (ARN) of the volume that was specified in the request.

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