Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.batch; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue;
Defines values for CertificateProvisioningState.
/** * Defines values for CertificateProvisioningState. */
public enum CertificateProvisioningState {
The certificate is available for use in pools.
/** The certificate is available for use in pools. */
SUCCEEDED("Succeeded"),
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.
/** 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. */
DELETING("Deleting"),
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.
/** 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. */
FAILED("Failed");
The actual serialized value for a CertificateProvisioningState instance.
/** The actual serialized value for a CertificateProvisioningState instance. */
private String value; CertificateProvisioningState(String value) { this.value = value; }
Parses a serialized value to a CertificateProvisioningState instance.
Params:
  • value – the serialized value to parse.
Returns:the parsed CertificateProvisioningState object, or null if unable to parse.
/** * Parses a serialized value to a CertificateProvisioningState instance. * * @param value the serialized value to parse. * @return the parsed CertificateProvisioningState object, or null if unable to parse. */
@JsonCreator public static CertificateProvisioningState fromString(String value) { CertificateProvisioningState[] items = CertificateProvisioningState.values(); for (CertificateProvisioningState item : items) { if (item.toString().equalsIgnoreCase(value)) { return item; } } return null; } @JsonValue @Override public String toString() { return this.value; } }