コード例 #1
0
        public void StorageGatewayCreateSnapshotFromVolumeRecoveryPoint()
        {
            #region to-create-a-snapshot-of-a-gateway-volume-1471301469561

            var client   = new AmazonStorageGatewayClient();
            var response = client.CreateSnapshotFromVolumeRecoveryPoint(new CreateSnapshotFromVolumeRecoveryPointRequest
            {
                SnapshotDescription = "My root volume snapshot as of 2017-06-30T10:10:10.000Z",
                VolumeARN           = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
            });

            string snapshotId = response.SnapshotId;
            string volumeARN  = response.VolumeARN;
            string volumeRecoveryPointTime = response.VolumeRecoveryPointTime;

            #endregion
        }