All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.keyvault.SecretPermissions Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Key Vault Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-keyvault is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
public final class SecretPermissions extends ExpandableStringEnum {
    /** Static value get for SecretPermissions. */
    public static final SecretPermissions GET = fromString("get");

    /** Static value list for SecretPermissions. */
    public static final SecretPermissions LIST = fromString("list");

    /** Static value set for SecretPermissions. */
    public static final SecretPermissions SET = fromString("set");

    /** Static value delete for SecretPermissions. */
    public static final SecretPermissions DELETE = fromString("delete");

    /** Static value backup for SecretPermissions. */
    public static final SecretPermissions BACKUP = fromString("backup");

    /** Static value restore for SecretPermissions. */
    public static final SecretPermissions RESTORE = fromString("restore");

    /** Static value recover for SecretPermissions. */
    public static final SecretPermissions RECOVER = fromString("recover");

    /** Static value purge for SecretPermissions. */
    public static final SecretPermissions PURGE = fromString("purge");

    /**
     * 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);
    }

    /**
     * @return known SecretPermissions values
     */
    public static Collection values() {
        return values(SecretPermissions.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy