Partager via


PointToSiteConfigurationImpl.IWithAzureCertificate<IUpdate>.WithAzureCertificateFromFile Méthode

Définition

Spécifie que le type d’authentification par certificat Azure sera utilisé et le certificat à utiliser pour l’authentification Azure.

Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAttachAndAzureCertificate<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Update.IUpdate> IWithAzureCertificate<IUpdate>.WithAzureCertificateFromFile (string name, System.IO.FileInfo certificateFile);
abstract member Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAzureCertificate<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Update.IUpdate>.WithAzureCertificateFromFile : string * System.IO.FileInfo -> Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAttachAndAzureCertificate<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Update.IUpdate>
override this.Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAzureCertificate<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Update.IUpdate>.WithAzureCertificateFromFile : string * System.IO.FileInfo -> Microsoft.Azure.Management.Network.Fluent.PointToSiteConfiguration.Definition.IWithAttachAndAzureCertificate<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Update.IUpdate>
Function WithAzureCertificateFromFile (name As String, certificateFile As FileInfo) As IWithAttachAndAzureCertificate(Of IUpdate) Implements IWithAzureCertificate(Of IUpdate).WithAzureCertificateFromFile

Paramètres

name
String

Nom du certificat.

certificateFile
FileInfo

Fichier de certificat public encodé en Base64.

Retours

Implémente

S’applique à