你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CertManagerCertificateSpec Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Automatic TLS server certificate management with cert-manager.
public class CertManagerCertificateSpec : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.Models.CertManagerCertificateSpec>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.Models.CertManagerCertificateSpec>
type CertManagerCertificateSpec = class
interface IJsonModel<CertManagerCertificateSpec>
interface IPersistableModel<CertManagerCertificateSpec>
Public Class CertManagerCertificateSpec
Implements IJsonModel(Of CertManagerCertificateSpec), IPersistableModel(Of CertManagerCertificateSpec)
- Inheritance
-
CertManagerCertificateSpec
- Implements
Constructors
CertManagerCertificateSpec(CertManagerIssuerRef) |
Initializes a new instance of CertManagerCertificateSpec. |
Properties
Duration |
Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes. |
IssuerRef |
cert-manager issuerRef. |
PrivateKey |
Type of certificate private key. |
RenewBefore |
When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes. |
San |
Additional Subject Alternative Names (SANs) to include in the certificate. |
SecretName |
Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CertManagerCertificateSpec>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CertManagerCertificateSpec>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CertManagerCertificateSpec>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CertManagerCertificateSpec>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CertManagerCertificateSpec>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |