v2

latestSwagger 2.02026-07-1381221.1 KB
DeviceServices

Create or update the metadata of a Windows IoT Device Service.

Create or update the metadata of a Windows IoT Device Service. The usual pattern to modify a property is to retrieve the Windows IoT Device Service metadata and security metadata, and then combine them with the modified values in a new body to update the Windows IoT Device Service.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}

Path parameters

subscriptionIdstring required

The subscription identifier.

resourceGroupNamestring required

The name of the resource group that contains the Windows IoT Device Service.

deviceNamestring required

The name of the Windows IoT Device Service.

Query parameters

api-versionstring required

The version of the API.

Headers

If-Matchstring

ETag of the Windows IoT Device Service. Do not specify for creating a new Windows IoT Device Service. Required to update an existing Windows IoT Device Service.

Request body

idstring

Fully qualified resource Id for the resource

namestring

The name of the resource

typestring

The type of the resource.

Response

OK. The request has succeeded.

idstring

Fully qualified resource Id for the resource

namestring

The name of the resource

typestring

The type of the resource.