permissions_add
Creates, updates, deletes, gets or lists a permissions_add
resource.
Overview
Name | permissions_add |
Type | Resource |
Id | sumologic.content.permissions_add |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
addContentPermissions | exec | id , region , contentPermissionAssignments , notificationMessage , notifyRecipients | isAdminMode | Add permissions to a content item with the given identifier. |
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 |
---|---|---|
id | string | The identifier of the content item. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
isAdminMode | string | Set this to "true" if you want to perform the request as a Content Administrator. |
Lifecycle Methods
- addContentPermissions
Add permissions to a content item with the given identifier.
EXEC sumologic.content.permissions_add.addContentPermissions
@id='{{ id }}' --required,
@region='{{ region }}' --required,
@isAdminMode='{{ isAdminMode }}'
@@json=
'{
"contentPermissionAssignments": "{{ contentPermissionAssignments }}",
"notifyRecipients": {{ notifyRecipients }},
"notificationMessage": "{{ notificationMessage }}"
}'
;