Skip to content

Commit 84a3204

Browse files
authored
Merge branch 'main' into neelporiya/add-site-archive-unarchive-api-docs
2 parents 277e33e + e8487c3 commit 84a3204

File tree

429 files changed

+5251
-1017
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+5251
-1017
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"githubPullRequests.ignoredPullRequestBranches": [
3+
"main",
34
"main",
45
"main"
56
],

api-reference/beta/api/authentication-delete-hardwareoathmethods.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,11 @@ Unassign a [hardware token](../resources/hardwareoathauthenticationmethod.md) fr
2323
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2424

2525
### Permissions acting on self
26-
<!-- {
27-
"blockType": "permissions",
28-
"name": "authentication-delete-hardwareoathmethods-permissions"
29-
}
30-
-->
31-
<!-- { "blockType": "permissions", "name": "authentication_delete_hardwareoathmethods" } -->
26+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3227
[!INCLUDE [permissions-table](../includes/permissions/authentication-delete-hardwareoathmethods-permissions.md)]
3328

3429
## Permissions acting on other users
35-
<!-- {
36-
"blockType": "permissions",
37-
"name": "authentication-delete-hardwareoathmethods-2-permissions"
38-
}
39-
-->
30+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
4031
[!INCLUDE [permissions-table](../includes/permissions/authentication-delete-hardwareoathmethods-2-permissions.md)]
4132

4233
[!INCLUDE [rbac-authentication-methods-apis-write-others](../includes/rbac-for-apis/rbac-authentication-methods-apis-write-others.md)]

api-reference/beta/api/authentication-list-hardwareoathmethods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Get a list of the [hardware tokens](../resources/hardwareoathauthenticationmetho
2323
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2424

2525
### Permissions acting on self
26-
<!-- { "blockType": "permissions", "name": "authentication_list_hardwareoathmethods" } -->
26+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2727
[!INCLUDE [permissions-table](../includes/permissions/authentication-list-hardwareoathmethods-permissions.md)]
2828

2929
### Permissions acting on other users
30-
<!-- { "blockType": "permissions", "name": "authentication_list_hardwareoathmethods_2" } -->
30+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3131
[!INCLUDE [permissions-table](../includes/permissions/authentication-list-hardwareoathmethods-2-permissions.md)]
3232

3333
[!INCLUDE [rbac-authentication-methods-apis-read-others](../includes/rbac-for-apis/rbac-authentication-methods-apis-read-others.md)]

api-reference/beta/api/authentication-post-hardwareoathmethods.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ Assign a [hardware token](../resources/hardwareoathauthenticationmethod.md) to a
2323
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2424

2525
## Permissions acting on self
26-
<!-- { "blockType": "permissions", "name": "authentication_post_hardwareoathmethods" } -->
26+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2727
[!INCLUDE [permissions-table](../includes/permissions/authentication-post-hardwareoathmethods-permissions.md)]
2828

2929
## Permissions acting on other users
30-
<!-- {
31-
"blockType": "permissions",
32-
"name": "authentication-post-hardwareoathmethods-2-permissions"
33-
}
34-
-->
30+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3531
[!INCLUDE [permissions-table](../includes/permissions/authentication-post-hardwareoathmethods-2-permissions.md)]
3632

3733
[!INCLUDE [rbac-authentication-methods-apis-write-others](../includes/rbac-for-apis/rbac-authentication-methods-apis-write-others.md)]

api-reference/beta/api/authenticationmethoddevice-delete-hardwareoathdevices.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Delete a Hardware OATH token. Token needs to be unassigned.
2222

2323
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "authenticationmethoddevice-delete-hardwareoathdevices-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-delete-hardwareoathdevices-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/authenticationmethoddevice-list-hardwareoathdevices.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ List all hardware OATH tokens in the directory.
2222

2323
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "authenticationmethoddevice-list-hardwareoathdevices-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-list-hardwareoathdevices-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-read](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-read.md)]

api-reference/beta/api/authenticationmethoddevice-post-hardwareoathdevices.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optiona
2222

2323
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "authenticationmethoddevice-post-hardwareoathdevices-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-post-hardwareoathdevices-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/authenticationmethoddevice-update.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk c
2020

2121
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "authenticationmethoddevice-post-hardwareoathdevices-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2824
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-post-hardwareoathdevices-permissions.md)]
2925

3026
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/certificateauthoritypath-list-mutualtlsoauthconfigurations.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Namespace: microsoft.graph
1616

1717
Get a list of the available [mutualTlsOauthConfiguration](../resources/mutualtlsoauthconfiguration.md) resources.
1818

19+
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
20+
1921
## Permissions
2022

2123
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
@@ -64,16 +66,47 @@ For more information, see [Microsoft Graph error responses and resource types](/
6466
### Request
6567

6668
The following example shows a request.
69+
# [HTTP](#tab/http)
6770
<!-- {
6871
"blockType": "request",
6972
"name": "certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions"
7073
}
7174
-->
7275

73-
```http
76+
```msgraph-interactive
7477
GET https://graph.microsoft.com/beta/directory/certificateAuthorities/mutualTlsOauthConfigurations
7578
```
7679

80+
# [C#](#tab/csharp)
81+
[!INCLUDE [sample-code](../includes/snippets/csharp/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-csharp-snippets.md)]
82+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
83+
84+
# [CLI](#tab/cli)
85+
[!INCLUDE [sample-code](../includes/snippets/cli/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-cli-snippets.md)]
86+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
87+
88+
# [Go](#tab/go)
89+
[!INCLUDE [sample-code](../includes/snippets/go/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-go-snippets.md)]
90+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
91+
92+
# [Java](#tab/java)
93+
[!INCLUDE [sample-code](../includes/snippets/java/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-java-snippets.md)]
94+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
95+
96+
# [JavaScript](#tab/javascript)
97+
[!INCLUDE [sample-code](../includes/snippets/javascript/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-javascript-snippets.md)]
98+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
99+
100+
# [PHP](#tab/php)
101+
[!INCLUDE [sample-code](../includes/snippets/php/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-php-snippets.md)]
102+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
103+
104+
# [Python](#tab/python)
105+
[!INCLUDE [sample-code](../includes/snippets/python/certificateauthoritypath-list-mutualtlsoauthconfigurations-permissions-python-snippets.md)]
106+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
107+
108+
---
109+
77110
### Response
78111

79112
The following example shows the response.

api-reference/beta/api/certificateauthoritypath-post-mutualtlsoauthconfigurations.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Namespace: microsoft.graph
1616

1717
Create a [mutualTlsOauthConfiguration](../resources/mutualtlsoauthconfiguration.md) resource that contains a specified certificate authority object.
1818

19+
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
20+
1921
## Permissions
2022

2123
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
@@ -66,6 +68,7 @@ For more information, see [Microsoft Graph error responses and resource types](/
6668
### Request
6769

6870
The following example shows a request.
71+
# [HTTP](#tab/http)
6972
<!-- {
7073
"blockType": "request",
7174
"name": "create_mutualtlsoauthconfiguration_from_"
@@ -87,6 +90,36 @@ Content-Type: application/json
8790
}
8891
```
8992

93+
# [C#](#tab/csharp)
94+
[!INCLUDE [sample-code](../includes/snippets/csharp/create-mutualtlsoauthconfiguration-from--csharp-snippets.md)]
95+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
96+
97+
# [CLI](#tab/cli)
98+
[!INCLUDE [sample-code](../includes/snippets/cli/create-mutualtlsoauthconfiguration-from--cli-snippets.md)]
99+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
100+
101+
# [Go](#tab/go)
102+
[!INCLUDE [sample-code](../includes/snippets/go/create-mutualtlsoauthconfiguration-from--go-snippets.md)]
103+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
104+
105+
# [Java](#tab/java)
106+
[!INCLUDE [sample-code](../includes/snippets/java/create-mutualtlsoauthconfiguration-from--java-snippets.md)]
107+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
108+
109+
# [JavaScript](#tab/javascript)
110+
[!INCLUDE [sample-code](../includes/snippets/javascript/create-mutualtlsoauthconfiguration-from--javascript-snippets.md)]
111+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
112+
113+
# [PHP](#tab/php)
114+
[!INCLUDE [sample-code](../includes/snippets/php/create-mutualtlsoauthconfiguration-from--php-snippets.md)]
115+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
116+
117+
# [Python](#tab/python)
118+
[!INCLUDE [sample-code](../includes/snippets/python/create-mutualtlsoauthconfiguration-from--python-snippets.md)]
119+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
120+
121+
---
122+
90123

91124
### Response
92125

0 commit comments

Comments
 (0)