Пример #1
0
        public void StorageGatewayCreateSnapshot()
        {
            #region to-create-a-snapshot-of-a-gateway-volume-1471301469561

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

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

            #endregion
        }