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

CertificateOperations.CreateCertificateFromCer 方法

定义

重载

CreateCertificateFromCer(Byte[])
已过时.

警告:此操作已弃用,将在 2024 年 2 月之后删除。 请改用 Azure KeyVault 扩展Certificate从内存中的 .cer 格式数据创建新的 。

CreateCertificateFromCer(String)
已过时.

警告:此操作已弃用,将在 2024 年 2 月之后删除。 请改用 Azure KeyVault 扩展 。 从 .cer 文件创建新的 Certificate

CreateCertificateFromCer(Byte[])

Source:
CertificateOperations.cs

注意

This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

警告:此操作已弃用,将在 2024 年 2 月之后删除。 请改用 Azure KeyVault 扩展Certificate从内存中的 .cer 格式数据创建新的 。

[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public Microsoft.Azure.Batch.Certificate CreateCertificateFromCer (byte[] data);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.CreateCertificateFromCer : byte[] -> Microsoft.Azure.Batch.Certificate
Public Function CreateCertificateFromCer (data As Byte()) As Certificate

参数

data
Byte[]

.cer 格式的证书数据。

返回

Certificate 个 ,表示尚未添加到 Batch 服务的新证书。

属性

适用于

CreateCertificateFromCer(String)

Source:
CertificateOperations.cs

注意

This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

警告:此操作已弃用,将在 2024 年 2 月之后删除。 请改用 Azure KeyVault 扩展 。 从 .cer 文件创建新的 Certificate

[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public Microsoft.Azure.Batch.Certificate CreateCertificateFromCer (string path);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.CreateCertificateFromCer : string -> Microsoft.Azure.Batch.Certificate
Public Function CreateCertificateFromCer (path As String) As Certificate

参数

path
String

.cer 文件的路径。

返回

Certificate 个 ,表示尚未添加到 Batch 服务的新证书。

属性

适用于