private IHDInsightCertificateCredential Create(IHDInsightCertificateCredential credentials)
 {
     credentials.ArgumentNotNull("credentials");
     return(new HDInsightCertificateCredential()
     {
         Certificate = credentials.Certificate,
         DeploymentNamespace = credentials.DeploymentNamespace,
         Endpoint = credentials.Endpoint,
         SubscriptionId = credentials.SubscriptionId
     });
 }
 private IHDInsightCertificateCredential Create(IHDInsightCertificateCredential credentials)
 {
     credentials.ArgumentNotNull("credentials");
     return new HDInsightCertificateCredential()
     {
         Certificate = credentials.Certificate,
         DeploymentNamespace = credentials.DeploymentNamespace,
         Endpoint = credentials.Endpoint,
         SubscriptionId = credentials.SubscriptionId
     };
 }