ArmDeviceProvisioningServicesModelFactory.DeviceProvisioningServicesCertificateProperties 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 DeviceProvisioningServicesCertificateProperties.
public static Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateProperties DeviceProvisioningServicesCertificateProperties (string subject = default, DateTimeOffset? expireOn = default, BinaryData thumbprint = default, bool? isVerified = default, BinaryData certificate = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default);
static member DeviceProvisioningServicesCertificateProperties : string * Nullable<DateTimeOffset> * BinaryData * Nullable<bool> * BinaryData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateProperties
Public Shared Function DeviceProvisioningServicesCertificateProperties (Optional subject As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional thumbprint As BinaryData = Nothing, Optional isVerified As Nullable(Of Boolean) = Nothing, Optional certificate As BinaryData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing) As DeviceProvisioningServicesCertificateProperties
Parameters
- subject
- String
The certificate's subject name.
- expireOn
- Nullable<DateTimeOffset>
The certificate's expiration date and time.
- thumbprint
- BinaryData
The certificate's thumbprint.
- certificate
- BinaryData
base-64 representation of X509 certificate .cer file or just .pem file content.
- createdOn
- Nullable<DateTimeOffset>
The certificate's creation date and time.
- updatedOn
- Nullable<DateTimeOffset>
The certificate's last update date and time.
Returns
A new DeviceProvisioningServicesCertificateProperties instance for mocking.
Applies to
Azure SDK for .NET