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.
Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z
public class DescribeSnapshotScheduleResponse : AmazonWebServiceResponse
The DescribeSnapshotScheduleResponse type exposes the following members
Name | Description | |
---|---|---|
DescribeSnapshotScheduleResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Description | System.String |
Gets and sets the property Description. The snapshot description. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
RecurrenceInHours | System.Int32 |
Gets and sets the property RecurrenceInHours. The number of hours between snapshots. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
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. |
|
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 |
|
Timezone | System.String |
Gets and sets the property Timezone. A value that indicates the time zone of the gateway. |
|
VolumeARN | System.String |
Gets and sets the property VolumeARN. The Amazon Resource Name (ARN) of the volume that was specified in the request. |
Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.
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;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5