简体   繁体   English

使用 .net c# sdk 从快照创建 Amazon AMI

[英]Create an Amazon AMI form the Snapshot using .net c# sdk

I can see 2 places from where an image can be created 1. from instance 2. from snapshot我可以看到 2 个可以创建图像的位置 1. 从实例 2. 从快照

Through .net sdk, i can create the image from option 1 but could not find a way to crate an image from the snapshot using sdk.通过 .net sdk,我可以从选项 1 创建图像,但找不到使用 sdk 从快照创建图像的方法。 Do someone have any idea about this?有人对此有任何想法吗?

CreateImageRequest ask mandatory parameter intance id. CreateImageRequest 询问强制参数实例 id。 I just wanted to create image from Snapshot using .net sdk c# as we can do it from AWS console.我只是想使用 .net sdk c# 从快照创建图像,因为我们可以从 AWS 控制台进行操作。

To create an image from a snapshot you need to use the RegisterImage or RegisterImageAsync method.要从快照创建图像,您需要使用RegisterImageRegisterImageAsync方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 C# SDK 创建 Amazon AMI 但仅包含根卷 - Create an Amazon AMI using C# SDK but include only root volume 如何使用Acrobat SDK和C#或VB.NET从文件创建PDF? - How to Create PDF from file using Acrobat SDK with C# or VB.NET? 如何使用.net SDK(C#)创建Azure搜索索引器以从Azure Blob存储中提取数据 - How to create an Azure Search Indexer using .net SDK (c#) to pull data from Azure blob storage 使用Constant Contact C#.net-sdk v2创建/添加 - Using the Constant Contact C# .net-sdk v2 to create/add 如何使用C#.net SDK在数据工厂管道中创建kusto活动 - How to create a kusto activity in data factory pipeline using c# .net sdk 使用.NET c#IPP数据服务SDK创建新的QuickBooks Bill时所需的属性 - Required Properties when using .NET c# IPP Data Service SDK to create new QuickBooks Bill 从C#.Net App使用TFS SDK创建团队项目 - Create a Team Project with TFS SDK from C# .Net App 如何使用C#API在Amazon Mturk上创建新的QualificationType? - How to create new QualificationType on amazon mturk using C# API? 如何创建多个 swagger 模型的 1 个 c# sdk - Amazon SP ZDB974238714CA8DE634A7CE1D083A1 - how to create 1 c# sdk of multiple swagger models - Amazon SP API 使用.With方法的Amazon Web Services .Net SDK - Amazon Web Services .Net SDK using .With methods
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM