Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the CertificatePolicy class.
 /// </summary>
 /// <param name="id">The certificate id</param>
 /// <param name="keyProperties">Properties of the key backing a
 /// certificate.</param>
 /// <param name="secretProperties">Properties of the secret backing a
 /// certificate.</param>
 /// <param name="x509CertificateProperties">Properties of the X509
 /// component of a certificate.</param>
 /// <param name="lifetimeActions">Actions that will be performed by
 /// Key Vault over the lifetime of a certificate.</param>
 /// <param name="issuerReference">Reference to the issuer of the X509
 /// component of a certificate.</param>
 /// <param name="attributes">The certificate attributes.</param>
 public CertificatePolicy(string id = default(string), KeyProperties keyProperties = default(KeyProperties), SecretProperties secretProperties = default(SecretProperties), X509CertificateProperties x509CertificateProperties = default(X509CertificateProperties), IList <LifetimeAction> lifetimeActions = default(IList <LifetimeAction>), IssuerReference issuerReference = default(IssuerReference), CertificateAttributes attributes = default(CertificateAttributes))
 {
     Id                        = id;
     KeyProperties             = keyProperties;
     SecretProperties          = secretProperties;
     X509CertificateProperties = x509CertificateProperties;
     LifetimeActions           = lifetimeActions;
     IssuerReference           = issuerReference;
     Attributes                = attributes;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the CertificateOperation class.
 /// </summary>
 /// <param name="id">The certificate id</param>
 /// <param name="issuerReference">Reference to the issuer of the X509
 /// component of a certificate.</param>
 /// <param name="csr">The Certificate Signing Request (CSR) that is
 /// being used in the certificate operation.</param>
 /// <param name="cancellationRequested">Indicates if cancellation was
 /// requested on the certificate operation.</param>
 /// <param name="status">Status of the certificate operation.</param>
 /// <param name="statusDetails">The status details of the certificate
 /// operation.</param>
 /// <param name="error">Error encountered, if any, during the
 /// certificate operation.</param>
 /// <param name="target">Location which contains the result of the
 /// certificate operation.</param>
 /// <param name="requestId">Identifier for the certificate
 /// operation.</param>
 public CertificateOperation(string id = default(string), IssuerReference issuerReference = default(IssuerReference), byte[] csr = default(byte[]), bool?cancellationRequested = default(bool?), string status = default(string), string statusDetails = default(string), Error error = default(Error), string target = default(string), string requestId = default(string))
 {
     Id = id;
     IssuerReference       = issuerReference;
     Csr                   = csr;
     CancellationRequested = cancellationRequested;
     Status                = status;
     StatusDetails         = statusDetails;
     Error                 = error;
     Target                = target;
     RequestId             = requestId;
 }