Exemplo 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="issuerParameters">Parameters for 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>), IssuerParameters issuerParameters = default(IssuerParameters), CertificateAttributes attributes = default(CertificateAttributes))
 {
     Id                        = id;
     KeyProperties             = keyProperties;
     SecretProperties          = secretProperties;
     X509CertificateProperties = x509CertificateProperties;
     LifetimeActions           = lifetimeActions;
     IssuerParameters          = issuerParameters;
     Attributes                = attributes;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the CertificateOperation class.
 /// </summary>
 /// <param name="id">The certificate id.</param>
 /// <param name="issuerParameters">Parameters for 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), IssuerParameters issuerParameters = default(IssuerParameters), 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;
     IssuerParameters = issuerParameters;
     Csr = csr;
     CancellationRequested = cancellationRequested;
     Status        = status;
     StatusDetails = statusDetails;
     Error         = error;
     Target        = target;
     RequestId     = requestId;
     CustomInit();
 }