com.azure.resourcemanager.storage.models.AllowedCopyScope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// 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 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.
*/
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