CertManagerCertConfig(String, String, CertManagerPrivateKey) Constructor
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.
Initializes a new instance of CertManagerCertConfig.
public CertManagerCertConfig(string duration, string renewBefore, Azure.ResourceManager.IotOperations.Models.CertManagerPrivateKey privateKey);
new Azure.ResourceManager.IotOperations.Models.CertManagerCertConfig : string * string * Azure.ResourceManager.IotOperations.Models.CertManagerPrivateKey -> Azure.ResourceManager.IotOperations.Models.CertManagerCertConfig
Public Sub New (duration As String, renewBefore As String, privateKey As CertManagerPrivateKey)
Parameters
- duration
- String
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.
- renewBefore
- String
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.
- privateKey
- CertManagerPrivateKey
Configuration of certificate private key.
Exceptions
duration
, renewBefore
or privateKey
is null.