ArmIotHubModelFactory.IotHubCertificateProperties Method

Definition

Initializes a new instance of IotHubCertificateProperties.

public static Azure.ResourceManager.IotHub.Models.IotHubCertificateProperties IotHubCertificateProperties (string subject = default, DateTimeOffset? expireOn = default, string thumbprintString = default, bool? isVerified = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, BinaryData certificate = default);
static member IotHubCertificateProperties : string * Nullable<DateTimeOffset> * string * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * BinaryData -> Azure.ResourceManager.IotHub.Models.IotHubCertificateProperties
Public Shared Function IotHubCertificateProperties (Optional subject As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional thumbprintString As String = Nothing, Optional isVerified As Nullable(Of Boolean) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional certificate As BinaryData = Nothing) As IotHubCertificateProperties

Parameters

subject
String

The certificate's subject name.

expireOn
Nullable<DateTimeOffset>

The certificate's expiration date and time.

thumbprintString
String

The certificate's thumbprint.

isVerified
Nullable<Boolean>

Determines whether certificate has been verified.

createdOn
Nullable<DateTimeOffset>

The certificate's create date and time.

updatedOn
Nullable<DateTimeOffset>

The certificate's last update date and time.

certificate
BinaryData

The certificate content.

Returns

A new IotHubCertificateProperties instance for mocking.

Applies to