共用方式為


CertificateOperations.CreateCertificateFromCer Method

Definition

Overloads

CreateCertificateFromCer(Byte[])
Obsolete.

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from .cer format data in memory.

CreateCertificateFromCer(String)
Obsolete.

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from a .cer file.

CreateCertificateFromCer(Byte[])

Source:
CertificateOperations.cs

Caution

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

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from .cer format data in memory.

[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

Parameters

data
Byte[]

The certificate data in .cer format.

Returns

A Certificate representing a new certificate that has not been added to the Batch service.

Attributes

Applies to

CreateCertificateFromCer(String)

Source:
CertificateOperations.cs

Caution

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

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from a .cer file.

[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

Parameters

path
String

The path to the .cer file.

Returns

A Certificate representing a new certificate that has not been added to the Batch service.

Attributes

Applies to