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 StoragePermissions.
/**
* Defines values for StoragePermissions.
*/
public final class StoragePermissions extends ExpandableStringEnum<StoragePermissions> {
Static value get for StoragePermissions. /** Static value get for StoragePermissions. */
public static final StoragePermissions GET = fromString("get");
Static value list for StoragePermissions. /** Static value list for StoragePermissions. */
public static final StoragePermissions LIST = fromString("list");
Static value delete for StoragePermissions. /** Static value delete for StoragePermissions. */
public static final StoragePermissions DELETE = fromString("delete");
Static value set for StoragePermissions. /** Static value set for StoragePermissions. */
public static final StoragePermissions SET = fromString("set");
Static value update for StoragePermissions. /** Static value update for StoragePermissions. */
public static final StoragePermissions UPDATE = fromString("update");
Static value regeneratekey for StoragePermissions. /** Static value regeneratekey for StoragePermissions. */
public static final StoragePermissions REGENERATEKEY = fromString("regeneratekey");
Static value recover for StoragePermissions. /** Static value recover for StoragePermissions. */
public static final StoragePermissions RECOVER = fromString("recover");
Static value purge for StoragePermissions. /** Static value purge for StoragePermissions. */
public static final StoragePermissions PURGE = fromString("purge");
Static value backup for StoragePermissions. /** Static value backup for StoragePermissions. */
public static final StoragePermissions BACKUP = fromString("backup");
Static value restore for StoragePermissions. /** Static value restore for StoragePermissions. */
public static final StoragePermissions RESTORE = fromString("restore");
Static value setsas for StoragePermissions. /** Static value setsas for StoragePermissions. */
public static final StoragePermissions SETSAS = fromString("setsas");
Static value listsas for StoragePermissions. /** Static value listsas for StoragePermissions. */
public static final StoragePermissions LISTSAS = fromString("listsas");
Static value getsas for StoragePermissions. /** Static value getsas for StoragePermissions. */
public static final StoragePermissions GETSAS = fromString("getsas");
Static value deletesas for StoragePermissions. /** Static value deletesas for StoragePermissions. */
public static final StoragePermissions DELETESAS = fromString("deletesas");
Creates or finds a StoragePermissions from its string representation.
Params: - name – a name to look for
Returns: the corresponding StoragePermissions
/**
* Creates or finds a StoragePermissions from its string representation.
* @param name a name to look for
* @return the corresponding StoragePermissions
*/
@JsonCreator
public static StoragePermissions fromString(String name) {
return fromString(name, StoragePermissions.class);
}
Returns: known StoragePermissions values
/**
* @return known StoragePermissions values
*/
public static Collection<StoragePermissions> values() {
return values(StoragePermissions.class);
}
}