IotHubConnectionString.getUrlJobs(String jobId) Method

Definition

Create url for requesting jobs

public URL getUrlJobs(String jobId)

Parameters

jobId
java.lang.String

is the name of the job

Returns

java.net.URL

the URL in the follow format: "https:[hostname]/jobs/v2/[jobId]?api-version=2016-11-14"

Exceptions

java.net.MalformedURLException

This exception is thrown if the URL creation failed due to malformed string

java.lang.IllegalArgumentException

This exception is thrown if the URL creation failed due to malformed string

Applies to