identity_security_defaults_enforcement_policy
Creates, updates, deletes, gets or lists an identity_security_defaults_enforcement_policy resource.
Overview
| Name | identity_security_defaults_enforcement_policy |
| Type | Resource |
| Id | entra_id.policies.identity_security_defaults_enforcement_policy |
Fields
The following fields are returned by SELECT queries:
- get
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
deletedDateTime | string (date-time) | Date and time when this object was deleted. Always null when the object hasn't been deleted. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$) |
description | string | Description for this policy. Required. |
displayName | string | Display name for this policy. Required. |
isEnabled | boolean | If set to true, Microsoft Entra security defaults are enabled for the tenant. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. | ||
update | update | Update the properties of an identitySecurityDefaultsEnforcementPolicy object. | ||
delete | delete | If-Match |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
If-Match | string | ETag |
SELECT examples
- get
Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object.
SELECT
id,
deletedDateTime,
description,
displayName,
isEnabled
FROM entra_id.policies.identity_security_defaults_enforcement_policy
;
UPDATE examples
- update
Update the properties of an identitySecurityDefaultsEnforcementPolicy object.
UPDATE entra_id.policies.identity_security_defaults_enforcement_policy
SET
id = '{{ id }}',
deletedDateTime = '{{ deletedDateTime }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
isEnabled = {{ isEnabled }}
RETURNING
id,
deletedDateTime,
description,
displayName,
isEnabled;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.policies.identity_security_defaults_enforcement_policy
WHERE If-Match = '{{ If-Match }}'
;