Share via


Updates - Get Names

Belirtilen sağlayıcıyla eşleşen tüm güncelleştirme adlarının listesini alın.

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

URI Parametreleri

Name İçinde Gerekli Tür Description
accountEndpoint
path True

string

Hesap uç noktası.

instanceId
path True

string

Hesap örneği tanımlayıcısı.

provider
path True

string

Sağlayıcıyı güncelleştirin.

Yanıtlar

Name Tür Description
200 OK

PageableListOfStrings

Belirtilen sağlayıcıyla eşleşen tüm güncelleştirme adları veya yoksa boş liste.

404 Not Found

Bulunamadı.

429 Too Many Requests

Çok fazla istek var; bir süre içinde kaç işlemin yürütülebileceğine ilişkin bir hız sınırı vardır.

Güvenlik

azure_auth_implicit

Azure Active Directory OAuth2 Örtük Akışı

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

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

azure_auth_code

Azure Active Directory OAuth2 AccessCode Akışı

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 kullanıcı hesabınızın kimliğine bürünme

azure_auth_application

Azure Active Directory OAuth2 Uygulama Akışı

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

Scopes

Name Description
.default istemci kimlik bilgisi kapsamı

azure_auth_password

Azure Active Directory OAuth2 Parola Akışı

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

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

Updates_GetNames

Sample Request

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

Sample Response

{
  "value": [
    "adu"
  ]
}

Tanımlar

PageableListOfStrings

Sunucu disk belleği desteğine sahip dizelerin listesi.

Name Tür Description
nextLink

string

Öğelerin sonraki sayfasına bağlantı.

value

string[]

Sayfalanabilir öğeler koleksiyonu.