ArmIotHubModelFactory.IotHubRootCertificateProperties 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.
Initializes a new instance of IotHubRootCertificateProperties.
public static Azure.ResourceManager.IotHub.Models.IotHubRootCertificateProperties IotHubRootCertificateProperties(bool? isRootCertificateV2Enabled = default, DateTimeOffset? lastUpdatedOn = default);
static member IotHubRootCertificateProperties : Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.IotHub.Models.IotHubRootCertificateProperties
Public Shared Function IotHubRootCertificateProperties (Optional isRootCertificateV2Enabled As Nullable(Of Boolean) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As IotHubRootCertificateProperties
Parameters
This property when set to true, hub will use G2 cert; while it's set to false, hub uses Baltimore Cert.
- lastUpdatedOn
- Nullable<DateTimeOffset>
the last update time to root certificate flag.
Returns
A new IotHubRootCertificateProperties instance for mocking.