@pnp/cli-microsoft365 6.1.0-beta.3e0114a → 6.1.0-beta.539ef23
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/dataverse/dataverse-table-row-remove.js +133 -0
- package/dist/m365/pp/commands/environment/environment-get.js +5 -13
- package/dist/m365/pp/commands.js +1 -0
- 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-label-set.js → list-retentionlabel-ensure.js} +25 -15
- package/dist/m365/spo/commands/list/{list-label-get.js → list-retentionlabel-get.js} +19 -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/web/web-retentionlabel-list.js +63 -0
- package/dist/m365/spo/commands.js +5 -0
- 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/dataverse/dataverse-table-row-remove.md +61 -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/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
- 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/orgassetslibrary/orgassetslibrary-add.md +9 -5
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +42 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +25 -3
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +22 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +6 -2
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +5 -1
- package/docs/docs/cmd/spo/page/page-add.md +13 -9
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +6 -2
- package/docs/docs/cmd/spo/page/page-column-get.md +68 -5
- package/docs/docs/cmd/spo/page/page-column-list.md +36 -4
- package/docs/docs/cmd/spo/page/page-control-get.md +70 -3
- package/docs/docs/cmd/spo/page/page-control-list.md +69 -3
- package/docs/docs/cmd/spo/page/page-control-set.md +11 -7
- package/docs/docs/cmd/spo/page/page-copy.md +65 -4
- package/docs/docs/cmd/spo/page/page-get.md +100 -4
- package/docs/docs/cmd/spo/page/page-header-set.md +17 -13
- package/docs/docs/cmd/spo/page/page-list.md +122 -1
- package/docs/docs/cmd/spo/page/page-remove.md +9 -5
- package/docs/docs/cmd/spo/page/page-section-add.md +10 -6
- package/docs/docs/cmd/spo/page/page-section-get.md +36 -4
- package/docs/docs/cmd/spo/page/page-section-list.md +38 -3
- package/docs/docs/cmd/spo/page/page-set.md +10 -10
- package/docs/docs/cmd/spo/page/page-template-list.md +58 -1
- package/docs/docs/cmd/spo/page/page-text-add.md +9 -5
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +28 -8
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +35 -7
- package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +13 -9
- package/docs/docs/cmd/spo/propertybag/propertybag-set.md +13 -5
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +34 -2
- package/docs/docs/cmd/spo/report/report-activitypages.md +31 -2
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +35 -2
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +40 -3
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +43 -3
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +33 -2
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +32 -2
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +33 -2
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +32 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +10 -6
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +80 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +76 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +9 -5
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +39 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +32 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +6 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +14 -74
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +6 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +30 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +36 -2
- package/docs/docs/cmd/spo/site/site-appcatalog-list.md +55 -0
- package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +74 -0
- package/package.json +1 -1
- package/docs/docs/cmd/spo/list/list-label-set.md +0 -55
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# spo web retentionlabel list
|
|
2
|
+
|
|
3
|
+
Get a list of retention labels that are available on a site.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo web retentionlabel list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site.
|
|
15
|
+
|
|
16
|
+
--8<-- "docs/cmd/_global.md"
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
Get a list of retention labels for the _Sales_ site
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
m365 spo web retentionlabel list --webUrl 'https://contoso.sharepoint.com/sites/sales'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"AcceptMessagesOnlyFromSendersOrMembers": false,
|
|
34
|
+
"AccessType": null,
|
|
35
|
+
"AllowAccessFromUnmanagedDevice": null,
|
|
36
|
+
"AutoDelete": true,
|
|
37
|
+
"BlockDelete": true,
|
|
38
|
+
"BlockEdit": false,
|
|
39
|
+
"ComplianceFlags": 1,
|
|
40
|
+
"ContainsSiteLabel": false,
|
|
41
|
+
"DisplayName": "",
|
|
42
|
+
"EncryptionRMSTemplateId": null,
|
|
43
|
+
"HasRetentionAction": true,
|
|
44
|
+
"IsEventTag": false,
|
|
45
|
+
"MultiStageReviewerEmail": null,
|
|
46
|
+
"NextStageComplianceTag": null,
|
|
47
|
+
"Notes": null,
|
|
48
|
+
"RequireSenderAuthenticationEnabled": false,
|
|
49
|
+
"ReviewerEmail": null,
|
|
50
|
+
"SharingCapabilities": null,
|
|
51
|
+
"SuperLock": false,
|
|
52
|
+
"TagDuration": 2555,
|
|
53
|
+
"TagId": "def61080-111c-4aea-b72f-5b60e516e36c",
|
|
54
|
+
"TagName": "Some label",
|
|
55
|
+
"TagRetentionBasedOn": "CreationAgeInDays",
|
|
56
|
+
"UnlockedAsDefault": false
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
=== "Text"
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
TagId TagName
|
|
65
|
+
------------------------------------ --------------
|
|
66
|
+
def61080-111c-4aea-b72f-5b60e516e36c Some label
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "CSV"
|
|
70
|
+
|
|
71
|
+
```csv
|
|
72
|
+
TagId,TagName
|
|
73
|
+
def61080-111c-4aea-b72f-5b60e516e36c,Some label,true
|
|
74
|
+
```
|
package/package.json
CHANGED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# spo list label set
|
|
2
|
-
|
|
3
|
-
Sets classification label on the specified list
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
m365 spo list label set [options]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Options
|
|
12
|
-
|
|
13
|
-
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site where the list is located
|
|
15
|
-
|
|
16
|
-
`--label <label>`
|
|
17
|
-
: The label to set on the list
|
|
18
|
-
|
|
19
|
-
`-t, --listTitle [listTitle]`
|
|
20
|
-
: The title of the list on which to set the label. Specify only one of `listTitle`, `listId` or `listUrl`
|
|
21
|
-
|
|
22
|
-
`-l, --listId [listId]`
|
|
23
|
-
: The ID of the list on which to set the label. Specify only one of `listTitle`, `listId` or `listUrl`
|
|
24
|
-
|
|
25
|
-
`--listUrl [listUrl]`
|
|
26
|
-
: Server- or web-relative URL of the list on which to set the label. Specify only one of `listTitle`, `listId` or `listUrl`
|
|
27
|
-
|
|
28
|
-
`--syncToItems`
|
|
29
|
-
: Specify, to set the label on all items in the list
|
|
30
|
-
|
|
31
|
-
`--blockDelete`
|
|
32
|
-
: Specify, to disallow deleting items in the list
|
|
33
|
-
|
|
34
|
-
`--blockEdit`
|
|
35
|
-
: Specify, to disallow editing items in the list
|
|
36
|
-
|
|
37
|
-
--8<-- "docs/cmd/_global.md"
|
|
38
|
-
|
|
39
|
-
## Examples
|
|
40
|
-
|
|
41
|
-
Sets classification label "Confidential" for list _Shared Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
m365 spo list label set --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents' --label 'Confidential'
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Sets classification label "Confidential" 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_
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
m365 spo list label set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'Documents' --label 'Confidential' --blockEdit --blockDelete --syncToItems
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Response
|
|
54
|
-
|
|
55
|
-
The command won't return a response on success.
|