CertificateState Enum

  • java.lang.Object
    • java.lang.Enum<CertificateState>
      • com.microsoft.azure.batch.protocol.models.CertificateState

public enum CertificateState

Defines values for CertificateState.

Fields

ACTIVE

The certificate is available for use in pools.

DELETE_FAILED

The user requested that the certificate be deleted, but there are pools that still have references to the certificate, or it is still installed on one or more compute nodes. (The latter can occur if the certificate has been removed from the pool, but the node has not yet restarted. Nodes refresh their certificates only when they restart.) You may use the cancel certificate delete operation to cancel the delete, or the delete certificate operation to retry the delete.

DELETING

The user has requested that the certificate be deleted, but the delete operation has not yet completed. You may not reference the certificate when creating or updating pools.

Methods

fromString(String value)

public static CertificateState fromString(String value)

Parses a serialized value to a CertificateState instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed CertificateState object, or null if unable to parse.

toString()

public String toString()

Returns

String

Applies to