Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 a site, drive, or mailbox that's protected by a protection policy. All the protection units in a protection policy have the same retention period by default.
This resource is an abstract type.
Inherits from entity.
Methods
Method | Return type | Description |
---|---|---|
Get | protectionUnitBase | Read the properties and relationships of a protectionUnitBase object. |
Offboard | protectionUnitBase | Offboard a protectionUnitBase |
Cancel offboard | protectionUnitBase | Cancel offboard for a protectionUnitBase. |
Properties
Property | Type | Description |
---|---|---|
createdBy | identitySet | The identity of person who created the protection unit. |
createdDateTime | DateTimeOffset | The time of creation of the protection unit. |
error | publicError | Contains error details if an error occurred while creating a protection unit. |
id | String | The unique identifier of the protection unit. Inherited from entity. |
lastModifiedBy | identitySet | The identity of person who last modified the protection unit. |
lastModifiedDateTime | DateTimeOffset | Timestamp of the last modification of this protection unit. |
policyId | String | The unique identifier of the protection policy based on which protection unit was created. |
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 . |
status | protectionUnitStatus | The status of the protection unit. The possible values are: protectRequested , protected , unprotectRequested , unprotected , removeRequested , unknownFutureValue . |
offboardRequestedDateTime | DateTimeOffset | The time when protection unit offboard was requested. |
protectionUnitStatus values
Member | Description |
---|---|
protectRequested | Protection of the unit was requested. |
protected | The protection unit is successfully enabled. |
unprotectRequested | Disabling protection of the unit was requested. |
unprotected | The protection unit is successfully disabled. |
removeRequested | A request to remove the protected unit from the policy was made. |
offboardRequested | A request to offboard the protection unit. |
offboarded | The protection unit is successfully offboarded. |
cancelOffboardRequested | A request to cancel protection unit offboarding. |
unknownFutureValue | Evolvable enumeration sentinel value. Don't use. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.protectionUnitBase",
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"error": {"@odata.type": "microsoft.graph.publicError"},
"id": "String (identifier)",
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"policyId": "String",
"protectionSources": "String",
"status": "String",
"offboardRequestedDateTime": "String (timestamp)",
}