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

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

/**
 * Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.
 */
public final class AllowedCopyScope extends ExpandableStringEnum {
    /**
     * Static value PrivateLink for AllowedCopyScope.
     */
    public static final AllowedCopyScope PRIVATE_LINK = fromString("PrivateLink");

    /**
     * Static value AAD for AllowedCopyScope.
     */
    public static final AllowedCopyScope AAD = fromString("AAD");

    /**
     * Creates a new instance of AllowedCopyScope value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AllowedCopyScope() {
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy