AllowedCopyScope Class

public final class AllowedCopyScope
extends ExpandableStringEnum<AllowedCopyScope>

Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

Field Summary

Modifier and Type Field and Description
static final AllowedCopyScope AAD

Static value AAD for AllowedCopyScope.

static final AllowedCopyScope PRIVATE_LINK

Static value PrivateLink for AllowedCopyScope.

Constructor Summary

Constructor Description
AllowedCopyScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AllowedCopyScope value.

Method Summary

Modifier and Type Method and Description
static AllowedCopyScope fromString(String name)

Creates or finds a AllowedCopyScope from its string representation.

static Collection<AllowedCopyScope> values()

Gets known AllowedCopyScope values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AAD

public static final AllowedCopyScope AAD

Static value AAD for AllowedCopyScope.

public static final AllowedCopyScope PRIVATE_LINK

Static value PrivateLink for AllowedCopyScope.

Constructor Details

AllowedCopyScope

@Deprecated
public AllowedCopyScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AllowedCopyScope value.

Method Details

fromString

public static AllowedCopyScope fromString(String name)

Creates or finds a AllowedCopyScope from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AllowedCopyScope.

values

public static Collection values()

Gets known AllowedCopyScope values.

Returns:

known AllowedCopyScope values.

Applies to