次の方法で共有


Device deployment - Update Device Policy

PATCH https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/DevicePolicyUpdates

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"

名前 説明
devices

Microsoft.Partner.Providers.Contracts.V1.Device[]

応答

名前 説明
200 OK

object

わかりました

Media Types: "application/json", "text/json", "application/xml", "text/xml"

202 Accepted

object

要求が正常に受け入れられました。 更新された顧客のデバイスの状態を照会するためのリンクが応答本文に返されます。

Media Types: "application/json", "text/json", "application/xml", "text/xml"

定義

名前 説明
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.Contracts.V1.Device
Microsoft.Partner.Providers.Contracts.V1.DevicePolicyUpdateRequest
System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String]
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 説明
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

名前 説明
etag

string

objectType

string

名前 説明
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.Device

名前 説明
allowedOperations

string[]

attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

hardwareHash

string

id

string

links

Microsoft.Partner.Core.Collections.ResourceLinks

modelName

string

oemManufacturerName

string

policies

System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String][]

productKey

string

serialNumber

string

uploadedBy

string

uploadedDate

string

Microsoft.Partner.Providers.Contracts.V1.DevicePolicyUpdateRequest

名前 説明
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

devices

Microsoft.Partner.Providers.Contracts.V1.Device[]

System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String]

名前 説明
key enum:
  • none
  • o_o_b_e
value

string

System.Collections.Generic.KeyValuePair[System.String,System.String]

名前 説明
key

string

value

string