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

com.azure.resourcemanager.storage.models.EncryptionScopeSource Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show 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.storage.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */
public final class EncryptionScopeSource extends ExpandableStringEnum {
    /** Static value Microsoft.Storage for EncryptionScopeSource. */
    public static final EncryptionScopeSource MICROSOFT_STORAGE = fromString("Microsoft.Storage");

    /** Static value Microsoft.KeyVault for EncryptionScopeSource. */
    public static final EncryptionScopeSource MICROSOFT_KEY_VAULT = fromString("Microsoft.KeyVault");

    /**
     * Creates or finds a EncryptionScopeSource from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding EncryptionScopeSource.
     */
    @JsonCreator
    public static EncryptionScopeSource fromString(String name) {
        return fromString(name, EncryptionScopeSource.class);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy