Udostępnij za pośrednictwem


IWithAzureCertificate<ParentT>.WithAzureCertificateFromFile Method

Definition

Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.

public Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAttachAndAzureCertificate<ParentT> WithAzureCertificateFromFile (string name, System.IO.FileInfo certificateFile);
abstract member WithAzureCertificateFromFile : string * System.IO.FileInfo -> Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAttachAndAzureCertificate<'ParentT>
Public Function WithAzureCertificateFromFile (name As String, certificateFile As FileInfo) As IWithAttachAndAzureCertificate(Of ParentT)

Parameters

name
String

Name of certificate.

certificateFile
FileInfo

Public Base64-encoded certificate file.

Returns

Applies to