你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DevicePublicKeyOperationsExtensions.GetAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.GetDevicePublicKeyResponse> GetAsync (this Microsoft.WindowsAzure.Management.StorSimple.IDevicePublicKeyOperations operations, string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member GetAsync : Microsoft.WindowsAzure.Management.StorSimple.IDevicePublicKeyOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.GetDevicePublicKeyResponse>
<Extension()>
Public Function GetAsync (operations As IDevicePublicKeyOperations, deviceId As String, customRequestHeaders As CustomRequestHeaders) As Task(Of GetDevicePublicKeyResponse)
参数
- operations
- IDevicePublicKeyOperations
对 Microsoft.WindowsAzure.Management.StorSimple.IDevicePublicKeyOperations 的引用。
- deviceId
- String
必需。 需要提取设备公钥的设备 ID
- customRequestHeaders
- CustomRequestHeaders
必需。 客户端必须使用的自定义请求标头。
返回
Device PublicKey 的响应模型。