@pnp/cli-microsoft365 6.1.0-beta.f818fbb → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/m365/aad/commands/group/group-get.js +79 -0
- package/dist/m365/aad/commands/user/user-set.js +84 -11
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/base/ContextCommand.js +33 -0
- package/dist/m365/context/commands/context-init.js +28 -0
- package/dist/m365/context/commands/context-remove.js +103 -0
- package/dist/m365/context/commands.js +8 -0
- package/dist/m365/pp/commands/environment/environment-get.js +5 -13
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +142 -0
- package/dist/m365/purview/commands.js +2 -1
- package/dist/m365/search/commands/externalconnection/externalconnection-schema-add.js +86 -0
- package/dist/m365/search/commands.js +2 -1
- package/dist/m365/spo/commands/group/group-member-add.js +68 -30
- package/dist/m365/spo/commands/group/group-member-remove.js +50 -7
- package/dist/m365/spo/commands/list/{list-retentionlabel-set.js → list-retentionlabel-ensure.js} +21 -15
- package/dist/m365/spo/commands/listitem/listitem-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +143 -0
- package/dist/m365/spo/commands/page/page-add.js +60 -63
- package/dist/m365/spo/commands/page/page-set.js +59 -70
- package/dist/m365/spo/commands/site/site-appcatalog-list.js +43 -0
- package/dist/m365/spo/commands.js +3 -1
- package/dist/request.js +2 -1
- package/dist/utils/pid.js +31 -15
- package/docs/docs/cmd/aad/group/group-get.md +127 -0
- package/docs/docs/cmd/aad/user/user-set.md +31 -3
- package/docs/docs/cmd/context/context-init.md +25 -0
- package/docs/docs/cmd/context/context-remove.md +34 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +9 -3
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +63 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-schema-add.md +31 -0
- package/docs/docs/cmd/spo/group/group-member-add.md +58 -6
- package/docs/docs/cmd/spo/group/group-member-remove.md +24 -8
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +65 -0
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +6 -6
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.md +55 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-list.md +55 -0
- package/package.json +2 -2
- package/docs/docs/cmd/spo/list/list-retentionlabel-set.md +0 -65
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# spo list retentionlabel set
|
|
2
|
-
|
|
3
|
-
Sets a default retention label on the specified list or library.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
m365 spo list retentionlabel set [options]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 spo list label set [options]
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Options
|
|
18
|
-
|
|
19
|
-
`-u, --webUrl <webUrl>`
|
|
20
|
-
: The URL of the site where the list is located
|
|
21
|
-
|
|
22
|
-
`--label <label>`
|
|
23
|
-
: The label to set on the list
|
|
24
|
-
|
|
25
|
-
`-t, --listTitle [listTitle]`
|
|
26
|
-
: The title of the list on which to set the label. Specify only one of `listTitle`, `listId` or `listUrl`
|
|
27
|
-
|
|
28
|
-
`-l, --listId [listId]`
|
|
29
|
-
: The ID of the list on which to set the label. Specify only one of `listTitle`, `listId` or `listUrl`
|
|
30
|
-
|
|
31
|
-
`--listUrl [listUrl]`
|
|
32
|
-
: Server- or web-relative URL of the list on which to set the label. Specify only one of `listTitle`, `listId` or `listUrl`
|
|
33
|
-
|
|
34
|
-
`--syncToItems`
|
|
35
|
-
: Specify, to set the label on all existing items in the list
|
|
36
|
-
|
|
37
|
-
`--blockDelete`
|
|
38
|
-
: Specify, to disallow deleting items in the list
|
|
39
|
-
|
|
40
|
-
`--blockEdit`
|
|
41
|
-
: Specify, to disallow editing items in the list
|
|
42
|
-
|
|
43
|
-
--8<-- "docs/cmd/_global.md"
|
|
44
|
-
|
|
45
|
-
## Remarks
|
|
46
|
-
|
|
47
|
-
A list retention label is a default label that will be applied to all new items in the list. If you specify `syncToItems`, it is also synced to existing items.
|
|
48
|
-
|
|
49
|
-
## Examples
|
|
50
|
-
|
|
51
|
-
Sets retention label "Some label" on the list _Shared Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
52
|
-
|
|
53
|
-
```sh
|
|
54
|
-
m365 spo list retentionlabel set --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents' --label 'Some label'
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Sets retention label "Some label" and disables editing and deleting items on the list and all existing items for list for list _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
58
|
-
|
|
59
|
-
```sh
|
|
60
|
-
m365 spo list retentionlabel set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'Documents' --label 'Some label' --blockEdit --blockDelete --syncToItems
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Response
|
|
64
|
-
|
|
65
|
-
The command won't return a response on success.
|