ClusterConfig.AddCertificate Method (String, String, String)

Adds a certificate that will be used by the cluster.

Namespace: Microsoft.Hpc.Azure.ClusterConfig
Assembly: Microsoft.Hpc.Azure.ClusterConfig (in Microsoft.Hpc.Azure.ClusterConfig.dll)


Dim instance As ClusterConfig
Dim certName As String
Dim thumbprint As String
Dim expDate As String

instance.AddCertificate(certName, thumbprint, expDate)


Public Sub AddCertificate ( _
    certName As String, _
    thumbprint As String, _
    expDate As String _
public void AddCertificate (
    string certName,
    string thumbprint,
    string expDate
void AddCertificate (
    String^ certName, 
    String^ thumbprint, 
    String^ expDate
public void AddCertificate (
    String certName, 
    String thumbprint, 
    String expDate
public function AddCertificate (
    certName : String, 
    thumbprint : String, 
    expDate : String


  • certName
    The name of the certificate
  • thumbprint
    The thumbprint through which the cluster will look up Azure environment to get the certificate
  • expDate
    The expiration date of the certificate.


Parameter expDate should be in the following format, “yyyy-MM-ddTHH:mm:ss.fffffffzzz” and can be parsed by the DateTime.Parse function.

Platform Note: This method was introduced in the Windows Azure SDK v 1.6 with the Windows Azure HPC Scheduler SDK. It is not supported in previous versions.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows Server 2008 R2, Windows Server 2012

See Also


ClusterConfig Class
ClusterConfig Members
Microsoft.Hpc.Azure.ClusterConfig Namespace

Build Date: