你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevicePublicKeyOperationsExtensions.GetAsync 方法

定义

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 的响应模型。

适用于