ArmIotOperationsModelFactory.CertManagerCertConfig Method
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.
public static Azure.ResourceManager.IotOperations.Models.CertManagerCertConfig CertManagerCertConfig(string duration = default, string renewBefore = default, Azure.ResourceManager.IotOperations.Models.CertManagerPrivateKey privateKey = default);
static member CertManagerCertConfig : string * string * Azure.ResourceManager.IotOperations.Models.CertManagerPrivateKey -> Azure.ResourceManager.IotOperations.Models.CertManagerCertConfig
Public Shared Function CertManagerCertConfig (Optional duration As String = Nothing, Optional renewBefore As String = Nothing, Optional privateKey As CertManagerPrivateKey = Nothing) As CertManagerCertConfig
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.
Returns
A new CertManagerCertConfig instance for mocking.