Freigeben über


PermissionMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.PermissionMode

public enum PermissionMode
extends Enum<PermissionMode>

Enumeration specifying applicability of permission in the Azure Cosmos DB database service.

Fields

ALL

Permission applicable for all operations.

READ

Permission applicable for read operations only.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

getValue()

public int getValue()

Gets the numerical value of the permission mode.

Returns

int
the numerical value.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static PermissionMode valueOf(String name)

Parameters

name
String

Returns

values()

public static PermissionMode[] values()

Returns

Applies to