コード例 #1
0
 // both cloud and local
 public AutomationCertificate(CertificateJson localJson, Microsoft.Azure.Management.Automation.Models.Certificate cloudCertificate)
     : base(localJson, cloudCertificate.Properties.LastModifiedTime.LocalDateTime)
 {
     this.setThumbprint(localJson.Thumbprint);
     this.setCertPath(localJson.CertPath);
     this.setPassword(localJson.Password);
     this.setExportable(localJson.Exportable);
     this.Encrypted = localJson.Encrypted;
 }
コード例 #2
0
 // both cloud and local
 public AutomationCertificate(CertificateJson localJson, Microsoft.Azure.Management.Automation.Models.Certificate cloudCertificate)
     : base(localJson, cloudCertificate.Properties.LastModifiedTime.LocalDateTime)
 {
     this.setThumbprint(localJson.Thumbprint);
     this.setCertPath(localJson.CertPath);
     this.setPassword(localJson.Password);
     this.setExportable(localJson.Exportable);
     this.Encrypted = localJson.Encrypted;
 }
コード例 #3
0
 // local only - from json
 public AutomationCertificate(CertificateJson localJson)
     : base(localJson, null)
 {
     this.setThumbprint(localJson.Thumbprint);
     this.setCertPath(localJson.CertPath);
     this.setPassword(localJson.Password);
     this.setExportable(localJson.Exportable);
     this.Encrypted = localJson.Encrypted;
 }
コード例 #4
0
 // local only - from json
 public AutomationCertificate(CertificateJson localJson)
     : base(localJson, null)
 {
     this.setThumbprint(localJson.Thumbprint);
     this.setCertPath(localJson.CertPath);
     this.setPassword(localJson.Password);
     this.setExportable(localJson.Exportable);
     this.Encrypted = localJson.Encrypted;
 }