IotHubConnectionString.getUrlApplyConfigurationContent(String deviceId) Method

Definition

Create the url needed to apply some configuration content to a device

public URL getUrlApplyConfigurationContent(String deviceId)

Parameters

deviceId
java.lang.String

The device to apply the configuration content to

Returns

java.net.URL

The device Url in the following format: "https:[hostname]/devices/[deviceId]/applyConfigurationContent?api-version=201X-XX-XX"

Exceptions

java.net.MalformedURLException

if the deviceId contains unexpected characters, and a URL cannot be constructed using it

java.lang.IllegalArgumentException

if the deviceId contains unexpected characters, and a URL cannot be constructed using it

Applies to