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

com.azure.resourcemanager.storage.models.StorageAccountEncryptionKeySource 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.

package com.azure.resourcemanager.storage.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/** Azure storage account encryption key sources. */
public class StorageAccountEncryptionKeySource extends ExpandableStringEnum {
    /** Static value Microsoft.Storage for StorageAccountEncryptionKeySource. */
    public static final StorageAccountEncryptionKeySource MICROSOFT_STORAGE = fromString("Microsoft.Storage");
    /** Static value Microsoft.Keyvault for StorageAccountEncryptionKeySource. */
    public static final StorageAccountEncryptionKeySource MICROSOFT_KEYVAULT = fromString("Microsoft.Keyvault");

    /**
     * Creates or finds an encryption status based on its name.
     *
     * @param name a name to look for
     * @return an StorageAccountEncryptionKeySource
     */
    public static StorageAccountEncryptionKeySource fromString(String name) {
        return fromString(name, StorageAccountEncryptionKeySource.class);
    }

    /** @return known storage account encryption sources. */
    public static Collection values() {
        return values(StorageAccountEncryptionKeySource.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy