com.azure.resourcemanager.keyvault.models.KeyPermissions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-keyvault Show documentation
Show all versions of azure-resourcemanager-keyvault Show documentation
This package contains Microsoft Azure Key Vault Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.keyvault.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for KeyPermissions.
*/
public final class KeyPermissions extends ExpandableStringEnum {
/**
* Static value all for KeyPermissions.
*/
public static final KeyPermissions ALL = fromString("all");
/**
* Static value encrypt for KeyPermissions.
*/
public static final KeyPermissions ENCRYPT = fromString("encrypt");
/**
* Static value decrypt for KeyPermissions.
*/
public static final KeyPermissions DECRYPT = fromString("decrypt");
/**
* Static value wrapKey for KeyPermissions.
*/
public static final KeyPermissions WRAP_KEY = fromString("wrapKey");
/**
* Static value unwrapKey for KeyPermissions.
*/
public static final KeyPermissions UNWRAP_KEY = fromString("unwrapKey");
/**
* Static value sign for KeyPermissions.
*/
public static final KeyPermissions SIGN = fromString("sign");
/**
* Static value verify for KeyPermissions.
*/
public static final KeyPermissions VERIFY = fromString("verify");
/**
* Static value get for KeyPermissions.
*/
public static final KeyPermissions GET = fromString("get");
/**
* Static value list for KeyPermissions.
*/
public static final KeyPermissions LIST = fromString("list");
/**
* Static value create for KeyPermissions.
*/
public static final KeyPermissions CREATE = fromString("create");
/**
* Static value update for KeyPermissions.
*/
public static final KeyPermissions UPDATE = fromString("update");
/**
* Static value import for KeyPermissions.
*/
public static final KeyPermissions IMPORT = fromString("import");
/**
* Static value delete for KeyPermissions.
*/
public static final KeyPermissions DELETE = fromString("delete");
/**
* Static value backup for KeyPermissions.
*/
public static final KeyPermissions BACKUP = fromString("backup");
/**
* Static value restore for KeyPermissions.
*/
public static final KeyPermissions RESTORE = fromString("restore");
/**
* Static value recover for KeyPermissions.
*/
public static final KeyPermissions RECOVER = fromString("recover");
/**
* Static value purge for KeyPermissions.
*/
public static final KeyPermissions PURGE = fromString("purge");
/**
* Static value release for KeyPermissions.
*/
public static final KeyPermissions RELEASE = fromString("release");
/**
* Static value rotate for KeyPermissions.
*/
public static final KeyPermissions ROTATE = fromString("rotate");
/**
* Static value getrotationpolicy for KeyPermissions.
*/
public static final KeyPermissions GETROTATIONPOLICY = fromString("getrotationpolicy");
/**
* Static value setrotationpolicy for KeyPermissions.
*/
public static final KeyPermissions SETROTATIONPOLICY = fromString("setrotationpolicy");
/**
* Creates a new instance of KeyPermissions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public KeyPermissions() {
}
/**
* Creates or finds a KeyPermissions from its string representation.
*
* @param name a name to look for.
* @return the corresponding KeyPermissions.
*/
public static KeyPermissions fromString(String name) {
return fromString(name, KeyPermissions.class);
}
/**
* Gets known KeyPermissions values.
*
* @return known KeyPermissions values.
*/
public static Collection values() {
return values(KeyPermissions.class);
}
}