mailboxProtectionUnit resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents an Exchange mailbox that has an Exchange protection policy applied.
Inherits from protectionUnitBase.
Methods
Method | Return type | Description |
---|---|---|
List | mailboxProtectionUnit collection | Get a list of the mailboxProtectionUnit objects and their properties. |
Properties
Property | Type | Description |
---|---|---|
createdBy | identitySet | The identity of person who created the protection unit. Inherited from protectionUnitBase. |
createdDateTime | DateTimeOffset | The time of creation of the protection unit. Inherited from protectionUnitBase. |
directoryObjectId | String | The ID of the directory object. |
displayName | String | Display name of the directory object. |
String | Email address associated with the directory object. | |
error | publicError | Contains error details if enabling or disabling the protection unit fails. Inherited from protectionUnitBase. |
id | String | Unique identifier of the protection policy associated with this protection unit. |
lastModifiedBy | identitySet | The identity of person who last modified the protection unit. Inherited from protectionUnitBase. |
lastModifiedDateTime | DateTimeOffset | The time the protection unit was last modified. Inherited from protectionUnitBase. |
mailboxType | mailboxType | The type of mailbox which is assigned to the user with id: directoryObjectId .The possible values are: unknown , user , shared , unknownFutureValue . |
policyId | String | Unique identifier of the protection policy associated with this protection unit. Inherited from protectionUnitBase. |
protectionSources | protectionSource | Indicates the sources by which a protection unit is currently protected. A protection unit protected by multiple sources is indicated by comma-separated values. The possible values are: none , manual , dynamicRule , unknownFutureValue . Inherited from protectionUnitBase. |
status | protectionUnitStatus | The individual enable, disable, or removal status of the protection unit. Inherited from protectionUnitBase.The possible values are: protectRequested , protected , unprotectRequested , unprotected , removeRequested , unknownFutureValue . |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.mailboxProtectionUnit",
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"directoryObjectId": "String",
"displayName": "String",
"email": "String",
"error": {"@odata.type": "microsoft.graph.publicError"},
"id": "String (identifier)",
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"mailboxType": "String",
"policyId": "String",
"protectionSources": "String",
"status": "String"
}