Updates - Get Providers

Get a list of all update providers that have been imported to Device Update for IoT Hub.

GET https://{accountEndpoint}/deviceupdate/{instanceId}/v2/updates/providers

URI Parameters

Name In Required Type Description
accountEndpoint
path True

string

Account endpoint.

instanceId
path True

string

Account instance identifier.

Responses

Name Type Description
200 OK

PageableListOfStrings

All imported update providers, or empty list if there is none.

429 Too Many Requests

Too many requests; there is a rate limit on how many operations can be executed within a time period.

Security

azure_auth_implicit

Azure Active Directory OAuth2 Implicit Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize

Scopes

Name Description
user_impersonation impersonate your user account

azure_auth_code

Azure Active Directory OAuth2 AccessCode Flow

Type: oauth2
Flow: accessCode
Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
user_impersonation impersonate your user account

azure_auth_application

Azure Active Directory OAuth2 Application Flow

Type: oauth2
Flow: application
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
.default client credential scope

azure_auth_password

Azure Active Directory OAuth2 Password Flow

Type: oauth2
Flow: password
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Updates_GetProviders

Sample request

GET https://contoso.api.adu.microsoft.com/deviceupdate/blue/v2/updates/providers

Sample response

{
  "value": [
    "microsoft"
  ]
}

Definitions

PageableListOfStrings

The list of strings with server paging support.

Name Type Description
nextLink

string

The link to the next page of items.

value

string[]

The collection of pageable items.