Certificate Constructors
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.
Overloads
Certificate() |
Initializes a new instance of the Certificate class. |
Certificate(String, String, String, Nullable<CertificateState>, Nullable<DateTime>, Nullable<CertificateState>, Nullable<DateTime>, String, DeleteCertificateError) |
Initializes a new instance of the Certificate class. |
Certificate()
- Source:
- Certificate.cs
Initializes a new instance of the Certificate class.
public Certificate ();
Public Sub New ()
Applies to
Certificate(String, String, String, Nullable<CertificateState>, Nullable<DateTime>, Nullable<CertificateState>, Nullable<DateTime>, String, DeleteCertificateError)
- Source:
- Certificate.cs
Initializes a new instance of the Certificate class.
public Certificate (string thumbprint = default, string thumbprintAlgorithm = default, string url = default, Microsoft.Azure.Batch.Protocol.Models.CertificateState? state = default, DateTime? stateTransitionTime = default, Microsoft.Azure.Batch.Protocol.Models.CertificateState? previousState = default, DateTime? previousStateTransitionTime = default, string publicData = default, Microsoft.Azure.Batch.Protocol.Models.DeleteCertificateError deleteCertificateError = default);
new Microsoft.Azure.Batch.Protocol.Models.Certificate : string * string * string * Nullable<Microsoft.Azure.Batch.Protocol.Models.CertificateState> * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.CertificateState> * Nullable<DateTime> * string * Microsoft.Azure.Batch.Protocol.Models.DeleteCertificateError -> Microsoft.Azure.Batch.Protocol.Models.Certificate
Public Sub New (Optional thumbprint As String = Nothing, Optional thumbprintAlgorithm As String = Nothing, Optional url As String = Nothing, Optional state As Nullable(Of CertificateState) = Nothing, Optional stateTransitionTime As Nullable(Of DateTime) = Nothing, Optional previousState As Nullable(Of CertificateState) = Nothing, Optional previousStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional publicData As String = Nothing, Optional deleteCertificateError As DeleteCertificateError = Nothing)
Parameters
- thumbprint
- String
The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits.
- thumbprintAlgorithm
- String
The algorithm used to derive the thumbprint.
- url
- String
The URL of the Certificate.
- state
- Nullable<CertificateState>
The current state of the Certificate.
- previousState
- Nullable<CertificateState>
The previous state of the Certificate.
The time at which the Certificate entered its previous state.
- publicData
- String
The public part of the Certificate as a base-64 encoded .cer file.
- deleteCertificateError
- DeleteCertificateError
The error that occurred on the last attempt to delete this Certificate.