Enum AccessRights

java.lang.Object
java.lang.Enum<AccessRights>
com.azure.resourcemanager.iothub.models.AccessRights
All Implemented Interfaces:
Serializable, Comparable<AccessRights>, java.lang.constant.Constable

public enum AccessRights extends Enum<AccessRights>
The permissions assigned to the shared access policy.
  • Enum Constant Details

    • REGISTRY_READ

      public static final AccessRights REGISTRY_READ
      Enum value RegistryRead.
    • REGISTRY_WRITE

      public static final AccessRights REGISTRY_WRITE
      Enum value RegistryWrite.
    • SERVICE_CONNECT

      public static final AccessRights SERVICE_CONNECT
      Enum value ServiceConnect.
    • DEVICE_CONNECT

      public static final AccessRights DEVICE_CONNECT
      Enum value DeviceConnect.
    • REGISTRY_READ_REGISTRY_WRITE

      public static final AccessRights REGISTRY_READ_REGISTRY_WRITE
      Enum value RegistryRead, RegistryWrite.
    • REGISTRY_READ_SERVICE_CONNECT

      public static final AccessRights REGISTRY_READ_SERVICE_CONNECT
      Enum value RegistryRead, ServiceConnect.
    • REGISTRY_READ_DEVICE_CONNECT

      public static final AccessRights REGISTRY_READ_DEVICE_CONNECT
      Enum value RegistryRead, DeviceConnect.
    • REGISTRY_WRITE_SERVICE_CONNECT

      public static final AccessRights REGISTRY_WRITE_SERVICE_CONNECT
      Enum value RegistryWrite, ServiceConnect.
    • REGISTRY_WRITE_DEVICE_CONNECT

      public static final AccessRights REGISTRY_WRITE_DEVICE_CONNECT
      Enum value RegistryWrite, DeviceConnect.
    • SERVICE_CONNECT_DEVICE_CONNECT

      public static final AccessRights SERVICE_CONNECT_DEVICE_CONNECT
      Enum value ServiceConnect, DeviceConnect.
    • REGISTRY_READ_REGISTRY_WRITE_SERVICE_CONNECT

      public static final AccessRights REGISTRY_READ_REGISTRY_WRITE_SERVICE_CONNECT
      Enum value RegistryRead, RegistryWrite, ServiceConnect.
    • REGISTRY_READ_REGISTRY_WRITE_DEVICE_CONNECT

      public static final AccessRights REGISTRY_READ_REGISTRY_WRITE_DEVICE_CONNECT
      Enum value RegistryRead, RegistryWrite, DeviceConnect.
    • REGISTRY_READ_SERVICE_CONNECT_DEVICE_CONNECT

      public static final AccessRights REGISTRY_READ_SERVICE_CONNECT_DEVICE_CONNECT
      Enum value RegistryRead, ServiceConnect, DeviceConnect.
    • REGISTRY_WRITE_SERVICE_CONNECT_DEVICE_CONNECT

      public static final AccessRights REGISTRY_WRITE_SERVICE_CONNECT_DEVICE_CONNECT
      Enum value RegistryWrite, ServiceConnect, DeviceConnect.
    • REGISTRY_READ_REGISTRY_WRITE_SERVICE_CONNECT_DEVICE_CONNECT

      public static final AccessRights REGISTRY_READ_REGISTRY_WRITE_SERVICE_CONNECT_DEVICE_CONNECT
      Enum value RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect.
  • Method Details

    • values

      public static AccessRights[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AccessRights valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static AccessRights fromString(String value)
      Parses a serialized value to a AccessRights instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed AccessRights object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AccessRights>