Certificate Class
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.
A certificate that can be installed on compute nodes and can be used to authenticate operations on a node.
public class Certificate : Microsoft.Azure.Batch.IInheritedBehaviors, Microsoft.Azure.Batch.IRefreshable
type Certificate = class
interface IRefreshable
interface IInheritedBehaviors
Public Class Certificate
Implements IInheritedBehaviors, IRefreshable
- Inheritance
-
Certificate
- Implements
Constructors
Certificate() |
Default constructor to support mocking the Certificate class. |
Properties
CertificateFormat |
Gets the format of the certificate data. |
CustomBehaviors |
Gets or sets a list of behaviors that modify or customize requests to the Batch service made via this Certificate. |
Data |
Gets the base64-encoded raw certificate data (contents of the .pfx or .cer file or data from which the Certificate was created). |
DeleteCertificateError |
Gets the error that occurred on the last attempt to delete this certificate. |
Password |
Gets the password to access the certificate private key. |
PreviousState |
Gets the previous state of the certificate. |
PreviousStateTransitionTime |
Gets the time at which the certificate entered its previous state. |
PublicData |
Gets the public part of the certificate as a string containing base-64 encoded .cer format data. |
State |
Gets the current state of the certificate. |
StateTransitionTime |
Gets the time at which the certificate entered its current state. |
Thumbprint |
Gets the thumbprint of the certificate. This is a sequence of up to 40 hex digits. |
ThumbprintAlgorithm |
Gets the algorithm used to derive the thumbprint. |
Url |
Gets the URL of the certificate. |
Methods
CancelDelete(IEnumerable<BatchClientBehavior>) |
Cancels a failed deletion of the certificate. This can be done only when the certificate is in the DeleteFailed state, and restores the certificate to the Active state. |
CancelDeleteAsync(IEnumerable<BatchClientBehavior>, CancellationToken) |
Cancels a failed deletion of the certificate. This can be done only when the certificate is in the DeleteFailed state, and restores the certificate to the Active state. |
Commit(IEnumerable<BatchClientBehavior>) |
Adds the certificate to the Batch account. |
CommitAsync(IEnumerable<BatchClientBehavior>, CancellationToken) |
Adds the certificate to the Batch account. |
Delete(IEnumerable<BatchClientBehavior>) |
Deletes the certificate from the Batch account. |
DeleteAsync(IEnumerable<BatchClientBehavior>, CancellationToken) |
Deletes the certificate from the Batch account. |
Refresh(DetailLevel, IEnumerable<BatchClientBehavior>) |
Refreshes the current Certificate. |
RefreshAsync(DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken) |
Refreshes the current Certificate. |