Device deployment - Create Policies
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/policies
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
customer_id
|
path | True |
string |
顧客 ID。 |
version
|
path | True |
string |
要求ヘッダー
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
承認ベアラー トークン |
ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-cv |
string |
要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しい ms-cv を生成します |
|
ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
要求本文
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
名前 | 型 | 説明 |
---|---|---|
category |
enum:
|
|
createdDate |
string |
|
description |
string |
|
devicesAssignedCount |
integer |
|
id |
string |
|
lastModifiedDate |
string |
|
links | ||
name |
string |
|
policySettings |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
Microsoft. |
要求が成功しました。 新しく作成されたポリシーは、応答本文で返されます。 Media Types: "application/json", "text/json", "application/xml", "text/xml" |
定義
Microsoft.Partner.Core.Collections.Link
名前 | 型 | 説明 |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
名前 | 型 | 説明 |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
名前 | 型 | 説明 |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.ConfigurationPolicy
名前 | 型 | 説明 |
---|---|---|
attributes | ||
category |
enum:
|
|
createdDate |
string |
|
description |
string |
|
devicesAssignedCount |
integer |
|
id |
string |
|
lastModifiedDate |
string |
|
links | ||
name |
string |
|
policySettings |
PolicySettings
名前 | 型 | 説明 |
---|---|---|
none |
string |
|
oobe_user_not_local_admin |
string |
|
remove_oem_preinstalls |
string |
|
skip_eula |
string |
|
skip_express_settings |
string |
|
skip_oem_registration |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 | 型 | 説明 |
---|---|---|
key |
string |
|
value |
string |