/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the lightsail-2016-11-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Lightsail.Model
{
///
/// Contains information about the status of Lightsail's managed renewal for the certificate.
///
///
///
/// The renewal status of the certificate.
///
///
///
/// The following renewal status are possible:
///
/// -
///
///
PendingAutoRenewal
- Lightsail is attempting to automatically
/// validate the domain names in the certificate. No further action is required.
///
/// -
///
///
PendingValidation
- Lightsail couldn't automatically validate
/// one or more domain names in the certificate. You must take action to validate these
/// domain names or the certificate won't be renewed. If you used DNS validation, check
/// to make sure your certificate's domain validation records exist in your domain's DNS,
/// and that your certificate remains in use.
///
/// -
///
///
Success
- All domain names in the certificate are validated,
/// and Lightsail renewed the certificate. No further action is required.
///
/// -
///
///
Failed
- One or more domain names were not validated before
/// the certificate expired, and Lightsail did not renew the certificate. You can request
/// a new certificate using the CreateCertificate
action.
///
///
///
public partial class LoadBalancerTlsCertificateRenewalSummary
{
private List _domainValidationOptions = new List();
private LoadBalancerTlsCertificateRenewalStatus _renewalStatus;
///
/// Gets and sets the property DomainValidationOptions.
///
/// Contains information about the validation of each domain name in the certificate,
/// as it pertains to Lightsail's managed renewal. This is different from the initial
/// validation that occurs as a result of the RequestCertificate request.
///
///
public List DomainValidationOptions
{
get { return this._domainValidationOptions; }
set { this._domainValidationOptions = value; }
}
// Check to see if DomainValidationOptions property is set
internal bool IsSetDomainValidationOptions()
{
return this._domainValidationOptions != null && this._domainValidationOptions.Count > 0;
}
///
/// Gets and sets the property RenewalStatus.
///
/// The renewal status of the certificate.
///
///
///
/// The following renewal status are possible:
///
/// -
///
///
PendingAutoRenewal
- Lightsail is attempting to automatically
/// validate the domain names of the certificate. No further action is required.
///
/// -
///
///
PendingValidation
- Lightsail couldn't automatically validate
/// one or more domain names of the certificate. You must take action to validate these
/// domain names or the certificate won't be renewed. Check to make sure your certificate's
/// domain validation records exist in your domain's DNS, and that your certificate remains
/// in use.
///
/// -
///
///
Success
- All domain names in the certificate are validated,
/// and Lightsail renewed the certificate. No further action is required.
///
/// -
///
///
Failed
- One or more domain names were not validated before
/// the certificate expired, and Lightsail did not renew the certificate. You can request
/// a new certificate using the CreateCertificate
action.
///
///
///
public LoadBalancerTlsCertificateRenewalStatus RenewalStatus
{
get { return this._renewalStatus; }
set { this._renewalStatus = value; }
}
// Check to see if RenewalStatus property is set
internal bool IsSetRenewalStatus()
{
return this._renewalStatus != null;
}
}
}