Επεξεργασία

Κοινή χρήση μέσω


allowedValue resource type

Namespace: microsoft.graph

Represents a predefined value that is allowed for a custom security attribute definition.

You can define up to 100 allowedValue objects per customSecurityAttributeDefinition. The allowedValue object can't be renamed or deleted, but it can be deactivated by using the Update allowedValue operation. This object is defined as a navigation property on the customSecurityAttributeDefinition resource and its value is returned only on $expand.

Inherits from entity.

Methods

Method Return type Description
List allowedValue collection Get a list of the allowedValue objects and their properties.
Get allowedValue Read the properties and relationships of an allowedValue object.
Create allowedValue Create a new allowedValue object.
Update allowedValue Update the properties of an allowedValue object.

Properties

Property Type Description
id String Identifier for the predefined value. Can be up to 64 characters long and include Unicode characters. Can include spaces, but some special characters aren't allowed. Can't be changed later. Case sensitive. Inherited from entity.
isActive Boolean Indicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any other supported directory objects.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.allowedValue",
  "id": "String (identifier)",
  "isActive": "Boolean"
}