Condividi tramite


RestrictionLevel Class

public final class RestrictionLevel
extends ExpandableStringEnum<RestrictionLevel>

The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'.

Field Summary

Modifier and Type Field and Description
static final RestrictionLevel READ_ONLY

Only \*\/read RBAC permissions allowed on the managed node resource group.

static final RestrictionLevel UNRESTRICTED

All RBAC permissions are allowed on the managed node resource group.

Constructor Summary

Constructor Description
RestrictionLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RestrictionLevel value.

Method Summary

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

Creates or finds a RestrictionLevel from its string representation.

static Collection<RestrictionLevel> values()

Gets known RestrictionLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

READ_ONLY

public static final RestrictionLevel READ_ONLY

Only \*\/read RBAC permissions allowed on the managed node resource group.

UNRESTRICTED

public static final RestrictionLevel UNRESTRICTED

All RBAC permissions are allowed on the managed node resource group.

Constructor Details

RestrictionLevel

@Deprecated
public RestrictionLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RestrictionLevel value.

Method Details

fromString

public static RestrictionLevel fromString(String name)

Creates or finds a RestrictionLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RestrictionLevel.

values

public static Collection<RestrictionLevel> values()

Gets known RestrictionLevel values.

Returns:

known RestrictionLevel values.

Applies to