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

DataBoxEdgeDeviceResource.UploadCertificate 方法

定义

上传设备的注册证书。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate
  • 操作IdDevices_UploadCertificate
public virtual Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.UploadCertificateResponse> UploadCertificate (Azure.ResourceManager.DataBoxEdge.Models.UploadCertificateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UploadCertificate : Azure.ResourceManager.DataBoxEdge.Models.UploadCertificateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.UploadCertificateResponse>
override this.UploadCertificate : Azure.ResourceManager.DataBoxEdge.Models.UploadCertificateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.UploadCertificateResponse>
Public Overridable Function UploadCertificate (content As UploadCertificateContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of UploadCertificateResponse)

参数

content
UploadCertificateContent

上传证书请求。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于