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.keyvault; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for SecretPermissions.
/** * Defines values for SecretPermissions. */
public final class SecretPermissions extends ExpandableStringEnum<SecretPermissions> {
Static value get for SecretPermissions.
/** Static value get for SecretPermissions. */
public static final SecretPermissions GET = fromString("get");
Static value list for SecretPermissions.
/** Static value list for SecretPermissions. */
public static final SecretPermissions LIST = fromString("list");
Static value set for SecretPermissions.
/** Static value set for SecretPermissions. */
public static final SecretPermissions SET = fromString("set");
Static value delete for SecretPermissions.
/** Static value delete for SecretPermissions. */
public static final SecretPermissions DELETE = fromString("delete");
Static value backup for SecretPermissions.
/** Static value backup for SecretPermissions. */
public static final SecretPermissions BACKUP = fromString("backup");
Static value restore for SecretPermissions.
/** Static value restore for SecretPermissions. */
public static final SecretPermissions RESTORE = fromString("restore");
Static value recover for SecretPermissions.
/** Static value recover for SecretPermissions. */
public static final SecretPermissions RECOVER = fromString("recover");
Static value purge for SecretPermissions.
/** Static value purge for SecretPermissions. */
public static final SecretPermissions PURGE = fromString("purge");
Creates or finds a SecretPermissions from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding SecretPermissions
/** * Creates or finds a SecretPermissions from its string representation. * @param name a name to look for * @return the corresponding SecretPermissions */
@JsonCreator public static SecretPermissions fromString(String name) { return fromString(name, SecretPermissions.class); }
Returns:known SecretPermissions values
/** * @return known SecretPermissions values */
public static Collection<SecretPermissions> values() { return values(SecretPermissions.class); } }